Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

                ESB-2007.0684 -- [Win][UNIX/Linux][Debian]
            New phpmyadmin packages fix several vulnerabilities
                             12 September 2007


        AusCERT Security Bulletin Summary

Product:              phpMyAdmin
Publisher:            Debian
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Debian GNU/Linux 3.1, 4.0
Impact:               Cross-site Scripting
                      Inappropriate Access
                      Denial of Service
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-2245 CVE-2007-1395 CVE-2007-1325
                      CVE-2006-6944 CVE-2006-6942

Original Bulletin:    http://www.debian.org/security/2007/dsa-1370

Comment: This advisory references vulnerabilities in products which run on
         platforms other than Debian. It is recommended that administrators
         running phpMyAdmin check for an updated version of the software for
         their operating system.

Revision History:  September 12 2007: Corrected packages released by Debian
                   September 10 2007: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 1370-2                    security@debian.org
http://www.debian.org/security/                            Thijs Kinkhorst
September 10th, 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

The update for the oldstable distribution was incorrectly installed into
the archive. This update provides corrected packages. For reference the
original advisory text:

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

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

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:      896 7d2144286ddad9d5a8a88af1660bf34f
      Size/MD5 checksum:    41685 71832d082f9aad134786fb51c522e5f3
      Size/MD5 checksum:  2654418 05e33121984824c43d94450af3edf267

  Architecture independent components:

      Size/MD5 checksum:  2769794 b7f2545109e3904bb7e8eb49b09e6f7c

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>

Version: GnuPG v1.4.6 (GNU/Linux)


- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.

Comment: http://www.auscert.org.au/render.html?it=1967