CVE-2009-5016
MEDIUM
6.8
CVSS 2.0
Description
Integer overflow in the xml_utf8_decode function in ext/xml/xml.c in PHP before 5.2.11 makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string that uses overlong UTF-8 encoding, a different vulnerability than CVE-2010-3870.
Affected products and versions
- PHP — Up to and including 5.2.10
- PHP versions 1.0, 2.0, 2.0b10, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.0.18, 4.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.0beta1, 4.0beta2, 4.0beta3, 4.0beta4, 4.0beta_4_patch1, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.3.10, 4.3.11, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 4.4.8, 4.4.9, 5.0.0, 5.0.0beta1, 5.0.0beta2, 5.0.0beta3, 5.0.0beta4, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.2.0, 5.2.1
References
- bugs.php.net http://bugs.php.net/bug.php?id=49687 Exploit
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html
- secunia.com http://secunia.com/advisories/42410
- secunia.com http://secunia.com/advisories/42812
- sirdarckcat.blogspot.com http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html Exploit
- www.blackhat.com http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf Exploit
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2010-0919.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2011-0195.html
- www.securityfocus.com http://www.securityfocus.com/bid/44889
- www.ubuntu.com http://www.ubuntu.com/usn/USN-1042-1
- www.vupen.com http://www.vupen.com/english/advisories/2010/3081
- www.vupen.com http://www.vupen.com/english/advisories/2011/0020
- www.vupen.com http://www.vupen.com/english/advisories/2011/0021
- www.vupen.com http://www.vupen.com/english/advisories/2011/0077
- nvd.nist.gov Official NVD record