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

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

                        ESB-2008.0634 -- [Solaris]
   A Security Vulnerability in Sun Java System Calendar Server May Allow
          Denial of Service (DoS) When Access Logging is Enabled
                               19 June 2008

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

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

Product:              Sun Java System Calendar Server 6.3
                      Sun Java System Calendar Server 6 2005Q4
                      Sun Java System Calendar Server 6 2005Q1
                      Sun Java System Calendar Server 6 2004Q2
                      Sun ONE Calendar Server 6.0
Publisher:            Sun Microsystems
Operating System:     Solaris
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-2749

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

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

Solution Type Sun Alert

Solution  235521 :  A Security Vulnerability in Sun Java System Calendar 
      Server May Allow Denial of Service (DoS) When Access Logging is Enabled  

Related Categories

    * Home>Content>Sun Alert Criteria Categories>Security
    * Home>Content>Sun Alert Release Phase>Resolved

Bug ID 6622866

Product

Sun Java System Calendar Server 6.3, 
Sun Java System Calendar Server 6 2005Q4,
Sun Java System Calendar Server 6 2005Q1, 
Sun Java System Calendar Server 6 2004Q2, 
Sun ONE Calendar Server 6.0

Date of Resolved Release

13-Jun-2008

SA Document Body

A Security Vulnerability in Sun Java System Calendar Server May Allow Denial 
of Service (DoS) When Access Logging is Enabled

1. Impact

A security vulnerability in Sun Java System Calendar Server may allow a remote 
unprivileged user to crash the Calendar Server when access logging is enabled. 
This is a type of Denial of Service (DoS).

2. Contributing Factors

SPARC Platform

    * Sun ONE Calendar Server 6.0
    * Sun Java System Calendar Server 6 2004Q2
    * Sun Java System Calendar Server 6 2005Q1
    * Sun Java System Calendar Server 6 2005Q4
    * Sun Java System Calendar Server 6.3 without patch 121657-23

x86 Platform

    * Sun ONE Calendar Server 6.0
    * Sun Java System Calendar Server 6 2004Q2
    * Sun Java System Calendar Server 6 2005Q1
    * Sun Java System Calendar Server 6 2005Q4
    * Sun Java System Calendar Server 6.3 without patch 121658-23

Linux

    * Sun ONE Calendar Server 6.0
    * Sun Java System Calendar Server 6 2004Q2
    * Sun Java System Calendar Server 6 2005Q1
    * Sun Java System Calendar Server 6 2005Q4
    * Sun Java System Calendar Server 6.3 without patch 121659-23

Notes:

1. To determine the version of Sun Java System Calendar Server on a system, 
   the following command can be run:

    $ csversion
    Sun Java(tm) System Calendar Server 6.3-7.01 (built Feb 20 2008)
    SunOS palamoor 5.10 Generic_118833-36 sun4u sparc SUNW,A70

2. This issue only affects the Calendar Server when access logging is enabled. 
   To determine if access logging is enabled, look for the config 
   "service.http.commandlog.all" in the configuration file (ics.conf).

    $ grep service.http.commandlog.all <install_path>/cal/config/ics.conf
    service.http.commandlog.all = "yes"

3. Symptoms

If this issue is exploited to cause a Denial of Service (DoS) the Calendar 
Server will no longer be running on the system. This can be determined using 
a command such as the following, which will produce no output if the process
has crashed:

    $ pgrep cshttpd

Depending on the system configuration, the Calendar Server process may leave 
a crash dump, which may have a stack trace similar to the following if this 
issue has been exploited:

    $ pstack core
    ...
    ...
    -----------------  lwp# 8 / thread# 8  --------------------
    ff029a6c sock_readable (442f322e, 302e302e, 300a4143, 43455054, 3a205445, 58542f58) + 33c
    ...
    ...

4. Workaround

To workaround this issue, access logging can be disabled by editing the 
"ics.conf" file, changing the value for "service.http.commandlog.all" to "no", 
as follows:

    $ grep service.http.commandlog.all <install_path>/cal/config/ics.conf
    service.http.commandlog.all = "no"

5. Resolution

This issue is addressed in the following releases:

SPARC Platform

    * Sun Java System Calendar Server 6.3 with patch 121657-23 or later

x86 Platform

    * Sun Java System Calendar Server 6.3 with patch 121658-23 or later

Linux

    * Sun Java System Calendar Server 6.3 with patch 121659-23 or later

To resolve this issue on versions prior to 6.3, an upgrade to the 6.3 release 
is required first, followed by the appropriate patch application from above. 
The upgrade instructions can be found at:

http://docs.sun.com/source/819-7561/calendarSvr.html

For more information on Security Sun Alerts, see Technical Instruction ID 
213557.

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

iQCVAwUBSFno9Ch9+71yA2DNAQJk7QP/d9h3a5IVtdtGkEmqEb+sAWRwqgod5/N9
PFSrU27no+EFe24ybvHzbMmOYrXF7Ur8MF/od3t2SU0C3IYHn0sHdyh9EoE0Vp95
ea7/vwDMogTtXQjJIDlAbuc9LyvobBnhQ//yHpvF35Tg2vCpEThau0IPo3CYZI7t
Y+mxnVrLB5Q=
=33l4
-----END PGP SIGNATURE-----