Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

                       ESB-2006.0110 -- [UNIX/Linux]
         PAM-MySQL 0.6.2 and 0.7pre3 fix double free vulnerability
                             10 February 2006


        AusCERT Security Bulletin Summary

Product:           PAM-MySQL 0.6.1 and prior
                   PAM-MySQL 0.7pre2 and prior
Publisher:         US-CERT
Operating System:  UNIX variants (UNIX, Linux)
Impact:            Execute Arbitrary Code/Commands
                   Denial of Service
Access:            Remote/Unauthenticated
CVE Names:         CVE-2006-0056

Original Bulletin: http://www.kb.cert.org/vuls/id/693909

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

US-CERT Vulnerability Note VU#693909

PAM-MySQL contains a double free vulnerability


   PAM-MySQL contains a double-free vulnerability that may allow a remote
   attacker to execute arbitrary code or cause a denial-of-service condition.

I. Description

   PAM-MySQL provides a Pluggable Authentication Module (PAM) interface to
   a MySQL database. PAM-MySQL does not securely handle a pointer returned
   by the pam_get_item() routine resulting in a double-free vulnerability.
   The vulnerability exists if the following conditions are present:

      1. Two or more PAM modules are stacked.
      2. The PAM-MySQL module is not the first in the stack.
      3. Any of the modules preceding the PAM-MySQL module are not marked as requisite.

II. Impact

   If a remote attacker supplies a specially crafted password to a
   vulnerable PAM-MySQL installation that attacker may be able to crash
   the PAM-MySQL process. Please note that it may be possible to exploit
   this vulnerability to execute arbitrary code.

III. Solution

Upgrade PAM-MySQL

   Upgrading to PAM-MySQL version 0.6.2 or PAM-MySQL version 0.7pre3 will correct this issue. 

Systems Affected

   No Information Available




   This vulnerability was reported by Moriyoshi Koizumi.

   This document was written by Jeff Gennari.

Other Information

   Date Public    09/28/2005
   Date First Published    02/08/2006 09:05:56 PM
   Date Last Updated    02/08/2006
   CERT Advisory     
   CVE Name    CVE-2006-0056
   Metric    3.94
   Document Revision    30

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