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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.99%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 2.0
- 7.5 HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 2.99% probability · 87th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119, CWE-189
- Affected
- php/php · debian/debian linux · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- http://secunia.com/advisories/26642Third Party Advisory
- http://secunia.com/advisories/26822Third Party Advisory
- http://secunia.com/advisories/26838Third Party Advisory
- http://secunia.com/advisories/27102Third Party Advisory
- http://secunia.com/advisories/27377Third Party Advisory
- http://secunia.com/advisories/27864Third Party Advisory
- http://secunia.com/advisories/28249Third Party Advisory
- http://secunia.com/advisories/28318Third Party Advisory
- http://secunia.com/advisories/28936Third Party Advisory
- http://secunia.com/advisories/30288Third Party Advisory
- 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.335136Mailing List, Third Party Advisory
- http://www.debian.org/security/2008/dsa-1444Third Party Advisory
- http://www.debian.org/security/2008/dsa-1578Third Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlThird Party Advisory
- http://www.php.net/ChangeLog-4.phpVendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.4Patch, Vendor Advisory
- http://www.php.net/releases/4_4_8.phpVendor Advisory
- http://www.php.net/releases/5_2_4.phpVendor Advisory
- http://www.trustix.org/errata/2007/0026/Broken Link
- http://www.ubuntu.com/usn/usn-549-2Broken Link
- http://www.vupen.com/english/advisories/2007/3023Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0059Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36388Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39399Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1693Broken Link
- https://issues.rpath.com/browse/RPL-1702Broken Link
- https://launchpad.net/bugs/173043Third Party Advisory
- https://usn.ubuntu.com/549-1/Third Party Advisory
- http://secunia.com/advisories/26642Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.