[SECURITY] [DSA 1370-1] New phpmyadmin packages fix several vulnerabilities

Type debian
Reporter Debian
Modified 2007-09-09T00:00:00


Debian Security Advisory DSA 1370-1 security@debian.org http://www.debian.org/security/ Thijs Kinkhorst September 9th, 2007 http://www.debian.org/security/faq

Package : phpmyadmin Vulnerability : several Problem-Type : remote Debian-specific: no CVE ID : CVE-2006-6942 CVE-2006-6944 CVE-2007-1325 CVE-2007-1395 CVE-2007-2245

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


The PMA_ArrayWalkRecursive function in libraries/common.lib.php
does not limit recursion on arrays provided by users, which allows
context-dependent attackers to cause a denial of service (web
server crash) via an array with many dimensions.

This issue affects only the stable distribution (Etch).


Incomplete blacklist vulnerability in index.php allows remote
attackers to conduct cross-site scripting (XSS) attacks by
injecting arbitrary JavaScript or HTML in a (1) db or (2) table
parameter value followed by an uppercase </SCRIPT> end tag,
which bypasses the protection against lowercase </script>.

This issue affects only the stable distribution (Etch).


Multiple cross-site scripting (XSS) vulnerabilities allow remote
attackers to inject arbitrary web script or HTML via (1) the
fieldkey parameter to browse_foreigners.php or (2) certain input
to the PMA_sanitize function.


Multiple cross-site scripting (XSS) vulnerabilities allow remote
attackers to inject arbitrary HTML or web script via (1) a comment
for a table name, as exploited through (a) db_operations.php,
(2) the db parameter to (b) db_create.php, (3) the newname parameter
to db_operations.php, the (4) query_history_latest,
(5) query_history_latest_db, and (6) querydisplay_tab parameters to
(c) querywindow.php, and (7) the pos parameter to (d) sql.php.

This issue affects only the oldstable distribution (Sarge).


phpMyAdmin allows remote attackers to bypass Allow/Deny access rules
that use IP addresses via false headers.

This issue affects only the oldstable distribution (Sarge).

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

For the old stable distribution (sarge) these problems have been fixed in version 2.6.2-3sarge4.

For the unstable distribution (sid) these problems have been fixed in version 2.10.1-1.

We recommend that you upgrade your phpmyadmin packages.

Upgrade Instructions

wget url will fetch the file for you dpkg -i file.deb will install the referenced file.

If you are using the apt-get package manager, use the line for sources.list as given below:

apt-get update will update the internal database apt-get upgrade will install corrected packages

You may use an automated update by adding the resources from the footer to the proper configuration.

Debian GNU/Linux 3.1 alias sarge

Source archives:

  Size/MD5 checksum:      604 32ee16f4370604bc150d93c5676fface
  Size/MD5 checksum:    38520 f27c4b99bbdb3dc13fb71aef99749247
  Size/MD5 checksum:  2654418 05e33121984824c43d94450af3edf267

Architecture independent components:

  Size/MD5 checksum:  2769182 00f14fb52a14546e92ece84c16cd249f

Debian GNU/Linux 4.0 alias etch

Source archives:

  Size/MD5 checksum:     1011 26baccf88fa7d3b00f4802e46d8d0053
  Size/MD5 checksum:    46886 0f377a70b327c65f53ff6895856d18d6
  Size/MD5 checksum:  3500563 f598509b308bf96aee836eb2338f523c

Architecture independent components:

  Size/MD5 checksum:  3605594 05f19efce1cb5b31a8f1161a01dbe158

These files will probably be moved into the stable distribution on its next update.

For apt-get: deb http://security.debian.org/ stable/updates main For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main Mailing list: debian-security-announce@lists.debian.org Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>