CVE-2007-4657
Last modified
CVE-2007-4657 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 2.99% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 4.0.0, < 4.4.8 |
| Php | Php | >= 5.0.0, < 5.2.4 |
| Debian | Debian Linux | 3.1 |
| Debian | Debian Linux | 4.0 |
| Canonical | Ubuntu Linux | 6.06 |
| Canonical | Ubuntu Linux | 6.10 |
| Canonical | Ubuntu Linux | 7.04 |
| Canonical | Ubuntu Linux | 7.10 |
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
- 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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2007-4657?
How severe is CVE-2007-4657?
How do I fix CVE-2007-4657?
Are you affected by CVE-2007-4657?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
