Bringing MySQL to the web

PMASA-2014-2

Announcement-ID: PMASA-2014-2

Date: 2014-06-20

Summary

Self-XSS due to unescaped HTML output in recent/favorite tables navigation.

Description

When marking a crafted database or table name as favorite or having it in recent tables, it is possible to trigger an XSS.

Severity

We consider this vulnerability to be non critical.

Mitigation factor

This vulnerability can be triggered only by someone who is logged in to phpMyAdmin, as the usual token protection prevents non-logged-in users from accessing the required form.

Affected Versions

All versions since 4.2.0 and prior to 4.2.4 are affected.

Solution

Upgrade to phpMyAdmin 4.2.4 or newer, or apply the patch listed below.

References

Thanks to Madhura Jayaratne and Chirayu Chiripal for reporting this vulnerability.

Assigned CVE ids: CVE-2014-4348

CWE ids: CWE-661 CWE-79

Patches

The following commits have been made to fix this issue:

More information

For further information and in case of questions, please contact the phpMyAdmin team. Our website is phpmyadmin.net.