Bringing MySQL to the web

PMASA-2013-12

Announcement-ID: PMASA-2013-12

Date: 2013-07-28

Updated: 2013-07-30

Summary

Full path disclosure vulnerabilities.

Description

By calling some scripts that are part of phpMyAdmin in an unexpected way, it is possible to trigger phpMyAdmin to display a PHP error message which contains the full path of the directory where phpMyAdmin is installed.

Severity

We consider these vulnerabilities to be non critical.

Mitigation factor

This path disclosure is possible on servers where the recommended setting of the PHP configuration directive <tt>display_errors</tt> is set to <tt>on</tt>, which is against the recommendations given in the PHP manual.

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 patches listed below.

References

Thanks to Emanuel Bronshtein for reporting these issues.

Assigned CVE ids: CVE-2013-4998 CVE-2013-4999 CVE-2013-5000

CWE ids: CWE-661 CWE-200

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.