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

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

            ESB-2007.0346 -- [Win][Linux][HP-UX][Solaris][AIX]
         Security Vulnerabilities in the SOCKS Module of Sun Java
                        System Web Proxy Server 4.0
                             19 September 2007

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

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

Product:              Sun Java System Web Proxy Server 4.0
Publisher:            Sun Microsystems
Operating System:     AIX
                      HP-UX
                      Linux variants
                      Solaris
                      Windows
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-2881

Original Bulletin:    
  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-102927-1
  http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=536

Revision History:  September 19 2007: Patch released for HP-UX systems
                   September 12 2007: Service pack 5 and patches available
                                      and CVE number added
                         May 28 2007: Initial Release

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

Sun(sm) Alert Notification
     * Sun Alert ID: 102927
     * Synopsis: Security Vulnerabilities in the SOCKS Module of Sun Java
       System Web Proxy Server 4.0
     * Category: Security
     * Product: Sun Java System Web Proxy Server 4.0
     * BugIDs: 6537736, 6537745
     * Avoidance: Upgrade
     * State: Resolved
     * Date Released: 25-May-2007
     * Date Closed: 25-May-2007
     * Date Modified: 26-Jul-2007, 10-Sep-2007, 14-Sep-2007

1. Impact

   Two buffer overflows have been found in the SOCKS module of Sun Java
   System Web Proxy Server 4.0 which may allow a local or remote
   unprivileged user the ability to execute arbitrary code with the
   privileges of the SOCKS server or cause a Denial of Service (DoS) to
   the SOCKS server. The SOCKS server normally runs with root privileges.

   One of the vulnerabilities (BugID 6537736) requires authentication
   before it can be exploited; however, the default configuration is for
   no authentication to be required to access the SOCKS server.

   Sun acknowledges with thanks, iDefense (http://www.idefense.com),
   for bringing these issues to our attention.

   These issues are also described in the following document:

   http://labs.idefense.com/intelligence/vulnerabilities/display.php?i
   d=536

2. Contributing Factors

   These issues can occur in the following releases:

   SPARC Platform
     * Sun Java System Web Proxy Server 4.0 without Service Pack 5
     * Sun Java System Web Proxy Server 4.0 without patch 120981-12

   x86 Platform
     * Sun Java System Web Proxy Server 4.0 without Service Pack 5
     * Sun Java System Web Proxy Server 4.0 without patch 120982-12

   Linux
     * Sun Java System Web Proxy Server 4.0 without Service Pack 5
     * Sun Java System Web Proxy Server 4.0 without patch 120983-12

   HP-UX
     * Sun Java System Web Proxy Server 4.0 without Service Pack 5
     * Sun Java System Web Proxy Server 4.0 without patch 123532-02

   Windows
     * Sun Java System Web Proxy Server 4.0 without Service Pack 5
     * Sun Java System Web Proxy Server 4.0 without patch 126325-02

   To determine the version of Sun Java System Proxy Server on a system,
   the following command can be run:
    $ <ps_install>/bin/ns-proxy -v
    Sun ONE Web Proxy Server 3.6-SP9 B2006.191.1801 SP9

   (Where <ps_install> is the installation directory of the Proxy
   Server).

3. Symptoms

   There are no predictable symptoms that would indicate the described
   issues have been exploited. 

4. Relief/Workaround

   To prevent these issues until an upgrade or patches can be applied,
   the SOCKS proxy server should be disabled if it is not being utilized.
   This can be accomplished by shutting down the SOCKS server using the
   'stop-sockd' script under the Proxy Server instance directory.

5. Resolution

   These issues are addressed in the following releases:

   SPARC Platform
     * Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
     * Sun Java System Web Proxy Server 4.0 with patch 120981-12 or
       later

   x86 Platform
     * Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
     * Sun Java System Web Proxy Server 4.0 with patch 120982-12 or
       later

   Linux
     * Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
     * Sun Java System Web Proxy Server 4.0 with patch 120983-12 or
       later

   HP-UX
     * Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
     * Sun Java System Web Proxy Server 4.0 with patch 123532-02 or
       later

   Windows
     * Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
     * Sun Java System Web Proxy Server 4.0 with patch 126325-02 or
       later

   Sun Java System Web Proxy Server 4.0 Service Pack 5 is available for
   download at http://www.sun.com/download/products.xml?id=4648dc96

Change History

   26-Jul-2007:
     * Updated Contributing Factors and Resolution sections

   10-Sep-2007:
     * Updated Contributing Factors and Resolution sections

   14-Sep-2007:
     * Updated Contributing Factors and Resolution sections

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

iQCVAwUBRvClGyh9+71yA2DNAQLT3AP7BPMU6h6Z/k5RFknXb1UNRGpyxkABeiMw
oYIxBudgc7OHVKYFvH/eWJRirNzOCcB7iWrD4u684Yx3Pd+3GT5daFqfZZEllUp5
kXt+EOmEctWK62kkkRhIni1Pjm+zLT1Lvdy62mvh8bJKu6RZEKmcT9OWxskxWk4Q
e9f4gfjkkkY=
=abMC
-----END PGP SIGNATURE-----