Title: PHP Pipe Variable mysql_connect() Function Overflow
Info
Disclosure
Jan 04, 2006
Discovery
Unknown
Dates
Exploit
Jan 04, 2006
Solution
Unknown
Description
An overflow exists in the 'mysql_connect' function of PHP. The function fails to validate the 'pipe' parameter, resulting in a stack overflow. With a specially crafted request, an attacker can cause arbitrary code execution, resulting in a loss of integrity.
Classification
Location:
Remote / Network Access
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Exploit:
Exploit Public
Solution
Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround(s): ensure that the mysql_connect() is only called with sanitised and trusted parameters.