CVE-2010-3870

Medium

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.

SeverityMedium
CVSS6.8
Exploit probability—
ProductPhp
PublishedNov 12, 2010
First seenNov 12, 2010

How to fix

Update
  • php php5.2.14, 5.3.4 or later

Affected products

ProductAffected versionsFixed in
php phpv < 5.2.14, 5.3.0 ≤ v < 5.3.45.2.14, 5.3.4
canonical ubuntu_linux6.06, 8.04, 9.10, 10.04, 10.10—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.