Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

phpMyAdmin < 3.1.3.2 Multiple RCE (PMASA-2009-4)

High

Synopsis

The remote web server contains a PHP application that may allow execution of arbitrary code

Description

The setup script included with the version of phpMyAdmin installed on the remote host does not properly sanitize user-supplied input before using it to generate a config file for the application. This version has the following vulnerabilities :

- The setup script inserts the unsanitized verbose server name into a C-style comment during config file generation.

- An attacker can save arbitrary data to the generated config file by altering the value of the 'textconfig' parameter during a POST request to config.php. An unauthenticated remote attacker may be able to leverage these issues to execute arbitrary PHP code.

Solution

Upgrade to version 3.1.3.2 or apply the patches referenced in the project's advisory.