phpMyAdmin < Multiple RCE (PMASA-2009-4)

high Nessus Network Monitor Plugin ID 4997


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


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.


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

See Also

Plugin Details

Severity: High

ID: 4997

Family: CGI

Published: 4/17/2009

Updated: 3/6/2019

Nessus ID: 36171

Risk Information


Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C


Risk Factor: High

Base Score: 7.3

Temporal Score: 6.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*

Reference Information

CVE: CVE-2009-1285

BID: 34526