DSA-1403-1 phpmyadmin -- missing input sanitising

Related Vulnerabilities: CVE-2007-5589   CVE-2007-5386  

Omer Singer of the DigiTrust Group discovered several vulnerabilities in phpMyAdmin, an application to administrate MySQL over the WWW. The Common Vulnerabilities and Exposures project identifies the following problems: CVE-2007-5589 phpMyAdmin allows a remote attacker to inject arbitrary web script or HTML in the context of a logged in user's session (cross site scripting). CVE-2007-5386 phpMyAdmin, when accessed by a browser that does not URL-encode requests, allows remote attackers to inject arbitrary web script or HTML via the query string. For the old stable distribution (sarge) this problem has been fixed in version 4:2.6.2-3sarge6. For the stable distribution (etch) this problem has been fixed in version 4:2.9.1.1-6. For the unstable distribution (sid) this problem has been fixed in version 4:2.11.1.2-1. We recommend that you upgrade your phpmyadmin package.

Debian Security Advisory

DSA-1403-1 phpmyadmin -- missing input sanitising

Date Reported:
08 Nov 2007
Affected Packages:
phpmyadmin
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2007-5589, CVE-2007-5386.
More information:

Omer Singer of the DigiTrust Group discovered several vulnerabilities in phpMyAdmin, an application to administrate MySQL over the WWW. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CVE-2007-5589

    phpMyAdmin allows a remote attacker to inject arbitrary web script or HTML in the context of a logged in user's session (cross site scripting).

  • CVE-2007-5386

    phpMyAdmin, when accessed by a browser that does not URL-encode requests, allows remote attackers to inject arbitrary web script or HTML via the query string.

For the old stable distribution (sarge) this problem has been fixed in version 4:2.6.2-3sarge6.

For the stable distribution (etch) this problem has been fixed in version 4:2.9.1.1-6.

For the unstable distribution (sid) this problem has been fixed in version 4:2.11.1.2-1.

We recommend that you upgrade your phpmyadmin package.

Fixed in:

Debian GNU/Linux 3.1 (sarge)

Source:
http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_2.6.2-3sarge6.dsc
http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_2.6.2-3sarge6.diff.gz
http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_2.6.2.orig.tar.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_2.6.2-3sarge6_all.deb

Debian GNU/Linux 4.0 (etch)

Source:
http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_2.9.1.1-6.dsc
http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_2.9.1.1-6.diff.gz
http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_2.9.1.1.orig.tar.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/p/phpmyadmin/phpmyadmin_2.9.1.1-6_all.deb

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