CVE-2010-3870

Public Exploit

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.

Category

6.8
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 0.53%
Vendor Advisory fedoraproject.org Vendor Advisory marc.info Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory apple.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory fedoraproject.org Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://www.openwall.com/lists/oss-security/2010/11/02/11 third party advisory mailing list
http://www.vupen.com/english/advisories/2011/0077 vdb entry third party advisory
http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html mailing list third party advisory vendor advisory
http://secunia.com/advisories/42812 third party advisory
http://marc.info/?l=bugtraq&m=133469208622507&w=2 mailing list third party advisory vendor advisory
http://www.openwall.com/lists/oss-security/2010/11/02/2 third party advisory mailing list
http://www.redhat.com/support/errata/RHSA-2011-0195.html third party advisory vendor advisory
http://www.openwall.com/lists/oss-security/2010/11/02/4 third party advisory mailing list
http://www.securitytracker.com/id?1024797 vdb entry third party advisory
http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html mailing list third party advisory vendor advisory
http://bugs.php.net/bug.php?id=49687 exploit vendor advisory
http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf third party advisory exploit
http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html mailing list third party advisory vendor advisory
http://www.ubuntu.com/usn/USN-1042-1 third party advisory vendor advisory
http://www.openwall.com/lists/oss-security/2010/11/02/6 third party advisory mailing list
http://www.redhat.com/support/errata/RHSA-2010-0919.html third party advisory vendor advisory
http://bugs.php.net/bug.php?id=48230 exploit vendor advisory
http://www.vupen.com/english/advisories/2011/0021 vdb entry third party advisory
http://www.php.net/ChangeLog-5.php vendor advisory
http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html third party advisory exploit
http://www.openwall.com/lists/oss-security/2010/11/02/1 third party advisory mailing list
http://secunia.com/advisories/42410 third party advisory
http://www.mandriva.com/en/security/advisories?name=MDVSA-2010:224 third party advisory vendor advisory
http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html mailing list third party advisory vendor advisory
http://www.openwall.com/lists/oss-security/2010/11/03/1 third party advisory mailing list
http://svn.php.net/viewvc?view=revision&revision=304959 patch vendor advisory
http://www.vupen.com/english/advisories/2011/0020 vdb entry third party advisory
http://www.openwall.com/lists/oss-security/2010/11/02/8 third party advisory mailing list
http://www.securityfocus.com/bid/44605 vdb entry third party advisory
http://us2.php.net/manual/en/function.utf8-decode.php#83935 exploit vendor advisory
http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/ third party advisory exploit
http://www.vupen.com/english/advisories/2010/3081 vdb entry third party advisory
http://support.apple.com/kb/HT4581 third party advisory

Frequently Asked Questions

What is the severity of CVE-2010-3870?
CVE-2010-3870 has been scored as a medium severity vulnerability.
How to fix CVE-2010-3870?
To fix CVE-2010-3870, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2010-3870 being actively exploited in the wild?
It is possible that CVE-2010-3870 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.