Vulnerability Description
The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | < 5.2.14 |
| Canonical | Ubuntu Linux | 6.06 |
Related Weaknesses (CWE)
References
- http://bugs.php.net/bug.php?id=48230ExploitVendor Advisory
- http://bugs.php.net/bug.php?id=49687ExploitVendor Advisory
- http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.htmlMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.htMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.htMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.htmlMailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=133469208622507&w=2Mailing ListThird Party Advisory
- http://secunia.com/advisories/42410Third Party Advisory
- http://secunia.com/advisories/42812Third Party Advisory
- http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.htmlExploitThird Party Advisory
- http://support.apple.com/kb/HT4581Third Party Advisory
- http://svn.php.net/viewvc?view=revision&revision=304959PatchVendor Advisory
- http://us2.php.net/manual/en/function.utf8-decode.php#83935ExploitVendor Advisory
- http://www.acunetix.com/blog/web-security-articles/security-risks-associated-witExploitThird Party Advisory
- http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriExploitThird Party Advisory
FAQ
What is CVE-2010-3870?
CVE-2010-3870 is a vulnerability with a CVSS score of 6.8 (MEDIUM). The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass c...
How severe is CVE-2010-3870?
CVE-2010-3870 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2010-3870?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php, Canonical Ubuntu Linux.