Description
Buffer overflow in the confirm_phpdoc_compiled function in the phpDOC extension (PECL phpDOC) in PHP 5.2.1 allows context-dependent attackers to execute arbitrary code via a long argument string.
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 with PECL PHPDOC - Local Buffer Overflow EDB-3576 · local · Mar 25, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 23124 vdb-entry
- 2512 third-party-advisory
- 3576 exploit
- 20070325 PHP 5.2.1 with PECL phpDOC local buffer overflow mailing-list
- http://retrogod.altervista.org/php521_phpdoc_bof.html
- phpdoc-confirmcompiled-bo(33236) vdb-entry