Vulnerability in PHP
CVE-2007-1885
Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via a single character search string in conjunction with a long replacement string, which overflows a 32 bit length counter. NOTE: this is probably the same issue as CVE-2007-0906.6.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.043, 91.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 4.0.0, 4.0.1, 4.0.2
References
- ADV-2007-1991 (vdb-entry)
- www.securityfocus.com/bid/23233 (vdb-entry)
- SSRT071423 (vendor-advisory)
- HPSBTU02232 (vendor-advisory)
- www.php.net/releases/5_2_1.php
- ADV-2007-2374 (vdb-entry)
- secunia.com/advisories/25423 (third-party-advisory)
- secunia.com/advisories/25850 (third-party-advisory)
- www.php-security.org/MOPB/MOPB-39-2007.html (Exploit, Vendor Advisory)
- php-strreplace-bo(33767) (vdb-entry)