1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200605-08 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: PHP: Multiple vulnerabilities |
9 |
Date: May 08, 2006 |
10 |
Bugs: #127939, #128883, #131135 |
11 |
ID: 200605-08 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
PHP is affected by multiple issues, including a buffer overflow in |
19 |
wordwrap() which may lead to execution of arbitrary code. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
PHP is a widely-used general-purpose scripting language that is |
25 |
especially suited for Web development and can be embedded into HTML. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 dev-lang/php < 5.1.4 >= 5.1.4 |
34 |
*>= 4.4.2-r2 |
35 |
|
36 |
Description |
37 |
=========== |
38 |
|
39 |
Several vulnerabilities were discovered on PHP4 and PHP5 by Infigo, |
40 |
Tonu Samuel and Maksymilian Arciemowicz. These included a buffer |
41 |
overflow in the wordwrap() function, restriction bypasses in the copy() |
42 |
and tempname() functions, a cross-site scripting issue in the phpinfo() |
43 |
function, a potential crash in the substr_compare() function and a |
44 |
memory leak in the non-binary-safe html_entity_decode() function. |
45 |
|
46 |
Impact |
47 |
====== |
48 |
|
49 |
Remote attackers might be able to exploit these issues in PHP |
50 |
applications making use of the affected functions, potentially |
51 |
resulting in the execution of arbitrary code, Denial of Service, |
52 |
execution of scripted contents in the context of the affected site, |
53 |
security bypass or information leak. |
54 |
|
55 |
Workaround |
56 |
========== |
57 |
|
58 |
There is no known workaround at this point. |
59 |
|
60 |
Resolution |
61 |
========== |
62 |
|
63 |
All PHP users should upgrade to the latest version: |
64 |
|
65 |
# emerge --sync |
66 |
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.1.4" |
67 |
|
68 |
PHP4 users that wish to keep that version line should upgrade to the |
69 |
latest 4.x version: |
70 |
|
71 |
# emerge --sync |
72 |
# emerge --ask --oneshot --verbose =dev-lang/php-4.4.2-r2 |
73 |
|
74 |
References |
75 |
========== |
76 |
|
77 |
[ 1 ] CVE-2006-0996 |
78 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0996 |
79 |
[ 2 ] CVE-2006-1490 |
80 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1490 |
81 |
[ 3 ] CVE-2006-1990 |
82 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1990 |
83 |
[ 4 ] CVE-2006-1991 |
84 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1991 |
85 |
|
86 |
Availability |
87 |
============ |
88 |
|
89 |
This GLSA and any updates to it are available for viewing at |
90 |
the Gentoo Security Website: |
91 |
|
92 |
http://security.gentoo.org/glsa/glsa-200605-08.xml |
93 |
|
94 |
Concerns? |
95 |
========= |
96 |
|
97 |
Security is a primary focus of Gentoo Linux and ensuring the |
98 |
confidentiality and security of our users machines is of utmost |
99 |
importance to us. Any security concerns should be addressed to |
100 |
security@g.o or alternatively, you may file a bug at |
101 |
http://bugs.gentoo.org. |
102 |
|
103 |
License |
104 |
======= |
105 |
|
106 |
Copyright 2006 Gentoo Foundation, Inc; referenced text |
107 |
belongs to its owner(s). |
108 |
|
109 |
The contents of this document are licensed under the |
110 |
Creative Commons - Attribution / Share Alike license. |
111 |
|
112 |
http://creativecommons.org/licenses/by-sa/2.5 |