blob: 30adba6d3b15cea44af58de2552d1842574353f2 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200911-06">
<title>PEAR Net_Traceroute: Command injection</title>
An input sanitation error in PEAR Net_Traceroute might allow remote
attackers to execute arbitrary commands.
<product type="ebuild">PEAR-Net_Traceroute</product>
<announced>November 26, 2009</announced>
<revised>November 26, 2009: 01</revised>
<package name="dev-php/PEAR-Net_Traceroute" auto="yes" arch="*">
<unaffected range="ge">0.21.2</unaffected>
<vulnerable range="lt">0.21.2</vulnerable>
PEAR Net_Traceroute is an OS independent wrapper class for executing
traceroute calls from PHP.
Pasquale Imperato reported that the $host parameter to the traceroute()
function in Traceroute.php is not properly sanitized before being
passed to exec().
<impact type="high">
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.
Ensure that all data that is passed to the traceroute() function is
properly shell escaped (for instance using the escapeshellcmd()
All PEAR Net_Traceroute users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-php/PEAR-Net_Traceroute-0.21.2&quot;</code>
<uri link="">CVE-2009-4025</uri>
<metadata tag="requester" timestamp="Thu, 26 Nov 2009 07:38:17 +0000">
<metadata tag="submitter" timestamp="Thu, 26 Nov 2009 07:53:00 +0000">
<metadata tag="bugReady" timestamp="Thu, 26 Nov 2009 19:14:35 +0000">