-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

            ESB-2004.0424 -- Debian Security Advisory DSA 523-1
                 New www-sql packages fix buffer overflow
                               21 June 2004

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                www-sql
Publisher:              Debian
Operating System:       Debian GNU/Linux 3.0
                        Linux variants
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Existing Account
CVE Names:              CAN-2004-0455

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 523-1                     security@debian.org
http://www.debian.org/security/                             Matt Zimmerman
June 19th, 2004                         http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : www-sql
Vulnerability  : buffer overflow
Problem-Type   : local
Debian-specific: no
CVE Ids        : CAN-2004-0455

Ulf Härnhammar discovered a buffer overflow vulnerability in www-sql,
a CGI program which enables the creation of dynamic web pages by
embedding SQL statements in HTML.  By exploiting this
vulnerability, a local user could cause the execution of arbitrary
code by creating a web page and processing it with www-sql.

For the current stable distribution (woody), this problem has been
fixed in version 0.5.7-17woody1.

For the unstable distribution (sid), this problem will be fixed soon.

We recommend that you update your www-sql 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/w/www-sql/www-sql_0.5.7-17woody1.dsc
      Size/MD5 checksum:      623 830be25aad38186b4178ce5ff424d796
    http://security.debian.org/pool/updates/main/w/www-sql/www-sql_0.5.7-17woody1.diff.gz
      Size/MD5 checksum:     5651 17f259d168cb7d620c125d5d7cc3a311
    http://security.debian.org/pool/updates/main/w/www-sql/www-sql_0.5.7.orig.tar.gz
      Size/MD5 checksum:   144332 96aaae705c711c4af723c6646a48c301

  Alpha architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_alpha.deb
      Size/MD5 checksum:    47508 453ee924cde1a11376a4502995670e8e
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_alpha.deb
      Size/MD5 checksum:    48472 e1652f6b7d2454a7e1288874821a09e1

  ARM architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_arm.deb
      Size/MD5 checksum:    42002 4254ca5e05d673c1d73c4f9ed73ed126
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_arm.deb
      Size/MD5 checksum:    42338 404e674c59182c200b9693d80289b752

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_i386.deb
      Size/MD5 checksum:    41446 28de214d36809a8ed88484d65a290619
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_i386.deb
      Size/MD5 checksum:    41798 3cdd4a39f99a88b4ee868c7be8e051fc

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_ia64.deb
      Size/MD5 checksum:    53050 8d8caceeb1843afef110dba1f94f91bb
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_ia64.deb
      Size/MD5 checksum:    53524 b5e42ce7363e4617fe88a05fc1dd048e

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_hppa.deb
      Size/MD5 checksum:    45330 a0da3671f82ebd5c4dac0ff894463021
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_hppa.deb
      Size/MD5 checksum:    45796 6729114cc8e92fa1b278ccf619370f50

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_m68k.deb
      Size/MD5 checksum:    40222 0af8912f6629243e49f71b520c9522c1
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_m68k.deb
      Size/MD5 checksum:    40542 edb269316ec27e7f73bb801e0bb74c00

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_mips.deb
      Size/MD5 checksum:    45190 eba2210f7bbfb019d7a4dacb40e69460
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_mips.deb
      Size/MD5 checksum:    45438 ee92959d93a961dcd431a7b917677aef

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_mipsel.deb
      Size/MD5 checksum:    45154 409d7105da9c8ad1f6058d5ac9afa3e1
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_mipsel.deb
      Size/MD5 checksum:    45396 3c546d9fb0bd4a8e9d7cf49170548025

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_powerpc.deb
      Size/MD5 checksum:    43308 c28b6434bd49223dad7d0b66dfcadc2b
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_powerpc.deb
      Size/MD5 checksum:    43590 99ac9c623aeca76c3ff11c5396dc0cd6

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_s390.deb
      Size/MD5 checksum:    41964 39051246d47b4f0aee9f329127d0d399
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_s390.deb
      Size/MD5 checksum:    42342 00527844efabda772352978219f3f0bc

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/w/www-sql/www-mysql_0.5.7-17woody1_sparc.deb
      Size/MD5 checksum:    45352 5efc0ca0ae8903745c0a432be05d177e
    http://security.debian.org/pool/updates/main/w/www-sql/www-pgsql_0.5.7-17woody1_sparc.deb
      Size/MD5 checksum:    43040 daa363e35825f94fa0d6717da3f163ad

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

- - ---------------------------------------------------------------------------------
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>
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA1OzFArxCt0PiXR4RAhwiAKCRhBE8VfScoBJk+J1OhRveYPxYbACgg71z
izBhTCmVsU9W8wjVxWtIVCI=
=iTBr
- -----END PGP SIGNATURE-----

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

        http://www.auscert.org.au/render.html?cid=1980

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:

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

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.
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQNZgSih9+71yA2DNAQKVKQP+OZoZrfOnqWnaZb4F6HrpHHWT7EBm4soZ
NBTUTTA6j2GdKGrYbRSsqTI99+ohJwB4mS2bdfoPUIvWG2fhh/KBuP0jhDIIgQp2
+f5LnxXubaPqojMBYtdY/2HPkUu39wC6m8mvfwN1RpS9TnW6pv0ofRfe//sz1HXA
OjUby4PsZ9E=
=1neV
-----END PGP SIGNATURE-----