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-2007-4657

Multiple integer overflows in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to obtain sensitive information (memory contents) or cause a denial of service (thread crash) via a large len value to the (1) strspn or (2) strcspn function, which triggers an out-of-bounds read. NOTE: this affects different product versions than CVE-2007-3996.
Publish Date : 2007-09-04 Last Update Date : 2009-09-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
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 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 None
Vulnerability Type(s) Denial Of ServiceOverflowObtain Information
CWE ID 119

- Vendor Statements

The only effect of this bug is to cause the process to read from a random segment of memory, if a large "length" parameter is passed to the strspn/strcspn function, which is under the control of the script author. This bug has no security impact.
Source: Redhat

- Related OVAL Definitions

Title Definition Id Class Family
DSA-1444 php5 -- several vulnerabilities oval:org.mitre.oval:def:7538 unix
DSA-1444-1 php5 several issues oval:org.mitre.oval:def:20198 unix
DSA-1578 php4 -- several vulnerabilities oval:org.mitre.oval:def:8065 unix
DSA-1578-1 php4 - several vulnerabilities oval:org.mitre.oval:def:18224 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-2007-4657

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 4.4.7 Version Details Vulnerabilities
2 Application PHP PHP 5.2.3 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 2

- References For CVE-2007-4657

http://secunia.com/advisories/28936
SECUNIA 28936
http://secunia.com/advisories/28318
SECUNIA 28318
http://secunia.com/advisories/30288
SECUNIA 30288
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
SLACKWARE SSA:2008-045-03
http://www.debian.org/security/2008/dsa-1444
DEBIAN DSA-1444
http://www.debian.org/security/2008/dsa-1578
DEBIAN DSA-1578
http://www.frsirt.com/english/advisories/2007/3023
VUPEN ADV-2007-3023
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
GENTOO GLSA-200710-02
http://www.php.net/ChangeLog-4.php CONFIRM
http://www.php.net/releases/4_4_8.php CONFIRM
http://www.trustix.org/errata/2007/0026/
TRUSTIX 2007-0026
http://www.ubuntu.com/usn/usn-549-2
UBUNTU USN-549-2
http://www.ubuntulinux.org/support/documentation/usn/usn-549-1
UBUNTU USN-549-1
http://xforce.iss.net/xforce/xfdb/36388
XF php-strcspn-overflow(36388)
http://xforce.iss.net/xforce/xfdb/39399
XF php-strcspn-strspn-unspecified(39399)
https://issues.rpath.com/browse/RPL-1693 CONFIRM
https://issues.rpath.com/browse/RPL-1702 CONFIRM
https://launchpad.net/bugs/173043 CONFIRM
http://www.php.net/releases/5_2_4.php CONFIRM
http://www.vupen.com/english/advisories/2008/0059
VUPEN ADV-2008-0059
http://secunia.com/advisories/26642
SECUNIA 26642
http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/
http://www.php.net/ChangeLog-5.php#5.2.4 CONFIRM
http://secunia.com/advisories/28249
SECUNIA 28249
http://secunia.com/advisories/27864
SECUNIA 27864
http://secunia.com/advisories/27377
SECUNIA 27377
http://secunia.com/advisories/27102
SECUNIA 27102
http://secunia.com/advisories/26838
SECUNIA 26838
http://secunia.com/advisories/26822
SECUNIA 26822

- Metasploit Modules Related To CVE-2007-4657

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.