AUSCERT External Security Bulletin Redistribution

                     ESB-2001.454 -- RHSA-2001:124-04
                 Updated mod_auth_pgsql packages available
                              25 October 2001


        AusCERT Security Bulletin Summary

Product:                mod_auth_pgsql
Vendor:                 Red Hat
Operating System:       Red Hat Linux 7.2
Platform:               i386
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

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

- ---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated mod_auth_pgsql packages available
Advisory ID:       RHSA-2001:124-04
Issue date:        2001-10-05
Updated on:        2001-10-23
Product:           Red Hat Linux
Keywords:          string injection md5 mod_auth_pgsql
Cross references:  
- ---------------------------------------------------------------------

1. Topic:

Updated mod_auth_pgsql packages are now available for Red Hat Linux 7.2.
These updates close a vulnerability which would allow a malicious client to
cause a Web server to execute arbitrary SQL statements. A bug in the MD5
password mechanism causing valid passwords not to authenticate the user has
also been fixed.

2. Relevant releases/architectures:

Red Hat Linux 7.2 - i386

3. Problem description:

The updated mod_auth_pgsql packages close a vulnerability which would allow
a malicious client to cause a Web server to execute arbitrary SQL
statements. Several Apache authentication modules which use SQL databases
to store authentication information are vulnerable to a remote SQL code
injection attack. A bug in the MD5 password mechanism causing valid
passwords not to authenticate the user has also been fixed.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:


This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

54146 - security: sql injection

6. RPMs required:

Red Hat Linux 7.2:



7. Verification:

MD5 sum                           Package Name
- --------------------------------------------------------------------------
5ebc2970c695950a24a044b046dc94d2 7.2/en/os/SRPMS/mod_auth_pgsql-0.9.9-2.src.rpm
30c43be9ed24fbf0e3b7e1e44ff28808 7.2/en/os/i386/mod_auth_pgsql-0.9.9-2.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:


Copyright(c) 2000, 2001 Red Hat, Inc.

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

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 use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

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 original authors 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 system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security

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 emergencies.

Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key