Bug 989654 (CVE-2013-4995) - CVE-2013-4995 phpMyAdmin: XSS due to unescaped HTML output when executing SQL query (PMASA-2013-8)
Summary: CVE-2013-4995 phpMyAdmin: XSS due to unescaped HTML output when executing SQL...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-4995
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 989678 989679 989877
Blocks: 989687
TreeView+ depends on / blocked
 
Reported: 2013-07-29 17:06 UTC by Jan Lieskovsky
Modified: 2019-09-29 13:06 UTC (History)
6 users (show)

Fixed In Version: phpMyAdmin 3.5.8.2, phpMyAdmin 4.0.4.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-07 05:17:00 UTC


Attachments (Terms of Use)

Description Jan Lieskovsky 2013-07-29 17:06:29 UTC
A cross-site scripting (XSS) flaw was found in the way specific routine to display the records returned by the SQL query of phpMyAdmin, a tool written in PHP intended to handle the administration of MySQL over the World Wide Web, used to sanitize output of the SQL query. A remote attacker could provide a specially-crafted web page that, when visited by a phpMyAdmin user would lead to arbitrary HTML or web script execution in the context of phpMyAdmin's user session.

Upstream advisory:
[1] http://www.phpmyadmin.net/home_page/security/PMASA-2013-8.php

Relevant patches:
[2] https://github.com/phpmyadmin/phpmyadmin/commit/56e9ede5223219cef2187ced385924ef2e0ae21d (against master)
[3] https://github.com/phpmyadmin/phpmyadmin/commit/01d35b3558e47fba947719857bd71f6fd9e5dce8 (against 3.5.x)

Comment 1 Jan Lieskovsky 2013-07-29 17:16:36 UTC
This issue affects the latest version of the phpMyAdmin package, as shipped with Fedora release of 18, 19, and Fedora EPEL 6. Please schedule an update.

--

This issue did not affect the latest version of the phpMyAdmin package, as shipped with Fedora EPEL-5.

Comment 2 Jan Lieskovsky 2013-07-29 17:32:36 UTC
Created phpMyAdmin tracking bugs for this issue:

Affects: fedora-all [bug 989678]
Affects: epel-6 [bug 989679]

Comment 4 Jan Lieskovsky 2013-07-30 08:59:44 UTC
The CVE identifier of CVE-2013-4995 has been assigned to this issue:
  http://www.openwall.com/lists/oss-security/2013/07/30/1


Note You need to log in before you can comment on or make changes to this bug.