You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-200911-06.xml

69 lines
2.2 KiB

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200911-06">
<title>PEAR Net_Traceroute: Command injection</title>
<synopsis>
An input sanitation error in PEAR Net_Traceroute might allow remote
attackers to execute arbitrary commands.
</synopsis>
<product type="ebuild">PEAR-Net_Traceroute</product>
<announced>2009-11-26</announced>
<revised count="01">2009-11-26</revised>
<bug>294264</bug>
<access>remote</access>
<affected>
<package name="dev-php/PEAR-Net_Traceroute" auto="yes" arch="*">
<unaffected range="ge">0.21.2</unaffected>
<vulnerable range="lt">0.21.2</vulnerable>
</package>
</affected>
<background>
<p>
PEAR Net_Traceroute is an OS independent wrapper class for executing
traceroute calls from PHP.
</p>
</background>
<description>
<p>
Pasquale Imperato reported that the $host parameter to the traceroute()
function in Traceroute.php is not properly sanitized before being
passed to exec().
</p>
</description>
<impact type="high">
<p>
A remote attacker could exploit this vulnerability when user input is
passed directly to PEAR Net_Traceroute in a PHP script, possibly
resulting in the remote execution of arbitrary shell commands with the
privileges of the user running the affected PHP script.
</p>
</impact>
<workaround>
<p>
Ensure that all data that is passed to the traceroute() function is
properly shell escaped (for instance using the escapeshellcmd()
function).
</p>
</workaround>
<resolution>
<p>
All PEAR Net_Traceroute users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=dev-php/PEAR-Net_Traceroute-0.21.2"</code>
</resolution>
<references>
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4025">CVE-2009-4025</uri>
</references>
<metadata tag="requester" timestamp="2009-11-26T07:38:17Z">
a3li
</metadata>
<metadata tag="submitter" timestamp="2009-11-26T07:53:00Z">
a3li
</metadata>
<metadata tag="bugReady" timestamp="2009-11-26T19:14:35Z">
a3li
</metadata>
</glsa>