CVE-2007-4657
Vulnerability Summary
Timeline
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 Metrics
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 3.14%• Percentile: 87%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
- CWE-189•Numeric Errors
Weaknesses in this category are related to improper calculation or conversion of numbers.
Affected Systems
- canonical•ubuntu_linux
6.06 | 6.10 | 7.04 | 7.10
- debian•debian_linux
3.1 | 4.0
- Unknown•PHP
≥ 4.0.0, < 4.4.8 | ≥ 5.0.0, < 5.2.4
References (29)
- http://secunia.com/advisories/30288
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36388
- http://secunia.com/advisories/26822
- https://launchpad.net/bugs/173043
- http://www.vupen.com/english/advisories/2008/0059
- http://www.debian.org/security/2008/dsa-1444
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://secunia.com/advisories/27864
- http://www.php.net/releases/4_4_8.php
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
- http://www.php.net/ChangeLog-5.php#5.2.4
- http://secunia.com/advisories/28936
- http://www.trustix.org/errata/2007/0026/
- https://usn.ubuntu.com/549-1/
- https://issues.rpath.com/browse/RPL-1693
- http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/
- http://secunia.com/advisories/28249
- http://www.debian.org/security/2008/dsa-1578
- https://issues.rpath.com/browse/RPL-1702
- http://secunia.com/advisories/26838
- http://secunia.com/advisories/27377
- http://www.php.net/ChangeLog-4.php
- http://secunia.com/advisories/27102
- http://www.vupen.com/english/advisories/2007/3023
- http://www.php.net/releases/5_2_4.php
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39399
- http://secunia.com/advisories/28318
- http://www.ubuntu.com/usn/usn-549-2
- http://secunia.com/advisories/26642