22232 : PHP Pipe Variable mysql_connect() Function Overflow
Printer | http://osvdb.org/22232 | Email This | Edit Vulnerability

Views This Week

25

Views All Time

196

Info

Last Modified

about 1 year ago

Percent Complete

95%

Disclosure

Jan 04, 2006

Discovery

Unknown

Dates

Exploit

Jan 04, 2006

Solution

Unknown

Keywords

No Keywords

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 Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Available

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.

Products

PHP Group
Watch-list
PHP
Watch-list
4.4.0
4.3.10

References

Credit

  • mercenary -

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use