ID:11586 - Exploit for Stack-based buffer overflow in PHP - CVE-2006-0097

 
Main Vulnerability Database Exploits ID:11586 - Exploit for Stack-based buffer overflow in PHP - CVE-2006-0097

ID:11586 - Exploit for Stack-based buffer overflow in PHP - CVE-2006-0097

Published: June 12, 2025


Vulnerability identifier: #VU110497
Vulnerability risk: Medium
CVE-ID: CVE-2006-0097
CWE-ID: CWE-121
Exploitation vector: Remote access
Vulnerable software:
PHP

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the create_named_pipe function in libmysql.c when processing 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. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install update from vendor's website.