PMASA-2014-4

Announcement-ID: PMASA-2014-4

Date: 2014-07-17

Summary

Self-XSS due to unescaped HTML output in database structure page.

Description

With a crafted table comment, it is possible to trigger an XSS in database structure page.

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 page.

Affected Versions

Versions 4.2.x (prior to 4.2.6) are affected.

Solution

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

References

Thanks to Frans Rosén of detectify for reporting this vulnerability.

Assigned CVE ids: CVE-2014-4954

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.

Announcements