Bug 738681 (CVE-2011-3591, CVE-2011-3592)

Summary: CVE-2011-3591 CVE-2011-3592 phpMyAdmin: Multiple XSS flaws in versions v3.4.0 to v3.4.4 (PMASA-2011-14)
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, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-03 17:57:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 738685, 738686    
Bug Blocks:    

Description Jan Lieskovsky 2011-09-15 14:17:28 UTC
Multiple XSS flaws have been recently reported in the v3.4.4 version of phpMyAdmin (PMASA-2011-14):

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

1) An XSS flaw was found in the way phpMyAdmin processed row content,
   containing JavaScript code, after its inline editing and saving,

2) It was found that phpMyAdmin did not properly sanitize the content
   of db, table, and column names prior use of their values.

A remote attacker could use these flaws to conduct XSS attacks (execute arbitrary HTML or web script) by tricking authenticated phpMyAdmin user into visiting of a specially-crafted URL.

References:
[2] http://secunia.com/advisories/45991/

Relevant upstream patches:
[3] http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commitdiff;h=bda213c58aec44925be661acb0e76c19483ea170
[4] http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commitdiff;h=2f28ce9c800274190418da0945ce3647d36e1db6

Comment 1 Jan Lieskovsky 2011-09-15 14:22:57 UTC
These issues affect the versions of the phpMyAdmin package, as shipped with Fedora release of 14 and 15. Please schedule an update.

--

These issues affect the versions of the phpMyAdmin package, as present within EPEL-6 repository. Please schedule an update.

--

These issues do NOT affect the versions of the phpMyAdmin package, as present within EPEL-4 and EPEL-5 repositories. If I looked correctly, the relevant functionality isn't there yet. But Robert, please have look and confirm too,
so we could be sure.

Thanks, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Response Team

Comment 2 Jan Lieskovsky 2011-09-15 14:24:02 UTC
Created phpMyAdmin tracking bugs for this issue

Affects: fedora-all [bug 738685]
Affects: epel-6 [bug 738686]

Comment 3 Jan Lieskovsky 2011-09-15 14:28:46 UTC
CVE Request:
[5] http://www.openwall.com/lists/oss-security/2011/09/15/2

Comment 4 Robert Scheck 2011-09-18 00:32:52 UTC
This also affects EPEL 5 (phpMyAdmin3).

Comment 5 Vincent Danen 2011-10-03 17:55:34 UTC
Issue #1 (XSS flaw) received the name CVE-2011-3591.

Issue #2 (improper sanitization) received the name CVE-2011-3592.

http://www.openwall.com/lists/oss-security/2011/09/30/8

Comment 6 Vincent Danen 2011-10-03 17:57:25 UTC
Fedora has been updated to phpMyAdmin-3.4.5-1.fc{14,15,16}.

EPEL has been updated to phpMyAdmin-3.4.5-1.el{5,6}