Operating System:

[Solaris]

Published:

11 February 2008

Protect yourself against future threats.

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

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

                        ESB-2008.0049 -- [Solaris]
Multiple Security Vulnerabilities in PostgreSQL Shipped with Solaris 10 May
         Allow Elevation of Privileges or Denial of Service (DoS)
                             11 February 2008

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

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

Product:              PostgreSQL
Publisher:            Sun Microsystems
Operating System:     Solaris
CVE Names:            CVE-2007-6601 CVE-2007-6600 CVE-2007-6067
                      CVE-2007-4772 CVE-2007-4769 CVE-2007-3278

Ref:                  ESB-2008.0022

Original Bulletin:  
  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-103197-1
  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-200559-1

Comment: At this stage there is no workaround or solution to these
         vulnerabilities. Sun has however listed contributing factors
         that must be met in order for a system to be vulnerable, as well
         as commands to check whether the affected software is installed
         on your system.
         
         Solaris 8 and 9 do not ship with PostgreSQL and are not impacted
         by this issue.

Revision History:    February 11 2008: Final patches released
                      January 14 2008: Initial Release

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

Solution Type: Sun Alert
   Solution  200559 :   Multiple Security Vulnerabilities in PostgreSQL
   Shipped with Solaris 10 May Allow Elevation of Privileges or Denial of
   Service (DoS)          
   Previously Published As: 103197

   Bug ID: 6643754, 6643743

   Product
Solaris 10 Operating System

   Date of Workaround Release: 30-JAN-2008

   Date of Resolved Release: 05-FEB-2008

   SA Document Body
Multiple Security Vulnerabilities in PostgreSQL Shipped with Solaris 10 May All
ow Elevation of Privileges or Denial of Service (DoS) (see details below)

   1. Impact

   Multiple security vulnerabilities affecting the PostgreSQL software
   shipped with Solaris 10 may allow a local or remote user who has
   access to the PostgreSQL server to cause a Denial of Service (DoS) to
   the PostgreSQL instance or the server it runs on (due to excessive
   resource consumption), or to gain elevated privileges on the server.

   These issues are described in the following documents:

   Official PostgreSQL annoucement:
   http://www.postgresql.org/about/news.905

   CVE-2007-4769 at
   http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4769

   CVE-2007-4772 at
   http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4772

   CVE-2007-6067 at
   http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6067

   CVE-2007-6600 at
   http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6600

   CVE-2007-6601 at
   http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6601

   CVE-2007-3278 at
   http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3278
   2. Contributing Factors

   These issues can occur in the following releases:

   SPARC Platform
     * Solaris 10 PostgreSQL 8.1 without patch 123590-08
     * Solaris 10 PostgreSQL 8.2 without patch 136998-02

   x86 Platform
     * Solaris 10 PostgreSQL 8.1 without patch 123591-08
     * Solaris 10 PostgreSQL 8.2 without patch 136999-02

   Notes:
    1. Solaris 8 and 9 do not ship with PostgreSQL and are not impacted
       by this issue.
    2. A user exploiting this vulnerability must have an account on the
       PostgreSQL server.
    3. This issue affects PostgreSQL versions 7.4.x prior to 7.4.19,
       8.0.x prior to 8.0.15, 8.1.x prior to 8.1.11 and 8.2.x prior to
       8.2.6.
    4. Only systems which have PostgreSQL installed and running are
       impacted by these issues.
    5. Both PostgreSQL 8.1 (SUNWpostgr) and 8.2 (packages beginning with
       SUNWpostgr-82) can be installed at the same time and are
       separately impacted by these vulnerabilities.

   To determine if a version of PostgreSQL is installed, a command such
   as the following can be used:
    $ pkginfo | grep SUNWpostgr
    system      SUNWpostgr             PostgreSQL 8.1.9 client programs and lib
raries
    system      SUNWpostgr-82-client   PostgreSQL 8.2 client tools

   To determine if PostgreSQL is running on a server, a command such as
   the following can be run as the user 'postgres' (or the 'root' user):

   for PostgreSQL 8.1:
    $ pg_ctl status -D /var/lib/pgsql/data/
    pg_ctl: neither postmaster nor postgres running

   for PostgreSQL 8.2:
    $ /usr/postgres/8.2/bin/pg_ctl status -D /var/postgres/8.2/data/
    pg_ctl: server is running (PID: 395)
    /usr/postgres/8.2/bin/postgres -D /var/postgres/8.2/data

   or (where applicable):
    $ svcs  postgresql
    STATE          STIME    FMRI
    disabled       19:42:27 svc:/application/database/postgresql:version_81
    online         19:43:03 svc:/application/database/postgresql:version_82

   3. Symptoms

   There are no predictable symptoms that would indicate these issues
   have been exploited to gain elevated privileges on the server.

   When these issues are exploited to cause a Denial of Service (DoS),
   system response may be slow and the postgres(1) process may crash,
   potentially leaving a core file.
   4. Workaround

   There is no workaround for these issues. Please see the Resolution
   section below.
   5. Resolution

   These issues are addressed in the following releases:

   SPARC Platform
     * Solaris 10 PostgreSQL 8.1 with patch 123590-08 or later
     * Solaris 10 PostgreSQL 8.2 with patch 136998-02 or later

   x86 Platform
     * Solaris 10 PostgreSQL 8.1 with patch 123591-08 or later
     * Solaris 10 PostgreSQL 8.2 with patch 136999-02 or later

   For more information on Security Sun Alerts, see Sun Infodoc
   91209.

   This Sun Alert notification is being provided to you on an "AS IS"
   basis. This Sun Alert notification may contain information provided by
   third parties. The issues described in this Sun Alert notification may
   or may not impact your system(s). Sun makes no representations,
   warranties, or guarantees as to the information contained herein. ANY
   AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
   NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT
   YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE
   OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN.
   This Sun Alert notification contains Sun proprietary and confidential
   information. It is being provided to you pursuant to the provisions of
   your agreement to purchase services from Sun, or, if you do not have
   such an agreement, the Sun.com Terms of Use. This Sun Alert
   notification may only be used for the purposes contemplated by these
   agreements.
   Copyright 2000-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved

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

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

iQCVAwUBR6/AXSh9+71yA2DNAQIeYAP+MCew25oaIRvlPGVl/uMAA0SZ2nR5aMNy
aipR816tRsXOY3SEIMFTivdK77ePSjmodj0EPTDnad72CzSnUAuAwDXh5ZVHB9h2
Q/JJK31vXGwTpK4Zqj7wL1eb+UIZdiuwSb8xexW+MeBJ6kdQMF0cOtmDXgayTKHB
oqjI20/OWuQ=
=s1JV
-----END PGP SIGNATURE-----