CWE
20 79 89
Advisory Published
Updated

CVE-2010-3870: Input Validation

First published: Fri Nov 12 2010(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
PHP<5.2.14
PHP>=5.3.0<5.3.4
Ubuntu Linux=6.06
Ubuntu Linux=8.04
Ubuntu Linux=9.10
Ubuntu Linux=10.04
Ubuntu Linux=10.10
Ubuntu=10.10
Ubuntu=9.10
Ubuntu=8.04
Ubuntu=10.04
Ubuntu=6.06

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2010-3870?

    CVE-2010-3870 is classified as a medium severity vulnerability due to its potential to allow attackers to bypass security mechanisms.

  • How do I fix CVE-2010-3870?

    To fix CVE-2010-3870, upgrade PHP to version 5.3.4 or later, which addresses the issues with the utf8_decode function.

  • What systems are affected by CVE-2010-3870?

    CVE-2010-3870 affects PHP versions prior to 5.3.4, as well as various Ubuntu Linux versions like 6.06 to 10.10.

  • What type of attacks can exploit CVE-2010-3870?

    CVE-2010-3870 can be exploited through crafted strings that facilitate bypassing cross-site scripting (XSS) and SQL injection protections.

  • Is CVE-2010-3870 still a concern for modern applications?

    While CVE-2010-3870 is an older vulnerability, legacy systems running the affected PHP versions may still be at risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203