CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2010-3870

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.
Publish Date : 2010-11-12 Last Update Date : 2022-08-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Sql InjectionCross Site ScriptingBypass a restriction or similar
CWE ID 20

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate
4.3
AV:N/AC:M/Au:N/C:N/I:P/A:N 2010-11-02 2009-09-27
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @ cvedetails.com

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2010-3870 oval:org.opensuse.security:def:20103870 unix
DEPRECATED: ELSA-2011-0195 -- php security update (moderate) oval:org.mitre.oval:def:28206 unix
DSA-2195-1 php5 -- several oval:org.mitre.oval:def:12808 unix
ELSA-2010:0919: php security update (Moderate) oval:org.mitre.oval:def:23101 unix
ELSA-2011:0195: php security update (Moderate) oval:org.mitre.oval:def:23479 unix
RHSA-2010:0919: php security update (Moderate) oval:org.mitre.oval:def:22022 unix
RHSA-2010:0919: php security update (Moderate) oval:com.redhat.rhsa:def:20100919 unix
RHSA-2011:0195: php security update (Moderate) oval:org.mitre.oval:def:21534 unix
RHSA-2011:0195: php security update (Moderate) oval:com.redhat.rhsa:def:20110195 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2010-3870

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 6.06 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 8.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 9.10 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 10.04 * * * Version Details Vulnerabilities
5 OS Canonical Ubuntu Linux 10.10 * * * Version Details Vulnerabilities
6 Application PHP PHP * * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 5
PHP PHP 1

- References For CVE-2010-3870

http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html
http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
APPLE APPLE-SA-2011-03-21-1
http://support.apple.com/kb/HT4581 CONFIRM
http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html
FEDORA FEDORA-2010-19011
http://www.redhat.com/support/errata/RHSA-2011-0195.html
REDHAT RHSA-2011:0195
http://www.vupen.com/english/advisories/2011/0077
VUPEN ADV-2011-0077
http://www.vupen.com/english/advisories/2011/0021
VUPEN ADV-2011-0021
http://www.ubuntu.com/usn/USN-1042-1
UBUNTU USN-1042-1
http://secunia.com/advisories/42812
SECUNIA 42812
http://www.openwall.com/lists/oss-security/2010/11/02/1
MLIST [oss-security] 20101102 utf-8 security issue in php
http://www.php.net/ChangeLog-5.php CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html
SUSE SUSE-SR:2010:023
http://svn.php.net/viewvc?view=revision&revision=304959 CONFIRM
http://www.redhat.com/support/errata/RHSA-2010-0919.html
REDHAT RHSA-2010:0919
http://www.vupen.com/english/advisories/2011/0020
VUPEN ADV-2011-0020
http://secunia.com/advisories/42410
SECUNIA 42410
http://www.vupen.com/english/advisories/2010/3081
VUPEN ADV-2010-3081
http://www.securitytracker.com/id?1024797
SECTRACK 1024797
http://www.securityfocus.com/bid/44605
BID 44605 PHP 'xml_utf8_decode()' UTF-8 Input Validation Vulnerability Release Date:2012-04-17
http://www.openwall.com/lists/oss-security/2010/11/02/2
MLIST [oss-security] 20101102 Re: utf-8 security issue in php
http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf
http://www.openwall.com/lists/oss-security/2010/11/02/4
MLIST [oss-security] 20101102 Re: utf-8 security issue in php
http://bugs.php.net/bug.php?id=48230
http://www.openwall.com/lists/oss-security/2010/11/02/6
MLIST [oss-security] 20101102 Re: utf-8 security issue in php
http://www.openwall.com/lists/oss-security/2010/11/03/1
MLIST [oss-security] 20101103 Re: utf-8 security issue in php
http://marc.info/?l=bugtraq&m=133469208622507&w=2
HP SSRT100826
http://www.mandriva.com/en/security/advisories?name=MDVSA-2010:224
MANDRIVA MDVSA-2010:224
http://bugs.php.net/bug.php?id=49687 CONFIRM
http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html
FEDORA FEDORA-2010-18976
http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/
http://www.openwall.com/lists/oss-security/2010/11/02/11
MLIST [oss-security] 20101102 Re: utf-8 security issue in php
http://www.openwall.com/lists/oss-security/2010/11/02/8
MLIST [oss-security] 20101102 Re: utf-8 security issue in php
http://us2.php.net/manual/en/function.utf8-decode.php#83935

- Metasploit Modules Related To CVE-2010-3870

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


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. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.