Description
Stack-based buffer overflow in the create_named_pipe function in libmysql.c in PHP 4.3.10 and 4.4.x before 4.4.3 for Windows allows attackers to execute arbitrary code via a long (1) arg_host or (2) arg_unix_socket argument, as demonstrated by a long named pipe variable in the host argument to the mysql_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.
Exploit-DB 1
- PHP 4.4.0 - 'mysql_connect function' Local Buffer Overflow EDB-1406 · local · Jan 5, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20060105 Windows PHP 4.x "0-day" buffer overflow mailing-list
- 20060105 Windows PHP 4.x "0-day" buffer overflow mailing-list
- http://www.php.net/ChangeLog-4.php#4.4.3
- ADV-2006-0046 vdb-entry
- 16145 vdb-entry
- 22232 vdb-entry
- 18275 third-party-advisory
- 20060108 RE: Windows PHP 4.x "0-day" buffer overflow mailing-list