PHP MySQLI Error Logging Remote Format String Vulnerability

BID:16219

Info

PHP MySQLI Error Logging Remote Format String Vulnerability

Bugtraq ID: 16219
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Jan 12 2006 12:00AM
Updated: Jan 12 2006 12:00AM
Credit: Stefan Esser <[email protected]> discovered this vulnerability.
Vulnerable: PHP PHP 5.1.1
PHP PHP 5.1
Not Vulnerable: PHP PHP 5.1.2
+ Ubuntu Ubuntu Linux 6.06 LTS sparc
+ Ubuntu Ubuntu Linux 6.06 LTS powerpc
+ Ubuntu Ubuntu Linux 6.06 LTS i386
+ Ubuntu Ubuntu Linux 6.06 LTS amd64

Discussion

PHP MySQLI Error Logging Remote Format String Vulnerability

PHP is susceptible to a remote format string vulnerability in the 'mysqli' extension. This issue is due to a failure of the application to properly sanitize user-supplied input prior to using it in the format-specifier argument to a formatted printing function.

This issue allows attackers to execute arbitrary machine code in the context of the Web server hosting the PHP interpreter.

This issue affects PHP 5.1.0, and 5.1.1.

Exploit / POC

PHP MySQLI Error Logging Remote Format String Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

PHP MySQLI Error Logging Remote Format String Vulnerability

Solution:
The vendor has released PHP version 5.1.2 to address this, and other issues:


PHP PHP 5.1

PHP PHP 5.1.1

References

PHP MySQLI Error Logging Remote Format String Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. 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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report