Self-XSS due to unescaped HTML output in schema export.

2013-07-28T00:00:00
ID PHPMYADMIN:PMASA-2013-14
Type phpmyadmin
Reporter phpMyAdmin
Modified 2013-07-30T00:00:00

Description

PMASA-2013-14

Announcement-ID: PMASA-2013-14

Date: 2013-07-28

Updated: 2013-07-30

Summary

Self-XSS due to unescaped HTML output in schema export.

Description

When calling schema_export.php with crafted parameters, 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 logged in to phpMyAdmin, as the usual token protection prevents non-logged-in users from accessing the required form.

Affected Versions

Versions 3.5.x (prior to 3.5.8.2) and 4.0.x (prior to 4.0.4.2) are affected.

Solution

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

References

Thanks to 0x721427D8 working with Beyond Security's SecuriTeam Secure Disclosure program for reporting these vulnerabilities.

Assigned CVE ids: CVE-2013-5002

CWE ids: CWE-661 CWE-79

Patches

The following commits have been made to fix this issue:

The following commits have been made on the 3.5 branch to fix this issue:

More information

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