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 conjuncti...
HighCVSS 7.5
EPSS 4.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.0.0 | No fix listed |
| PHP | = 4.0.1 | No fix listed |
| PHP | = 4.0.1-patch1 | No fix listed |
| PHP | = 4.0.1-patch2 | No fix listed |
| PHP | = 4.0.2 | No fix listed |
| PHP | = 4.0.3 | No fix listed |
| PHP | = 4.0.3-patch1 | No fix listed |
| PHP | = 4.0.4 | No fix listed |
| PHP | = 4.0.4-patch1 | No fix listed |
| PHP | = 4.0.5 | No fix listed |
| PHP | = 4.0.6 | No fix listed |
| PHP | = 4.0.7 | No fix listed |
| PHP | = 4.0.7-rc1 | No fix listed |
| PHP | = 4.0.7-rc2 | No fix listed |
| PHP | = 4.0.7-rc3 | No fix listed |
| PHP | = 4.1.0 | No fix listed |
| PHP | = 4.1.1 | No fix listed |
| PHP | = 4.1.2 | No fix listed |
| PHP | = 4.2 | No fix listed |
| PHP | = 4.2.0 | No fix listed |
| PHP | = 4.2.1 | No fix listed |
| PHP | = 4.2.2 | No fix listed |
| PHP | = 4.2.3 | No fix listed |
| PHP | = 4.3.0 | No fix listed |
| PHP | = 4.3.1 | No fix listed |
Show 41 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.3.2 | No fix listed |
| PHP | = 4.3.3 | No fix listed |
| PHP | = 4.3.4 | No fix listed |
| PHP | = 4.3.5 | No fix listed |
| PHP | = 4.3.6 | No fix listed |
| PHP | = 4.3.7 | No fix listed |
| PHP | = 4.3.8 | No fix listed |
| PHP | = 4.3.9 | No fix listed |
| PHP | = 4.3.10 | No fix listed |
| PHP | = 4.3.11 | No fix listed |
| PHP | = 4.4.0 | No fix listed |
| PHP | = 4.4.1 | No fix listed |
| PHP | = 4.4.2 | No fix listed |
| PHP | = 4.4.3 | No fix listed |
| PHP | = 4.4.4 | No fix listed |
| PHP | = 4.4.5 | No fix listed |
| PHP | = 4.4.6 | No fix listed |
| PHP | = 5.0-rc1 | No fix listed |
| PHP | = 5.0-rc2 | No fix listed |
| PHP | = 5.0-rc3 | No fix listed |
| PHP | = 5.0.0 | No fix listed |
| PHP | = 5.0.0-beta1 | No fix listed |
| PHP | = 5.0.0-beta2 | No fix listed |
| PHP | = 5.0.0-beta3 | No fix listed |
| PHP | = 5.0.0-beta4 | No fix listed |
| PHP | = 5.0.0-rc1 | No fix listed |
| PHP | = 5.0.0-rc2 | No fix listed |
| PHP | = 5.0.0-rc3 | No fix listed |
| PHP | = 5.0.1 | No fix listed |
| PHP | = 5.0.2 | No fix listed |
| PHP | = 5.0.3 | No fix listed |
| PHP | = 5.0.4 | No fix listed |
| PHP | = 5.0.5 | No fix listed |
| PHP | = 5.1.0 | No fix listed |
| PHP | = 5.1.1 | No fix listed |
| PHP | = 5.1.2 | No fix listed |
| PHP | = 5.1.3 | No fix listed |
| PHP | = 5.1.4 | No fix listed |
| PHP | = 5.1.5 | No fix listed |
| PHP | = 5.1.6 | No fix listed |
| PHP | = 5.2.0 | No fix listed |
References
- SSRT071423 vendor-advisory
- HPSBTU02232 vendor-advisory
- 25423 third-party-advisory
- 25850 third-party-advisory
- www.php-security.org exploit vendor-advisory
- www.php.net
- 23233 vdb-entry
- ADV-2007-1991 vdb-entry
- ADV-2007-2374 vdb-entry
- php-strreplace-bo(33767) vdb-entry