CVE-2010-3870 Security feature bypass in n/a

Medium 6.8 Published Updated

Remote attackers can bypass XSS and SQL injection protections in PHP applications by exploiting improper UTF-8 handling in the utf8_decode function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2010-3870?

CVE-2010-3870 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 12 Nov 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2010-3870?

It affects 2 products.

Products include Canonical Ubuntu Linux, Php Php.

How do I fix CVE-2010-3870?

Upgrade to a fixed version.

Is CVE-2010-3870 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-3870 exists.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-gvvf-r2h9-2v8x.

Is CVE-2010-3870 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free