Skip to main content
Vulnerability Database/CVE-2024-20384

CVE-2024-20384: Cisco ASA Software ACL Bypass Vulnerability

CVE-2024-20384 is an authentication bypass flaw in Cisco Adaptive Security Appliance Software that allows attackers to bypass ACL rules and permit unauthorized traffic. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-20384 Overview

CVE-2024-20384 is an access control bypass vulnerability in the Network Service Group (NSG) feature of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software. An unauthenticated, remote attacker can bypass a configured access control list (ACL) and send traffic that should be denied through the affected device. The flaw stems from a logic error that occurs when NSG ACLs are populated on the device. Exploitation requires only the ability to establish a connection to the appliance. The weakness is categorized under CWE-290: Authentication Bypass by Spoofing.

Critical Impact

Attackers can route denied traffic through Cisco ASA and FTD firewalls, undermining perimeter segmentation and policy enforcement.

Affected Products

  • Cisco Adaptive Security Appliance (ASA) Software releases 9.16 through 9.20
  • Cisco Secure Firewall Threat Defense (FTD) Software releases 7.0 through 7.4
  • Firewall platforms running the Network Service Group (NSG) feature with ACL enforcement

Discovery Timeline

  • 2024-10-23 - CVE-2024-20384 published to NVD
  • 2026-08-11 - Last updated in NVD database

Technical Details for CVE-2024-20384

Vulnerability Analysis

The vulnerability resides in the Network Service Group feature used by Cisco ASA and FTD to group network services for policy evaluation. When NSG-based ACLs are compiled and applied on the device, a logic error causes certain entries to be processed incorrectly. The result is that traffic matching rules intended to be denied is instead permitted to traverse the firewall. Because the flaw is in the policy evaluation path, no authentication or user interaction is required. An attacker only needs network reachability to the affected appliance to attempt traffic that would normally be blocked.

Root Cause

The root cause is a logic defect in how NSG ACL entries are populated on the data plane. The condition typically arises when access policies reference network service groups, resulting in a mismatch between the configured policy and the compiled rule set that is actively enforced. Administrators observing their configuration see denial rules, while the device's runtime enforcement does not consistently honor them.

Attack Vector

Exploitation is performed over the network against a Cisco ASA or FTD appliance that uses NSG-based access control. The attacker establishes a connection to the device and sends traffic that should match a deny rule. If the NSG ACL population logic has failed for the targeted rule, the traffic is forwarded rather than dropped. No credentials, privileges, or victim interaction are required. The practical impact depends on the ACLs defined on the device, including exposure of segmented networks, management interfaces, or downstream services that administrators expected to be blocked at the firewall.

No public proof-of-concept code is available for this issue. See the Cisco Security Advisory on NSGACL Bypass for Cisco's technical description.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2024-20384

Indicators of Compromise

  • Connection logs showing accepted traffic that matches a configured deny ACE within a network service group
  • Flow records indicating sessions reaching internal hosts or services that firewall policy should block
  • Discrepancies between show access-list hit counters and expected deny counts for NSG-referenced rules

Detection Strategies

  • Audit effective policy by comparing configured NSG ACLs against actual packet-tracer and show asp drop output on representative flows
  • Correlate NetFlow or NSEL exports with intended firewall policy to identify traffic that bypassed deny rules
  • Baseline east-west and north-south flows at monitored segmentation boundaries to spot unexpected permitted sessions

Monitoring Recommendations

  • Enable syslog at an appropriate level and forward ASA/FTD events to a centralized analytics platform for policy-violation hunting
  • Alert on new or unexpected destination ports and IPs behind the firewall that should be denied by policy
  • Periodically re-apply or re-compile NSG-based ACLs and verify hit counts against test traffic

How to Mitigate CVE-2024-20384

Immediate Actions Required

  • Inventory ASA and FTD devices using Network Service Groups in access control policies and prioritize them for patching
  • Apply the fixed Cisco ASA or FTD release listed in the Cisco advisory for your platform and train
  • Validate enforcement after patching by running packet-tracer tests against representative deny rules that reference NSGs

Patch Information

Cisco has published fixed software releases in the Cisco Security Advisory on NSGACL Bypass. Administrators should consult the advisory's Fixed Software section to select the appropriate upgrade path for their current ASA or FTD release and verify entitlements before upgrading.

Workarounds

  • Cisco has not published a configuration workaround; rewriting policies to avoid network service group references may reduce exposure but is not a vendor-sanctioned fix
  • Add compensating controls such as upstream or downstream ACLs on routers and switches to enforce segmentation independently of the ASA/FTD NSG logic
  • Restrict management-plane and sensitive data-plane reachability using out-of-band controls until the fixed software is deployed
bash
# Verify effective enforcement of an NSG-referenced ACL on Cisco ASA/FTD
show running-config access-list
show access-list | include elements
packet-tracer input <ingress_if> tcp <src_ip> 1234 <dst_ip> <dst_port> detailed
show asp drop

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.