Bringing MySQL to the web


Announcement-ID: PMASA-2013-12

Date: 2013-07-28

Updated: 2013-07-30


Full path disclosure vulnerabilities.


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.


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 and 4.0.x (prior to are affected.


Upgrade to phpMyAdmin or or newer or apply the patches listed below.


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


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