phpMyAdmin 3.4.x < 3.4.8 XSS (PMASA-2011-18)

medium Nessus Plugin ID 57337

Synopsis

The remote web server contains a PHP application that is affected by a cross-site scripting vulnerability.

Description

The version of phpMyAdmin hosted on the remote server is 3.4.x prior to 3.4.8 and is affected by a cross-site scripting vulnerability. The database name is not properly sanitized in the file 'js/db_operations.js' when attempting to rename a database.

Note that this version is reportedly affected by several other cross- site scripting vulnerabilities. However, Nessus has not tested for these vulnerabilities.

Solution

Either apply the vendor patches or upgrade to phpMyAdmin version 3.4.8 or later.

See Also

http://www.phpmyadmin.net/home_page/security/PMASA-2011-18.php

Plugin Details

Severity: Medium

ID: 57337

File Name: phpmyadmin_pmasa_2011_18.nasl

Version: 1.10

Type: remote

Published: 12/19/2011

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:phpmyadmin:phpmyadmin

Required KB Items: www/PHP, www/phpMyAdmin

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 12/1/2011

Vulnerability Publication Date: 12/1/2011

Reference Information

CVE: CVE-2011-4634

BID: 51099

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990