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

===========================================================================
                         AUSCERT Security Bulletin

                              ASB-2010.0034.2
               PostgreSQL: Unpatched Vulnerability Disclosed
                               30 April 2010

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

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

Product:          PostgreSQL
Operating System: UNIX variants (UNIX, Linux, OSX)
                  Windows
Impact/Access:    Execute Arbitrary Code/Commands -- Existing Account
                  Increased Privileges            -- Existing Account
                  Denial of Service               -- Existing Account
Resolution:       Mitigation

Revision History: April   30 2010: Corrected impacts to reflect the requirement
                                   for an existing account
                  January 28 2010: Initial Release

OVERVIEW

        A security vulnerability has been reported in PostgreSQL.


IMPACT

        Security researcher Evgeny Legerov has published details of a 
        vulnerability reportedly affecting PostgreSQL 8.0.23:
             
        "PostgreSQL 8.0.23 bitsubstr overflow" [1]
        
        The current proof of concept will most likely cause a Denial of 
        Service, but could possibly be modified to execute arbitrary code
        and or increase account privileges. Existing access to the database, 
        either directly or via an application querying the database, is 
        required in order to use this exploit.


MITIGATION

        At the time of this publication there was no response or patches 
        from PostgreSQL.
                
        Until a patch becomes available users should consider restricting 
        network access to the PostgreSQL database and monitor traffic and 
        system performance for unusual activity. In cases where an 
        external application queries the database, user input should be 
        sanitised before being run.


REFERENCES

        [1] PostgreSQL 8.0.23 bitsubstr overflow
            http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html

AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. 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.

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

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
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.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iD8DBQFL2hcr/iFOrG6YcBERAnK4AJ9G/uFlXRf1WAFR0/GpDTf+0y4uDwCeK4A0
poM7OZjjkZR24DL/KFwoES0=
=fyWu
-----END PGP SIGNATURE-----