Category
Security
Release Phase
Resolved
Bug Id
6673488
ProductSolaris 9 Operating System
Solaris 10 Operating System
OpenSolaris
Date of Resolved Release28-Jan-2009
A Security Vulnerability in the Solaris ip(7P) Kernel Module's IP-in-IP Packet Processing May Lead to a Denial of Service (DoS)
1. Impact
A security vulnerability in the Solaris ip(7P) kernel module's
IP-in-IP packet processing may allow a local unprivileged user to cause
a system panic, resulting in a Denial of Service (DoS).
Sun acknowledges with thanks, Evgeny Sonyagin for discovering and reporting this issue.
2. Contributing Factors
This issue can occur in the following releases:
SPARC Platform
- Solaris 9 without patch 114344-38
- Solaris 10 without patch 138888-03
- OpenSolaris based upon builds snv_01 though snv_85
x86 Platform
- Solaris 9 without patch 119435-26
- Solaris 10 without patch 138889-03
- OpenSolaris based upon builds snv_01 though snv_85
Note: Solaris 8 is not
impacted by this issue.
3. Symptoms
If this issue has been exploited, a system panic would occur,
generating a stack trace similar to the following:
ipsec_latch_inbound+0x3c(60011e0cf38, 600110e7e48, c8, 26, 0, 0)
ip_bind_ipsec_policy_set+0x60(60011f6def0, 600199e0d40, 0, 600110e7e48,600161cc340, 600151b02c0)
tcp_get_ipsec_conn+0x2d8(6001634d500, 600110e7e48, 2a10035f218, 600151b02c0, 0,600199e0d40)
tcp_conn_request+0x1fc(40, 0, 60010955f00, 600121bd580, 88300001, 0)
squeue_enter_chain+0x90(60010955f00, 600199e0d40, 600199e0d40, 2060, 0, af795)
ip_fanout_proto_again+0x398(600199e0d40, 600110318a8, 600110318a8, 60010bd6a18,c8, 60010bd6a28)
ip_proto_input+0xacc(60010af6f70, 600199e0d40, 600109a84e0, 60010bd6a18,600110318a8, 600109a84f4)
ip_input+0xb74(600109a84e0, 300003d6040, 0, 600110318a8, 0, 0)
i_dls_link_rx+0x1f0(60011035e38, 300003d6040, 0, 6001634d500, 2a10035f6c0,2a10035f6c8)
mac_rx+0x8c(60011033e08, 300003d6040, 6001634d500, 0, 6001634d500, 60011033ef8)
bge_receive+0x564(5a, 60010982000, 8100, ffffffffffffffff, 2f5c, 0)
bge_intr+0x1ac(100000053, 60010982000, 100000053000000, 60010984de0, 0, 2c00)
pci_intr_wrapper+0xb8(60010bced30, 60010ade7a0, 0, 0, 60010b91208, 0)
intr_thread+0x168(0, 1845740, 0, 0, ffffffffffffffff, 300000b3c80)
idle+0x128(1814000, 0, 30000f50000, ffffffffffffffff, 2, 1813000)
thread_start+4(0, 0, 0, 0, 0, 0)
4. Workaround
There is no direct workaround for this issue. Until patches can be
applied, sites may wish to disallow incoming IP-in-IP traffic,
which can be done on the local system using a network traffic
filtering tool such as ipfilter(5) which is shipped with Solaris 10
and later.
For example, on Solaris 10 the following ipf(1M) rule could be used:
block in log quick proto 4 from any to
any
This rule disables IP-in-IP packets coming to the system. This may
affect the existing configuration if tunnel interfaces are present.
Note that after adding this rule, IP packet filtering must be enabled
for this workaround to take affect. Please see the ipf(1M) man page for
details about adding new rules and enabling IP filtering.
5. Resolution
This issue is addressed in the following releases:
SPARC Platform
- Solaris 9 with patch 114344-38 or later
- Solaris 10 with patch 138888-03 or later
- OpenSolaris based upon builds snv_86 or later
x86 Platform
- Solaris 9 with patch 119435-26 or later
- Solaris 10 with patch 138889-03 or later
- OpenSolaris based upon builds snv_86 or later
For more information
on Security Sun Alerts, see 1009886.1.
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-2009 Sun Microsystems,
Inc., 4150 Network Circle, Santa
Clara, CA 95054 U.S.A. All rights reserved.
References
114344-38
138888-03
138889-03
AttachmentsThis solution has no attachment