AV:N/AC:L/Au:N/C:N/I:N/A:C/E:F/RL:OF/RC:C
-
The Cisco IOS Software Internet Key Exchange (IKE) feature contains a denial of service (DoS) vulnerability.
Cisco has released software updates that address this vulnerability. Workarounds that mitigate this vulnerability are not available.
This advisory is available at the following link:
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130327-ike
Note: The March 27, 2013, Cisco IOS Software Security Advisory bundled publication includes seven Cisco Security Advisories. All advisories address vulnerabilities in Cisco IOS Software. Each Cisco IOS Software Security Advisory lists the Cisco IOS Software releases that correct the vulnerability or vulnerabilities detailed in the advisory as well as the Cisco IOS Software releases that correct all Cisco IOS Software vulnerabilities in the March 2013 bundled publication.
Individual publication links are in "Cisco Event Response: Semiannual Cisco IOS Software Security Advisory Bundled Publication" at the following link:
http://www.cisco.com/web/about/security/intelligence/Cisco_ERP_mar13.html
-
Cisco IOS devices are vulnerable when running a software image of an affected version of Cisco IOS Software that does not support IKE version 2 (IKEv2) and is configured to use IKE version 1 (IKEv1).
Vulnerable Products
Determine if the Device is Running an Affected Version of Cisco IOS Software
This vulnerability affects the 15.1GC, 15.1T, and 15.1XB Cisco IOS Software release trains. No other Cisco IOS Software release trains are affected.
To determine the Cisco IOS Software release that is running on a Cisco product, administrators can log in to the device and issue the show version command to display the system banner. The system banner confirms that the device is running Cisco IOS Software by displaying text similar to "Cisco Internetwork Operating System Software" or "Cisco IOS Software." The image name displays in parentheses, followed by "Version" and the Cisco IOS Software release name. Other Cisco devices do not have the show version command or may provide different output.
The following example identifies a Cisco product that is running Cisco IOS Software Release 15.0(1)M1 with an installed image name of C3900-UNIVERSALK9-M:
Router> show version
Cisco IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.0(1)M1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Wed 02-Dec-09 17:17 by prod_rel_team!--- output truncated
Additional information about Cisco IOS Software release naming conventions is available in "White Paper: Cisco IOS and NX-OS Software Reference Guide" at http://www.cisco.com/web/about/security/intelligence/ios-ref.html.
Determine if the Cisco IOS Software Version Supports IKEv2
Cisco IOS Software introduced support for IKEv2 in software version 15.1(1)T for select platforms. To determine if the device has an image that supports IKEv2, log into the device and execute the command line interface (CLI) command show subsys | include ikev2. If the output contains ikev2 Library then the device has support for IKEv2. If the output does not contain ikev2 Library then the device does not support IKEv2. In the following example the device has support for IKEv2:ISR2900#show subsys | include ikev2
In the following example the device does not have support for IKEv2:
ikev2 Library 1.000.001
ikev2_cli_registry Registry 1.000.001
ISR2900#
CISCO2821#show subsys | include ikev2
ikev2_cli_registry Registry 1.000.001
CISCO2821#Determine if the Device is Configured for IKEv1
A number of features use IKEv1, including different Virtual Private Networks (VPN) such as:- LAN-to-LAN VPN
- Remote access VPN (excluding SSLVPN)
- Dynamic Multipoint VPN (DMVPN)
- Group Domain of Interpretation (GDOI)
- Determine if IKE ports are open on a running device
- Determine if IKEv1 features are included in the device configuration
The preferred method to determine if a device has been configured for IKE is to issue the show udp CLI command. If the device has UDP port 500, UDP port 4500, UDP port 848, or UDP port 4848 open, it is processing IKE packets.
In the following example, the device is configured to process IKE packets on UDP port 500 and UDP port 4500, using either IPv4 or IPv6:
Router#show udp
Proto Remote Port Local Port In Out Stat TTY OutputIF
17 --listen-- --any-- 1975 0 0 1000001 0
17 --listen-- 192.168.100.1 500 0 0 1001011 0
17(v6) --listen-- FD80::1 500 0 0 1020011 0
17 --listen-- 192.168.100.1 4500 0 0 1001011 0
17(v6) --listen-- FD80::1 4500 0 0 1020011 0
Router#
To determine if a Cisco IOS device configuration is vulnerable, the administrator needs to determine whether there is at least one configured feature that uses IKE. This can be achieved by using the show run | include crypto map|tunnel protection ipsec|crypto gdoi enable mode command. If the output of this command contains either tunnel protection ipsec, or, crypto gdoi then the device contains an IKE configuration. If the output of this command contains crypto map, check that the crypto map is configured as ipsec-isakmp. The following example shows a device that has been configured for IKE:router# show run | include crypto map|tunnel protection ipsec|crypto gdoi crypto map CM 100 ipsec-isakmp crypto map CM router#
Products Confirmed Not Vulnerable
Cisco devices that are running an affected version of Cisco IOS Software which has support for IKEv2 are not affected, regardless if IKEv1 is configured or not.
The following products have support for both IKEv1 and IKEv2 and are confirmed not affected by this vulnerability:
- Cisco ASR 5000 Series Small Cell Gateway
- Cisco Access Service Network (ASN) Gateway
- Cisco ePDG (On ASR5000)
- The SAMI based Wireless Security Gateway (WSG).
- Cisco NX-OS Software
- Cisco ASA Software
- Cisco AnyConnect
- Cisco CGR 1000 routers
No other Cisco products are currently known to be affected by this vulnerability.
-
Cisco IOS Software contains a vulnerability that could allow an unauthenticated, remote attacker to cause a DoS condition.
The vulnerability is due to insufficient validation of IKE packets by the affected software. An attacker could exploit this vulnerability by sending specific IKE packets to a device configured with features that leverage IKEv1. An exploit could allow the attacker to cause a memory leak on the affected device which could lead to a DoS condition.
To identify if a device is being exploited by this vulnerability, examine the contents of the old buffers. A device that is affected by this vulnerability will show a buffer leak in the Crypto IKE Dis user and will show buffers being leaked in Crypto IK. The following example shows a system that is experiencing a memory leak due to this vulnerability:
Router#show buffer leak
Header DataArea Pool Size Link Enc Flags Input Output User
49AB48C0 3F405384 Small 0 0 0 0 None None Init
49ABB8DC 3F4072C4 Middl 419 7 1 80 Gi0/0 None Crypto IK
49ABBD58 3F407604 Middl 419 7 1 80 Gi0/0 None Crypto IK
49ABC1D4 3F407944 Middl 419 7 1 80 Gi0/0 None Crypto IK
49ABC650 3F407C84 Middl 419 7 1 80 Gi0/0 None Crypto IK
Router#show buffer leak resource user
Resource User: Init count: 21
Resource User: Crypto IKE Dis count: 100
Resource User: EEM ED Syslog count: 10
Resource User: IP ARP Adjacen count: 1
This vulnerability has been documented in Cisco Bug ID CSCth81055 (registered customers only) and has been assigned the Common Vulnerabilities and Exposures (CVE) ID CVE-2013-1144.
-
The following identification mechanism exist for this vulnerability.
Embedded Event Manager (EEM)
A Cisco IOS Embedded Event Manager (EEM) policy that is based on Tool Command Language (Tcl) can be used on vulnerable Cisco IOS devices to identify and detect a memory leak that is caused by this vulnerability. The policy allows administrators to monitor the memory for the affected process on a Cisco IOS device. When Cisco IOS EEM detects potential exploitation of this vulnerability, the policy can trigger a response by sending an alert to the network administrator, who could then decide to implement an upgrade or reload the device to recover the lost memory at a suitable time. The example policy is based on a Tcl script that sends a syslog when the memory keeps dropping and reaches EEM_IKE_BUFF_INCR_THRES and when the IKE buffers have dropped EEM_IKE_BUFF_INCR_THRES times. If IKE buffers are freed the counter starts counting from zero. After generating the memory leak syslog the script re-initializes. The Tcl script is available for download at the "Cisco Beyond: Embedded Event Manager (EEM) Scripting Community" at the following link: https://supportforums.cisco.com/docs/DOC-30300. A sample device configuration is provided below.
event manager environment EEM_MEM_LEAK_INTERVAL 20
event manager environment EEM_MEM_LEAK_MAX_RUNTIME 5
event manager environment EEM_IKE_BUFF_INCR_THRES 3
event manager environment EEM_FREE_MEMORY_THRES 70
event manager directory user policy "flash:/"
event manager policy eem_ike_mem_leak.tcl
-
When considering software upgrades, customers are advised to consult the Cisco Security Advisories, Responses, and Notices archive at http://www.cisco.com/go/psirt and review subsequent advisories to determine exposure and a complete upgrade solution.
In all cases, customers should ensure that the devices to be upgraded contain sufficient memory and confirm that current hardware and software configurations will continue to be supported properly by the new release. If the information is not clear, customers are advised to contact the Cisco Technical Assistance Center (TAC) or their contracted maintenance providers.
Cisco IOS Software
Each row of the following Cisco IOS Software table corresponds to a Cisco IOS Software train. If a particular train is vulnerable, the earliest releases that contain the fix are listed in the First Fixed Release column. The First Fixed Release for All Advisories in the March 2013 Bundled Publication column lists the earliest possible releases that correct all the published vulnerabilities in the Cisco IOS Software Security Advisory bundled publication. Cisco recommends upgrading to the latest available release where possible.
The Cisco IOS Software Checker allows customers to search for Cisco Security Advisories that address specific Cisco IOS Software releases. This tool is available on the Cisco Security (SIO) portal at https://sec.cloudapps.cisco.com/security/center/selectIOSVersion.x
Major Release Availability of Repaired Releases Affected 12.0-Based Releases First Fixed Release Bundle First Fixed Release for All Advisories in the March 2013 Bundled Publication There are no affected 12.0 based releases Affected 12.2-Based Releases First Fixed Release Bundle First Fixed Release for All Advisories in the March 2013 Bundled Publication There are no affected 12.2 based releases Affected 12.3-Based Releases First Fixed Release Bundle First Fixed Release for All Advisories in the March 2013 Bundled Publication There are no affected 12.3 based releases Affected 12.4-Based Releases First Fixed Release Bundle First Fixed Release for All Advisories in the March 2013 Bundled Publication There are no affected 12.4 based releases Affected 15.0-Based Releases First Fixed Release Bundle First Fixed Release for All Advisories in the March 2013 Bundled Publication There are no affected 15.0 based releases Affected 15.1-Based Releases First Fixed Release Bundle First Fixed Release for All Advisories in the March 2013 Bundled Publication 15.1EY Not vulnerable
Vulnerable; First fixed in Release 15.2S
15.1GC 15.1(4)GC
15.1(4)GC1
15.1M Not vulnerable
15.1(4)M6
15.1MR Not vulnerable
Vulnerable; contact your support organization per the instructions in Obtaining Fixed Software section of this advisory.
15.1MRA Not vulnerable
Vulnerable; contact your support organization per the instructions in Obtaining Fixed Software section of this advisory.
15.1S Not vulnerable
Cisco IOS XE devices: Please see Cisco IOS XE Software Availability
† See footnote
Cisco IOS XE devices: Please see Cisco IOS XE Software Availability15.1SG Not vulnerable
Cisco IOS XE devices: Please see Cisco IOS XE Software AvailabilityCisco IOS XE devices: Please see Cisco IOS XE Software Availability
15.1SNG Not vulnerable
Vulnerable; contact your support organization per the instructions in Obtaining Fixed Software section of this advisory.
15.1SNH Not vulnerable
Vulnerable; contact your support organization per the instructions in Obtaining Fixed Software section of this advisory.
15.1SNI Not vulnerable
Vulnerable; contact your support organization per the instructions in Obtaining Fixed Software section of this advisory.
15.1SVA Not vulnerable
Vulnerable; contact your support organization per the instructions in Obtaining Fixed Software section of this advisory.
15.1SVC Not vulnerable
Not vulnerable
15.1SY Not vulnerable
15.1(1)SY1; Available on 24-MAY-13
15.1T 15.1(3)T
Vulnerable; First fixed in Release 15.1M
15.1XB Vulnerable; First fixed in Release 15.1T
Vulnerable; First fixed in Release 15.1M
Affected 15.2-Based Releases First Fixed Release Bundle First Fixed Release for All Advisories in the March 2013 Bundled Publication There are no affected 15.2 based releases Affected 15.3-Based Releases First Fixed Release Bundle First Fixed Release for All Advisories in the March 2013 Bundled Publication There are no affected 15.3 based releases * For Cisco 7600 Series Routers, the first fixed release for all Cisco Security Advisories in the March 2013 bundled publication is Cisco IOS Software Release 15.1(3)S5. For Cisco 7200 and 7300 Series Routers, the first fixed release for all advisories in the March 2013 bundled publication is Cisco IOS Software Release 15.1(3)S5a, which will be available on April 15, 2013.
Cisco IOS XE Software
Cisco IOS XE Software is not affected by the vulnerability that is disclosed in this advisory.
Cisco IOS XR Software
Cisco IOS XR Software is not affected by the vulnerability that is disclosed in this advisory.
-
The Cisco Product Security Incident Response Team (PSIRT) is not aware of any public announcements or malicious use of the vulnerability that is described in this advisory.
This vulnerability was discovered as part of internal vulnerability testing.
-
To learn about Cisco security vulnerability disclosure policies and publications, see the Security Vulnerability Policy. This document also contains instructions for obtaining fixed software and receiving security vulnerability information from Cisco.
-
Revision 1.1 2013-April-11 Changed bundle first fix release data for 15.1SG. Revision 1.0 2013-March-27 Initial public release.
-
THIS DOCUMENT IS PROVIDED ON AN "AS IS" BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME.
A stand-alone copy or paraphrase of the text of this document that omits the distribution URL is an uncontrolled copy, and may lack important information or contain factual errors. The information in this document is intended for end-users of Cisco products.