phpMyAdmin Replication Setup js/replication.js Database Name XSS

medium Nessus Plugin ID 59171

Synopsis

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

Description

According to its self-identified version number, the phpMyAdmin install hosted on the remote web server is affected by a cross-site scripting vulnerability.

The vulnerability is in the replication-setup functionality in js/replication.js in phpMyAdmin 3.4.x before 3.4.10.1, which allows user-assisted remote attackers to inject arbitrary web script or HTML via a crafted database name.

Solution

Upgrade to phpMyAdmin 3.4.10.1 or later or apply the patch from the referenced link.

See Also

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

Plugin Details

Severity: Medium

ID: 59171

File Name: phpmyadmin_dbname_xss.nasl

Version: 1.9

Type: remote

Published: 5/17/2012

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

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, Settings/ParanoidReport, www/phpMyAdmin

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 2/18/2012

Vulnerability Publication Date: 2/18/2012

Reference Information

CVE: CVE-2012-1190

BID: 52857

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