CVE-2007-4657 Detail

Current Description

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.


View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score:  N/A
NVD score not yet provided.


NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.

Note: NVD Analysts have not published a CVSS score for this CVE at this time. NVD Analysts use publicly available information at the time of analysis to associate CVSS vector strings.

Vendor Statements (disclaimer)

Official Statement from Red Hat (09/05/2007)

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.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/ Third Party Advisory 
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 Mailing List  Third Party Advisory 
http://www.debian.org/security/2008/dsa-1444 Third Party Advisory 
http://www.debian.org/security/2008/dsa-1578 Third Party Advisory 
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory 
http://www.php.net/ChangeLog-4.php Vendor Advisory 
http://www.php.net/ChangeLog-5.php#5.2.4 Patch  Vendor Advisory 
http://www.php.net/releases/4_4_8.php Vendor Advisory 
http://www.php.net/releases/5_2_4.php Vendor Advisory 
http://www.trustix.org/errata/2007/0026/ Broken Link 
http://www.ubuntu.com/usn/usn-549-2 Broken Link 
http://www.vupen.com/english/advisories/2007/3023 Third Party Advisory 
http://www.vupen.com/english/advisories/2008/0059 Third Party Advisory 
https://exchange.xforce.ibmcloud.com/vulnerabilities/36388 Third Party Advisory  VDB Entry 
https://exchange.xforce.ibmcloud.com/vulnerabilities/39399 Third Party Advisory  VDB Entry 
https://issues.rpath.com/browse/RPL-1693 Broken Link 
https://issues.rpath.com/browse/RPL-1702 Broken Link 
https://launchpad.net/bugs/173043 Third Party Advisory 
https://usn.ubuntu.com/549-1/ Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-189 Numeric Errors cwe source acceptance level NIST  
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2007-4657
NVD Published Date:
09/04/2007
NVD Last Modified:
10/26/2018
Source:
MITRE