blob: 2f52923179584c406b8048ecf0ae00b044b40f89 (
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
|
<?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 ">=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>
|