Vulnerabilities > CVE-2020-3303 - Resource Exhaustion vulnerability in Cisco Adaptive Security Appliance
Summary
A vulnerability in the Internet Key Exchange version 1 (IKEv1) feature of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition. The vulnerability is due to improper management of system memory. An attacker could exploit this vulnerability by sending malicious IKEv1 traffic to an affected device. A successful exploit could allow the attacker to cause a DoS condition on the affected device.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- XML Ping of the Death An attacker initiates a resource depletion attack where a large number of small XML messages are delivered at a sufficiently rapid rate to cause a denial of service or crash of the target. Transactions such as repetitive SOAP transactions can deplete resources faster than a simple flooding attack because of the additional resources used by the SOAP protocol and the resources necessary to process SOAP messages. The transactions used are immaterial as long as they cause resource utilization on the target. In other words, this is a normal flooding attack augmented by using messages that will require extra processing on the target.
- XML Entity Expansion An attacker submits an XML document to a target application where the XML document uses nested entity expansion to produce an excessively large output XML. XML allows the definition of macro-like structures that can be used to simplify the creation of complex structures. However, this capability can be abused to create excessive demands on a processor's CPU and memory. A small number of nested expansions can result in an exponential growth in demands on memory.
- Inducing Account Lockout An attacker leverages the security functionality of the system aimed at thwarting potential attacks to launch a denial of service attack against a legitimate system user. Many systems, for instance, implement a password throttling mechanism that locks an account after a certain number of incorrect log in attempts. An attacker can leverage this throttling mechanism to lock a legitimate user out of their own account. The weakness that is being leveraged by an attacker is the very security feature that has been put in place to counteract attacks.
- Violating Implicit Assumptions Regarding XML Content (aka XML Denial of Service (XDoS)) XML Denial of Service (XDoS) can be applied to any technology that utilizes XML data. This is, of course, most distributed systems technology including Java, .Net, databases, and so on. XDoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious XML payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. The main weakness in XDoS is that the service provider generally must inspect, parse, and validate the XML messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that XDoS targets. There are three primary attack vectors that XDoS can navigate Target CPU through recursion: attacker creates a recursive payload and sends to service provider Target memory through jumbo payloads: service provider uses DOM to parse XML. DOM creates in memory representation of XML document, but when document is very large (for example, north of 1 Gb) service provider host may exhaust memory trying to build memory objects. XML Ping of death: attack service provider with numerous small files that clog the system. All of the above attacks exploit the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends.
Nessus
NASL family CISCO NASL id CISCO-SA-ASA-DOS-BQYFRJT9-ASA.NASL description A vulnerability exists in the Internet Key Exchange version 1 (IKEv1) feature of Cisco Adaptive Security Appliance (ASA) Software due to improper management of system memory. An unauthenticated, remote attacker can exploit this, by sending malicious IKEv1 traffic to an affected device, in order to cause a denial of service (DoS) condition. Please see the included Cisco BIDs and Cisco Security Advisory for more information. Note that Nessus has not tested for this issue but has instead relied only on the application last seen 2020-05-22 modified 2020-05-14 plugin id 136588 published 2020-05-14 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/136588 title Cisco Adaptive Security Appliance Software IKEv1 DoS (cisco-sa-asa-dos-BqYFRJt9) code #TRUSTED 04db22cee9d4dc99bc81deef37dfe6839ebb00b5facb74e52f406669f9a9ab5317006159ae5728f14c1d6102eb4822130608e3721041b8ceeb19ce335e2f05e354417422aa9a73d550827df4c86293cac4314b0be03c87d567e6375f1bd6bbdafc64efce89725a0891902db3e4c49eb191a8a423dbff43b95820e77cd2f945604b958919ce0eaeaef676561ae22321e04bb123fb09793385fb4221d832730ffe1586b1581aeb3d0907d1a236378973224a384d12d4fb12bdd1f44874e5969115cf2128aaba372264e1eb5fb1bca0b4119b809ac70e0e18e99fe8fb6a6ab2a1bc55e0a83dfc4566299d2bea4348d1f5229db8dbde1386a7d358da4509835a1a027656fbdcf02fe5b00bb18d21c8f4f48dc9161dd41648324b96185096bbd3891400bedd4835b4ae156466c576c0ec109cbb4900e1a2594b8c8709dbe2664140a1e0e1da768134cb60b7b8cea23890f009c465c27932fcb35116a35b7a36caa5119af6d815a9f93e3dc4d10510fe8b9cd1cc965f82ae6d9c2626d7901b49c3e8789a3518308d0ee20ae99f33879bb4802af1284f503555a1a98d73813fc879c25082bd48c6ff474af802cecbf72315ed0f7bc0747c1b30bb12efe73b55cd5d8a3aac651d1307219080e8e4aa3b10a4a98166d9b286b39b81e55036a1bfb6b6a51935cf10d854db7b2d6fd2b5abf8fc591d06e83ac70304ac910366979f6f117bc5 # # (C) Tenable Network Security, Inc. # include('compat.inc'); if (description) { script_id(136588); script_version("1.6"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/21"); script_cve_id("CVE-2020-3303"); script_xref(name:"CISCO-BUG-ID", value:"CSCvq66080"); script_xref(name:"CISCO-SA", value:"cisco-sa-asa-dos-BqYFRJt9"); script_xref(name:"IAVA", value:"2020-A-0205"); script_name(english:"Cisco Adaptive Security Appliance Software IKEv1 DoS (cisco-sa-asa-dos-BqYFRJt9)"); script_set_attribute(attribute:"synopsis", value: "The remote device is missing a vendor-supplied security patch"); script_set_attribute(attribute:"description", value: "A vulnerability exists in the Internet Key Exchange version 1 (IKEv1) feature of Cisco Adaptive Security Appliance (ASA) Software due to improper management of system memory. An unauthenticated, remote attacker can exploit this, by sending malicious IKEv1 traffic to an affected device, in order to cause a denial of service (DoS) condition. Please see the included Cisco BIDs and Cisco Security Advisory for more information. Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number."); # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asa-dos-BqYFRJt9 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?24d5d1c3"); script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvq66080"); script_set_attribute(attribute:"solution", value: "Upgrade to the relevant fixed version referenced in the Cisco Security Advisory"); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-3303"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"vuln_publication_date", value:"2020/05/06"); script_set_attribute(attribute:"patch_publication_date", value:"2020/05/06"); script_set_attribute(attribute:"plugin_publication_date", value:"2020/05/14"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:cisco:adaptive_security_appliance_software"); script_set_attribute(attribute:"stig_severity", value:"I"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"CISCO"); script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("ssh_get_info.nasl", "os_fingerprint.nasl"); script_require_keys("Host/Cisco/ASA"); exit(0); } include('cisco_workarounds.inc'); include('ccf.inc'); product_info = cisco::get_product_info(name:'Cisco Adaptive Security Appliance (ASA) Software'); vuln_ranges = [ {'min_ver' : '0.0', 'fix_ver': '9.6.4.36'}, {'min_ver' : '9.7', 'fix_ver': '9.8.4.10'}, {'min_ver' : '9.9', 'fix_ver': '9.10.1.30'}, {'min_ver' : '9.11', 'fix_ver': '9.12.2.9'} ]; workarounds = make_list(CISCO_WORKAROUNDS['no_workaround']); reporting = make_array( 'port' , 0, 'severity' , SECURITY_HOLE, 'version' , product_info['version'], 'bug_id' , 'CSCvq66080' ); cisco::check_and_report( product_info:product_info, workarounds:workarounds, reporting:reporting, vuln_ranges:vuln_ranges );
NASL family CISCO NASL id CISCO-SA-ASA-DOS-BQYFRJT9-FTD.NASL description A vulnerability exists in the Internet Key Exchange version 1 (IKEv1) feature of Cisco Firepower Threat Defense (FTD) Software due to improper management of system memory. An unauthenticated, remote attacker can exploit this, by sending malicious IKEv1 traffic to an affected device, in order to cause a denial of service (DoS) condition. Please see the included Cisco BIDs and Cisco Security Advisory for more information. Note that Nessus has not tested for this issue but has instead relied only on the application last seen 2020-05-22 modified 2020-05-14 plugin id 136589 published 2020-05-14 reporter This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/136589 title Cisco Firepower Threat Defense Software IKEv1 DoS (cisco-sa-asa-dos-BqYFRJt9)