- ------------------------------------------------------------------------
Debian Security Advisory DSA-1918-1                  security@debian.org
http://www.debian.org/security/                          Thijs Kinkhorst
October 25, 2009                      http://www.debian.org/security/faq
- ------------------------------------------------------------------------

Package        : phpmyadmin
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE Id(s)      : CVE-2009-3696 CVE-2009-3697
Debian Bug     : 552194

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 config.inc.php file is not writable anymore by the webserver user
anymore. 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 2.9.1.1-13.

For the stable distribution (lenny), these problems have been fixed in
version 2.11.8.1-5+lenny3.

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

We recommend that you upgrade your phpmyadmin package.

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 4.0 alias etch
- -------------------------------

Source archives:

      Size/MD5 checksum:     1021 0a8c412c5481b2260562ab5649c70d8b
      Size/MD5 checksum:  3500563 f598509b308bf96aee836eb2338f523c
      Size/MD5 checksum:    57060 68fc6b7269343482b96326553dd1e0c0

Architecture independent packages:

      Size/MD5 checksum:  3605314 85eaa36525db64fdd0ba9955c9def399

Debian GNU/Linux 5.0 alias lenny
- --------------------------------

Source archives:

      Size/MD5 checksum:  2870014 075301d16404c2d7d58216efc14f7a50
      Size/MD5 checksum:    63773 a3c38a698e954534517a81570e9fc9fa
      Size/MD5 checksum:     1547 db7c29dbd8ad5758ea8283ebbde9c611

Architecture independent packages:

      Size/MD5 checksum:  2883628 da6a70575f8ae6608910a1c5aaf81f1c


  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:  dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/

Debian: DSA-1918-1: New phpmyadmin packages fix several vulnerabilities

October 25, 2009
Several remote vulnerabilities have been discovered in phpMyAdmin, a tool to administer MySQL over the web

Summary

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 config.inc.php file is not writable anymore by the webserver user
anymore. 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 2.9.1.1-13.

For the stable distribution (lenny), these problems have been fixed in
version 2.11.8.1-5+lenny3.

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

We recommend that you upgrade your phpmyadmin package.

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 4.0 alias etch

Source archives:

Size/MD5 checksum: 1021 0a8c412c5481b2260562ab5649c70d8b
Size/MD5 checksum: 3500563 f598509b308bf96aee836eb2338f523c
Size/MD5 checksum: 57060 68fc6b7269343482b96326553dd1e0c0

Architecture independent packages:

Size/MD5 checksum: 3605314 85eaa36525db64fdd0ba9955c9def399

Debian GNU/Linux 5.0 alias lenny

Source archives:

Size/MD5 checksum: 2870014 075301d16404c2d7d58216efc14f7a50
Size/MD5 checksum: 63773 a3c38a698e954534517a81570e9fc9fa
Size/MD5 checksum: 1547 db7c29dbd8ad5758ea8283ebbde9c611

Architecture independent packages:

Size/MD5 checksum: 2883628 da6a70575f8ae6608910a1c5aaf81f1c


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: dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/

Severity
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:

Related News