PHP ext/mysqli exception handling format string

php-extmysqli-format-string (24095) The risk level is classified as MediumMedium Risk

Description:

PHP could allow a remote attacker to execute arbitrary code on the system, caused by a format string vulnerability in the ext/mysqli exception handling function. In order to exploit this vulnerability, a remote attacker would either be required to gain control of the database server responsible for handling exception responses or use pre-existing SQL injection vulnerabilities in the targeted PHP application.

Platforms Affected:

  • PHP, PHP 5.0.0
  • PHP, PHP 5.0.0 RC3
  • PHP, PHP 5.0.0 RC2
  • PHP, PHP 5.0.0 RC1
  • PHP, PHP 5.0.0 Beta4
  • PHP, PHP 5.0.0 Beta3
  • PHP, PHP 5.0.0 Beta1
  • PHP, PHP 5.0.0 Beta2
  • PHP, PHP 5.0.1
  • PHP, PHP 5.0.2
  • PHP, PHP 5.0.3
  • PHP, PHP 5.0.4
  • PHP, PHP 5.0.5
  • PHP, PHP 5.1.0
  • PHP, PHP 5.1.1

Remedy:

Upgrade to the latest version of PHP (5.1.2 or later), available from The PHP Group Web site. See References.

Consequences:

Gain Access

References:

Reported:

Jan 12, 2006

The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page