=====================================================================
                                    CERT-Renater

                         Note d'Information No. 2006/VULN153
_____________________________________________________________________

DATE                      : 10/04/2006

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running libphp-adodb.

======================================================================

- --------------------------------------------------------------------------
Debian Security Advisory DSA 1029-1                    security at debian.org
http://www.debian.org/security/                             Martin Schulze
April 8th, 2006                         http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : libphp-adodb
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE IDs        : CVE-2006-0146 CVE-2006-0147 CVE-2006-0410 CVE-2006-0806
BugTraq IDs    : 16187 16364 16720
Debian Bugs    : 349985 358872

Several vulnerabilities have been discovered in libphp-adodb, the 'adodb'
database abstraction layer for PHP.  The Common Vulnerabilities and
Exposures project identifies the following problems:

CVE-2006-0146

     Andreas Sandblad discovered that improper user input sanitisation
     results in a potential remote SQL injection vulnerability enabling
     an attacker to compromise applications, access or modify data, or
     exploit vulnerabilities in the underlying database implementation.
     This requires the MySQL root password to be empty.  It is fixed by
     limiting access to the script in question.

CVE-2006-0147

     A dynamic code evaluation vulnerability allows remote attackers to
     execute arbitrary PHP functions via the 'do' parameter.

CVE-2006-0410

     Andy Staudacher discovered an SQL injection vulnerability due to
     insufficient input sanitising that allows remote attackers to
     execute arbitrary SQL commands.

CVE-2006-0806

     GulfTech Security Research discovered multiple cross-site
     scripting vulnerabilities due to improper user-supplied input
     sanitisation.  Attackers can exploit these vulnerabilities to
     cause arbitrary scripts to be executed in the browser of an
     unsuspecting user's machine, or result in the theft of
     cookie-based authentication credentials.

For the old stable distribution (woody) these problems have been fixed in
version 1.51-1.2.

For the stable distribution (sarge) these problems have been fixed in
version 4.52-1sarge1.

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

We recommend that you upgrade your libphp-adodb 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 3.0 alias woody
- --------------------------------

   Source archives:

     http://security.debian.org/pool/updates/main/libp/libphp-adodb/libphp-adodb_1.51-1.2.dsc
       Size/MD5 checksum:      548 3d374bc44425b7ba258eb8129d02349c
     http://security.debian.org/pool/updates/main/libp/libphp-adodb/libphp-adodb_1.51-1.2.diff.gz
       Size/MD5 checksum:     2404 9e579561939b10fda54f313294407007
     http://security.debian.org/pool/updates/main/libp/libphp-adodb/libphp-adodb_1.51.orig.tar.gz
       Size/MD5 checksum:   104759 37c041d0c73b3aa4aa7e1800f9fcd4ff

   Architecture independent components:

     http://security.debian.org/pool/updates/main/libp/libphp-adodb/libphp-adodb_1.51-1.2_all.deb
       Size/MD5 checksum:   104364 e241aeaab484de2b786ac639252f71ca


Debian GNU/Linux 3.1 alias sarge
- --------------------------------

   Source archives:

     http://security.debian.org/pool/updates/main/libp/libphp-adodb/libphp-adodb_4.52-1sarge1.dsc
       Size/MD5 checksum:      608 d4cc684374fcd789138f695142ef6042
     http://security.debian.org/pool/updates/main/libp/libphp-adodb/libphp-adodb_4.52-1sarge1.diff.gz
       Size/MD5 checksum:     7746 a8e033f1770717a8990ed498f477dc21
     http://security.debian.org/pool/updates/main/libp/libphp-adodb/libphp-adodb_4.52.orig.tar.gz
       Size/MD5 checksum:   375443 427ff438939924b32d538eeca4b73743

   Architecture independent components:

     http://security.debian.org/pool/updates/main/libp/libphp-adodb/libphp-adodb_4.52-1sarge1_all.deb
       Size/MD5 checksum:   349856 0ad35b7081f80aa31e44ff6f1473d960


   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 at lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

======================================================================

           =========================================================
           Les serveurs de référence du CERT-Renater
           http://www.urec.fr/securite
           http://www.cru.fr/securite
           http://www.renater.fr
           =========================================================
           + CERT-RENATER          | tel : 01-53-94-20-44          +
           + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
           + 75013 Paris           | email: certsvp@renater.fr     +
           =========================================================


