Description
Buffer overflow in the mSQL extension in PHP 5.2.3 allows context-dependent attackers to execute arbitrary code via a long first argument to the msql_connect function.
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 2
- PHP mSQL (msql_connect) - Local Buffer Overflow EDB-4270 · local · Aug 8, 2007 · verified
- PHP mSQL (msql_connect) - Local Buffer Overflow (PoC) EDB-4260 · dos · Aug 6, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 4260 exploit
- 20070805 PHP mSQL (msql_connect) Buffer Overflow PoC mailing-list
- 25213 vdb-entry
- php-msql-connect-bo(35830) vdb-entry