PHP: Multiple vulnerabilities
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200605-08 / php |
| Release Date |
May 08, 2006 |
| Latest Revision |
May 15, 2007: 09 |
| Impact |
high |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-lang/php |
<
5.1.4 |
>=
5.1.4,
revision >=
4.4.2-r2,
revision >=
4.4.3-r1,
revision >=
4.4.4-r4,
revision >=
4.4.6,
>=
4.4.7 |
arm hppa ppc s390 sh sparc x86 x86-fbsd |
| dev-lang/php |
<
5.1.4-r4 |
>=
5.1.4-r4,
revision >=
4.4.2-r6,
revision >=
4.4.3-r1,
revision >=
4.4.4-r4,
revision >=
4.4.6,
>=
4.4.7 |
alpha amd64 ia64 ppc64 |
Related bugreports:
#127939, #128883, #131135, #133524
Synopsis
PHP is affected by multiple issues, including a buffer overflow in
wordwrap() which may lead to execution of arbitrary code.
2.
Impact Information
Background
PHP is a widely-used general-purpose scripting language that is
especially suited for Web development and can be embedded into HTML.
Description
Several vulnerabilities were discovered on PHP4 and PHP5 by Infigo,
Tonu Samuel and Maksymilian Arciemowicz. These included a buffer
overflow in the wordwrap() function, restriction bypasses in the copy()
and tempname() functions, a cross-site scripting issue in the phpinfo()
function, a potential crash in the substr_compare() function and a
memory leak in the non-binary-safe html_entity_decode() function.
Impact
Remote attackers might be able to exploit these issues in PHP
applications making use of the affected functions, potentially
resulting in the execution of arbitrary code, Denial of Service,
execution of scripted contents in the context of the affected site,
security bypass or information leak.
3.
Resolution Information
Workaround
There is no known workaround at this point.
Resolution
All PHP users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/php
|
4.
References
|