CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2008-5557

Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0 through 5.2.6 allows context-dependent attackers to execute arbitrary code via a crafted string containing an HTML entity, which is not properly handled during Unicode conversion, related to the (1) mb_convert_encoding, (2) mb_check_encoding, (3) mb_convert_variables, and (4) mb_parse_str functions.
Publish Date : 2008-12-23 Last Update Date : 2010-08-21
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
10.0
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access Admin
Vulnerability Type(s) Execute CodeOverflow
CWE ID 119

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate 2008-12-23 2008-08-05
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-2008-5557 oval:org.opensuse.security:def:20085557 unix
DSA-1789 php5 -- several vulnerabilities oval:org.mitre.oval:def:8164 unix
DSA-1789-1 php5 -- several oval:org.mitre.oval:def:13696 unix
ELSA-2009:0338: php security update (Moderate) oval:org.mitre.oval:def:22732 unix
Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0 thr... oval:org.mitre.oval:def:10286 unix
RHSA-2009:0337: php security update (Moderate) oval:com.redhat.rhsa:def:20090337 unix
RHSA-2009:0338: php security update (Moderate) oval:com.redhat.rhsa:def:20090338 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-2008-5557

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 4.3.0 Version Details Vulnerabilities
2 Application PHP PHP 4.3.1 Version Details Vulnerabilities
3 Application PHP PHP 4.3.2 Version Details Vulnerabilities
4 Application PHP PHP 4.3.3 Version Details Vulnerabilities
5 Application PHP PHP 4.3.4 Version Details Vulnerabilities
6 Application PHP PHP 4.3.5 Version Details Vulnerabilities
7 Application PHP PHP 4.3.6 Version Details Vulnerabilities
8 Application PHP PHP 4.3.7 Version Details Vulnerabilities
9 Application PHP PHP 4.3.8 Version Details Vulnerabilities
10 Application PHP PHP 4.3.9 Version Details Vulnerabilities
11 Application PHP PHP 4.3.10 Version Details Vulnerabilities
12 Application PHP PHP 4.3.11 Version Details Vulnerabilities
13 Application PHP PHP 4.4.0 Version Details Vulnerabilities
14 Application PHP PHP 4.4.1 Version Details Vulnerabilities
15 Application PHP PHP 4.4.2 Version Details Vulnerabilities
16 Application PHP PHP 4.4.3 Version Details Vulnerabilities
17 Application PHP PHP 4.4.4 Version Details Vulnerabilities
18 Application PHP PHP 4.4.5 Version Details Vulnerabilities
19 Application PHP PHP 4.4.6 Version Details Vulnerabilities
20 Application PHP PHP 4.4.7 Version Details Vulnerabilities
21 Application PHP PHP 4.4.8 Version Details Vulnerabilities
22 Application PHP PHP 4.4.9 Version Details Vulnerabilities
23 Application PHP PHP 5.0.0 Beta1 Version Details Vulnerabilities
24 Application PHP PHP 5.0.0 RC3 Version Details Vulnerabilities
25 Application PHP PHP 5.0.0 Beta2 Version Details Vulnerabilities
26 Application PHP PHP 5.0.0 Version Details Vulnerabilities
27 Application PHP PHP 5.0.0 Beta3 Version Details Vulnerabilities
28 Application PHP PHP 5.0.0 Beta4 Version Details Vulnerabilities
29 Application PHP PHP 5.0.0 RC1 Version Details Vulnerabilities
30 Application PHP PHP 5.0.0 RC2 Version Details Vulnerabilities
31 Application PHP PHP 5.0.1 Version Details Vulnerabilities
32 Application PHP PHP 5.0.2 Version Details Vulnerabilities
33 Application PHP PHP 5.0.3 Version Details Vulnerabilities
34 Application PHP PHP 5.0.4 Version Details Vulnerabilities
35 Application PHP PHP 5.0.5 Version Details Vulnerabilities
36 Application PHP PHP 5.1.0 Version Details Vulnerabilities
37 Application PHP PHP 5.1.1 Version Details Vulnerabilities
38 Application PHP PHP 5.1.2 Version Details Vulnerabilities
39 Application PHP PHP 5.1.3 Version Details Vulnerabilities
40 Application PHP PHP 5.1.4 Version Details Vulnerabilities
41 Application PHP PHP 5.1.5 Version Details Vulnerabilities
42 Application PHP PHP 5.1.6 Version Details Vulnerabilities
43 Application PHP PHP 5.2.0 Version Details Vulnerabilities
44 Application PHP PHP 5.2.1 Version Details Vulnerabilities
45 Application PHP PHP 5.2.2 Version Details Vulnerabilities
46 Application PHP PHP 5.2.3 Version Details Vulnerabilities
47 Application PHP PHP 5.2.4 Version Details Vulnerabilities
48 Application PHP PHP 5.2.5 Version Details Vulnerabilities
49 Application PHP PHP 5.2.6 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 49

- References For CVE-2008-5557

http://bugs.php.net/bug.php?id=45722 CONFIRM
http://archives.neohapsis.com/archives/fulldisclosure/2008-12/0477.html
FULLDISC 20081221 CVE-2008-5557 - PHP mbstring buffer overflow
http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
SUSE SUSE-SR:2009:004
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
APPLE APPLE-SA-2009-05-12
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02029444
HP SSRT100079
http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c?r1=1.7&r2=1.8 CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html
SUSE SUSE-SR:2009:008
http://secunia.com/advisories/35306
SECUNIA 35306
http://secunia.com/advisories/35074
SECUNIA 35074
http://secunia.com/advisories/35003
SECUNIA 35003
http://secunia.com/advisories/34642
SECUNIA 34642
http://marc.info/?l=bugtraq&m=125631037611762&w=2
HP SSRT090192
http://marc.info/?l=bugtraq&m=124654546101607&w=2
HP SSRT090085
http://secunia.com/advisories/35650
SECUNIA 35650
http://securitytracker.com/id?1021482
SECTRACK 1021482
http://support.apple.com/kb/HT3549 CONFIRM
http://wiki.rpath.com/Advisories:rPSA-2009-0035 CONFIRM
http://www.debian.org/security/2009/dsa-1789
DEBIAN DSA-1789
http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
MANDRIVA MDVSA-2009:045
http://www.php.net/ChangeLog-5.php#5.2.7 CONFIRM
http://www.us-cert.gov/cas/techalerts/TA09-133A.html
CERT TA09-133A
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html
FEDORA FEDORA-2009-3848
http://www.securityfocus.com/archive/1/archive/1/501376/100/0/threaded
BUGTRAQ 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl
http://www.redhat.com/support/errata/RHSA-2009-0350.html
REDHAT RHSA-2009:0350
http://www.vupen.com/english/advisories/2009/1297
VUPEN ADV-2009-1297
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html
FEDORA FEDORA-2009-3768
http://xforce.iss.net/xforce/xfdb/47525
XF php-multibyte-bo(47525)
http://www.securityfocus.com/bid/32948
BID 32948 PHP 'mbstring' Extension Buffer Overflow Vulnerability Release Date:2010-04-22

- Metasploit Modules Related To CVE-2008-5557

There are not any metasploit modules related to this vulnerability (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.