CVE Catalog

CVE-2006-0097

High
Published: Translated: NVD NIST

Summary

In PHP 4.3.10 and 4.4.x before 4.4.3 for Windows, the create_named_pipe function in libmysql.c has a stack-based buffer overflow. An attacker can exploit a long arg_host or arg_unix_socket argument, such as a long named pipe variable in the host argument to mysql_connect, to execute arbitrary code.

Risk Assessment

The organization is at risk of remote code execution by an attacker, potentially leading to server compromise, data theft, or service disruption.

Recommendation

Immediately upgrade PHP to version 4.4.3 or later for Windows. If upgrading is not possible, restrict access to the mysql_connect function and filter argument lengths.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS