phpMyAdmin 3.4.x < 3.4.11.1 / 3.5.x < 3.5.2.2 Multiple XSS (PMASA-2012-4)

low Nessus Plugin ID 61659

Synopsis

The remote web server hosts a PHP application that is affected by multiple cross-site scripting vulnerabilities.

Description

According to its self-identified version number, the phpMyAdmin install hosted on the remote web server is affected by multiple cross-site scripting vulnerabilities. Using a crafted table name, it's possible to produce the issue with the following pages / conditions :

- The Database Structure page by creating a table with a crafted name or using the Empty and Drop links of the crafted table name.

- The Table Operations page of a crafted table by using the 'Empty the table (TRUNCATE)' and 'Delete the table (DROP)' links.

- The Triggers page of a database containing tables with a crafted name when opening the 'Add Trigger' pop-up.

- When creating a trigger for a table with a crafted name with an invalid definition.

- When visualizing GIS data having a crafted label name.

Note that version 3.4.x is only affected by the issues on the Database Structure page, while versions 3.5.x are affected by all the issues listed.

Solution

Upgrade to phpMyAdmin 3.4.11.1 / 3.5.2.2 or later. Alternatively, apply the patch referenced in the vendor security advisory.

See Also

http://www.phpmyadmin.net/home_page/security/PMASA-2012-4.php

Plugin Details

Severity: Low

ID: 61659

File Name: phpmyadmin_pmasa_2012_4.nasl

Version: 1.12

Type: remote

Published: 8/24/2012

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 3

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

Vulnerability Information

CPE: cpe:/a:phpmyadmin:phpmyadmin

Required KB Items: www/PHP, Settings/ParanoidReport, www/phpMyAdmin

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 8/16/2012

Vulnerability Publication Date: 8/16/2012

Reference Information

CVE: CVE-2012-4345, CVE-2012-4579

BID: 55068, 73624

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