Bug 725381 (CVE-2011-2642)

Summary: CVE-2011-2642 phpMyAdmin: v3.3.10.3, v3.4.3.2: XSS in table Print view (PMASA-2011-9)
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: redhat-bugzilla, soho
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-19 15:36:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 725385    
Bug Blocks:    

Description Jan Lieskovsky 2011-07-25 10:55:53 UTC
An cross-site scripting (XSS) flaw was found in the way phpMyAdmin, the MySQL over WWW administration tool, displayed table names in multi tables printview. A remote attacker, able to create a particular table on the victim's server, could provide a specially-crafted URL, which once visited by valid phpMyAdmin user could lead to arbitrary JavaScript code execution.

[1] http://www.phpmyadmin.net/home_page/security/PMASA-2011-9.php
[2] http://www.phpmyadmin.net/home_page/news.php

Upstream patches:
[3] http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commitdiff;h=a0823be05aa5835f207c0838b9cca67d2d9a050a
[4] http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commitdiff;h=4bd27166c314faa37cada91533b86377f4d4d214
[5] http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commitdiff;h=8ac8328229ae7493d6060b6272578d85879c698d
    (against the 3.3 branch)

Comment 1 Jan Lieskovsky 2011-07-25 10:57:23 UTC
This issue affects the versions of the phpMyAdmin package, as shipped with Fedora release of 14 and 15. 


This issue affects the versions of the phpMyAdmin package, as present within EPEL-6, EPEL-5 and EPEL-4 repositories.

Please schedule an update.

Comment 2 Jan Lieskovsky 2011-07-25 11:03:52 UTC
Created phpMyAdmin tracking bugs for this issue

Affects: fedora-all [bug 725385]