Description
Off-by-one error in the str_ireplace function in PHP 5.2.1 might allow context-dependent attackers to cause a denial of service (crash).
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- PHP 5.2.1 - STR_IReplace Remote Denial of Service EDB-29577 · dos · Feb 9, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 24606 third-party-advisory
- 20070209 PHP 5.2.1 crash bug mailing-list
- 33952 vdb-entry
- [php-dev] 20070209 PHP 5.2.1 crashing Apache/IIS... mailing-list
- 24514 third-party-advisory
- GLSA-200703-21 vendor-advisory
- SUSE-SA:2007:020 vendor-advisory
- 22505 vdb-entry
- [php-dev] 20070210 Re: PHP 5.2.1 crashing Apache/IIS... mailing-list
- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.36&r2=1.445.2.14.2.37