Vulnerabilities · 2010 · Php
CVE-2010-3870
Php vulnerability
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.
Affected products
Php, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=48230 · Exploit
- bugs.php.net/bug.php?id=49687 · Exploit
- svn.php.net/viewvc?view=revision&revision=304959 · Patch
- us2.php.net/manual/en/function.utf8-decode.php#83935 · Exploit
- www.php.net/ChangeLog-5.php · Vendor Advisory
- lists.apple.com/archives/security-announce/2011/Mar/msg00006.html · Third Party Advisory
- lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html · Third Party Advisory
- lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2010-3870
- cve.org/CVERecord?id=CVE-2010-3870
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.