Cisco ASA CLI Command Injection and Privilege Escalation Vulnerability (CVE-2016-6367, EPICBANANA)
Executive & SecOps Summary
SECOPS ASSESSMENTCisco ASA Software prior to version 8.4(1) running on ASA 5500, ASA 5500-X, PIX, and FWSM devices
Local authenticated attackers can execute invalid CLI commands to bypass access controls, escalate privileges to root, and fully compromise the device
Upgrade Cisco ASA Software to version 8.4(1) or later, and restrict CLI access (SSH/Console) using strict AAA and firewall rules
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Official Patch & Version Upgrade Commands
Cisco recommends upgrading the ASA software to version 8.4(1) or later. Use the following commands to download the secure image via TFTP and update the boot path.
# Download the secure ASA image from your TFTP server
copy tftp://10.1.1.100/asa841-k8.bin flash:/asa841-k8.bin
# Configure the system to boot from the new image
no boot system disk0:/asaold.bin
boot system disk0:/asa841-k8.bin
# Save configuration and reload the device
write memory
reload2. Temporary Workaround & Hardening Configuration
If an immediate upgrade is not feasible, restrict CLI access to trusted administrative hosts and enforce robust AAA authentication.
config terminal
# Restrict SSH access to a specific management IP (e.g., 192.168.10.50)
no ssh 0.0.0.0 0.0.0.0 inside
ssh 192.168.10.50 255.255.255.255 inside
# Enforce local AAA authentication for SSH and console access
aaa authentication ssh console LOCAL
show running-config ssh3. Log Audit & IoC Verification Commands
Verify the current software version and inspect system logs for unauthorized CLI commands or unexpected crashes.
# Verify the running ASA software version
show version | include Software Version
# Check for recent system crashes or core dumps
show crashinfo
# Audit logs for invalid commands or unauthorized access attempts
show logging | include (AAA|invalid|unauthorized|command)Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access
Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.
Technical Root Cause & Exploitation Mechanics
1. Vulnerability Overview & Root Cause
This vulnerability (CVE-2016-6367, widely known as 'EPICBANANA') exists in the Command Line Interface (CLI) parser of Cisco Adaptive Security Appliance (ASA), PIX, and FWSM software. Due to insufficient validation of input parameters within specific CLI commands, the parser fails to handle invalid inputs correctly, leading to memory corruption or command injection. This allows an attacker with local access to execute arbitrary code with elevated privileges.
2. Exploitation Mechanics & Attack Scenario
To exploit this vulnerability, an attacker must first establish a valid local CLI session via SSH, Telnet, or the physical console port. Once authenticated with low-privilege access, the attacker inputs crafted, invalid CLI commands. The parser's failure to validate these inputs triggers a buffer overflow or memory corruption. The 'EPICBANANA' exploit tool, leaked by the Shadow Brokers, automates this process to inject a payload directly into memory, bypassing authentication checks and spawning a root-level shell.
3. Infrastructure & Business Impact
Cisco ASA appliances serve as critical perimeter security gateways and VPN concentrators for enterprise networks. A successful compromise of this device allows an attacker to disable firewall rules, intercept sensitive VPN traffic, and establish a persistent foothold. This effectively neutralizes the organization's perimeter defense, enabling unrestricted lateral movement across the internal network.
Official Vendor Advisories & References
Cisco Adaptive Security Appliance (ASA) Software before 8.4(1) on ASA 5500, ASA 5500-X, PIX, and FWSM devices allows local users to gain privileges via invalid CLI commands, aka Bug ID CSCtu74257 or EPICBANANA.
Frequently Asked SecOps Questions (CVE-2016-6367)
FAQQ1. How critical is CVE-2016-6367 and is it actively exploited in the wild?
CVE-2016-6367 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 22.6%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.
Q2. Which vendors and products are affected by CVE-2016-6367?
Primary impacted vendors include cisco across adaptive security appliance software, asa 5500, asa 5500-x, pix, fwsm. Scope summary: Cisco ASA Software versions prior to 8.4(1) on ASA 5500, ASA 5500-X, PIX, and FWSM platforms
Q3. What temporary mitigations or workarounds exist for CVE-2016-6367 before patching?
[Mitigation] Upgrade Cisco ASA Software to version 8.4(1) or later, and restrict CLI access (SSH/Console) using strict AAA and firewall rules Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.
Generate an Internal Engineering Notice or CISO Report for CVE-2016-6367
Instantly format this advisory into an executive CISO summary or engineering patch ticket.
🔗 Related Advisories in Similar Stack (cisco)
View Category →Cisco Identity Services Engine (ISE) Critical Authentication Bypass Vulnerability (CVE-2026-76460)
[Affected Scope] Cisco Identity Services Engine (ISE) web-based management interface and API endpoints.
Cisco Catalyst SD-WAN Peering Authentication Bypass Vulnerability (CVE-2026-20182)
[Affected Scope] Cisco Catalyst SD-WAN Controller (formerly vSmart), Manager (formerly vManage), and Validator (formerly vBond)
Cisco Secure Firewall Management Center (FMC) Insecure Deserialization Vulnerability (CVE-2026-20131, CVSS 10.0) - Remote Code Execution and Root Privilege Escalation
[Affected Scope] Web-based management interface of Cisco Secure Firewall Management Center (FMC) Software.
Cisco Secure Firewall Management Center (FMC) Authentication Bypass and Root RCE Vulnerability (CVE-2026-20079)
[Affected Scope] Web-based management interface of Cisco Secure Firewall Management Center (FMC) Software
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.