blob: 30adba6d3b15cea44af58de2552d1842574353f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<?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>November 26, 2009</announced>
<revised>November 26, 2009: 01</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 ">=dev-php/PEAR-Net_Traceroute-0.21.2"</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4025">CVE-2009-4025</uri>
</references>
<metadata tag="requester" timestamp="Thu, 26 Nov 2009 07:38:17 +0000">
a3li
</metadata>
<metadata tag="submitter" timestamp="Thu, 26 Nov 2009 07:53:00 +0000">
a3li
</metadata>
<metadata tag="bugReady" timestamp="Thu, 26 Nov 2009 19:14:35 +0000">
a3li
</metadata>
</glsa>
|