Back to search
CVE-2007-1885
Published: Apr 6, 2007
Modified: Aug 7, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
ADV-2007-1991
vdb-entry
x_refsource_VUPEN
23233
vdb-entry
x_refsource_BID
SSRT071423
vendor-advisory
x_refsource_HP
HPSBTU02232
vendor-advisory
x_refsource_HP
http://www.php.net/releases/5_2_1.php
x_refsource_CONFIRM
SSRT071429
vendor-advisory
x_refsource_HP
ADV-2007-2374
vdb-entry
x_refsource_VUPEN
25423
third-party-advisory
x_refsource_SECUNIA
HPSBMA02215
vendor-advisory
x_refsource_HP
25850
third-party-advisory
x_refsource_SECUNIA
http://www.php-security.org/MOPB/MOPB-39-2007.html
x_refsource_MISC
php-strreplace-bo(33767)
vdb-entry
x_refsource_XF
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now