Debian Security Advisory

DSA-1918-1 phpmyadmin -- several vulnerabilities

Date Reported:
25 Oct 2009
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 552194.
In Mitre's CVE dictionary: CVE-2009-3696, CVE-2009-3697.
More information:

Several remote vulnerabilities have been discovered in phpMyAdmin, a tool to administer MySQL over the web. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CVE-2009-3696

    Cross-site scripting (XSS) vulnerability allows remote attackers to inject arbitrary web script or HTML via a crafted MySQL table name.

  • CVE-2009-3697

    SQL injection vulnerability in the PDF schema generator functionality allows remote attackers to execute arbitrary SQL commands. This issue does not apply to the version in Debian 4.0 Etch.

Additionally, extra fortification has been added for the web based setup.php script. Although the shipped web server configuration should ensure that this script is protected, in practice this turned out not always to be the case. The file is not writable anymore by the webserver user. See README.Debian for details on how to enable the setup.php script if and when you need it.

For the old stable distribution (etch), these problems have been fixed in version

For the stable distribution (lenny), these problems have been fixed in version

For the unstable distribution (sid), these problems have been fixed in version

We recommend that you upgrade your phpmyadmin package.

Fixed in:

Debian GNU/Linux 4.0 (etch)

Architecture-independent component:

Debian GNU/Linux 5.0 (lenny)

Architecture-independent component:

MD5 checksums of the listed files are available in the original advisory.