blob: ee4b88bc473c8b3af3d2514d88c4291d9dfdaa5a (
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
70
71
72
73
74
75
76
77
78
79
80
|
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200608-28">
<title>PHP: Arbitary code execution</title>
<synopsis>
PHP contains a function that, when used, could allow a remote attacker to
execute arbitrary code.
</synopsis>
<product type="ebuild">php</product>
<announced>August 29, 2006</announced>
<revised>March 29, 2008: 05</revised>
<bug>143126</bug>
<access>remote</access>
<affected>
<package name="dev-lang/php" auto="yes" arch="*">
<unaffected range="rge">4.4.3-r1</unaffected>
<unaffected range="rge">4.4.4-r4</unaffected>
<unaffected range="rge">4.4.6</unaffected>
<unaffected range="rge">4.4.7</unaffected>
<unaffected range="rge">4.4.8_pre20070816</unaffected>
<unaffected range="ge">5.1.4-r6</unaffected>
<vulnerable range="lt">5.1.4-r6</vulnerable>
</package>
</affected>
<background>
<p>
PHP is a widely-used general-purpose scripting language that is
especially suited for Web development and can be embedded into HTML.
</p>
</background>
<description>
<p>
The sscanf() PHP function contains an array boundary error that can be
exploited to dereference a null pointer. This can possibly allow the
bypass of the safe mode protection by executing arbitrary code.
</p>
</description>
<impact type="normal">
<p>
A remote attacker might be able to exploit this vulnerability in PHP
applications making use of the sscanf() function, potentially resulting
in the execution of arbitrary code or the execution of scripted
contents in the context of the affected site.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All PHP 4.x users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.3-r1"</code>
<p>
All PHP 5.x users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.1.4-r6"</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4020">CVE-2006-4020</uri>
</references>
<metadata tag="requester" timestamp="Wed, 23 Aug 2006 20:16:18 +0000">
jaervosz
</metadata>
<metadata tag="bugReady" timestamp="Sat, 26 Aug 2006 14:28:36 +0000">
falco
</metadata>
<metadata tag="submitter" timestamp="Sat, 26 Aug 2006 15:12:31 +0000">
falco
</metadata>
</glsa>
|