Note: This is an archival copy of Security Sun Alert 233761 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1019048.1.
Article ID : 1019048.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2008-02-27
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Security Vulnerability in the ipsecah(7P) Kernel Module May Lead to System Panic



Category
Security

Release Phase
Resolved

Bug Id
6616749

Product
Solaris 10 Operating System

Date of Resolved Release
28-Feb-2008

Security Vulnerability in the ipsecah(7P) Kernel Module May Lead to System Panic

1. Impact

A security vulnerability in the ipsecah(7P) kernel module may allow an unprivileged local user the ability to panic a Solaris 10 system that has been configured to run a key management daemon for IPsec Security Associations. The error in the ipsecah(7P) kernel module may result in a Denial of Service (DoS) condition.

2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform

  • Solaris 10 without patch 127111-09

x86 Platform

  • Solaris 10 without patch 127112-09

Note: Solaris 8 and 9 are not impacted by this issue.

This issue affects only systems configured to use IPsec and run a daemon registered to PF_KEY socket such as in.iked(1M). By default no such daemon is running. To determine if such a daemon is running, the following command can be used (as "root" user):

# echo "::walk netstack | ::print -t netstack_t netstack_u.nu_s.nu_keysock | ::print -d -t keysock_stack_t keystack_num_extended" | mdb -k

If any of the numbers returned is non-zero, then one of the zones in the system is running the IPsec key management daemon and the system is vulnerable.

To determine if in.iked(1M) is running, the following command can be used:

    $ pgrep iked

3. Symptoms

If this issue has been exploited, system panic would contain the following stack trace functions:

    sadb_new_algdesc()
    sadb_action_to_ecomb()
    sadb_extended_acquire()
    sadb_acquire()
    stubs_common_code()
    ipsec_out_select_sa()
    ...

4. Relief/Workaround

Until patches can be applied, sites may wish to disable IPsec key management daemons and use static keys. See ipseckey(1M) for details.

5. Resolution

This issue is addressed in the following releases:

SPARC Platform

  • Solaris 10 with patch 127111-09 or later

x86 Platform

  • Solaris 10 with patch 127112-09 or later

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.


References

127111-09
127112-09





Attachments
This solution has no attachment