CVE DatabaseCVE-2016-6367
한국어 권고문 →
CVE-2016-63677.8/HIGHCISA KEVCWE-77CWE-77

Cisco ASA CLI Command Injection and Privilege Escalation Vulnerability (CVE-2016-6367, EPICBANANA)

⚡ Jump to Patch
Affected Vendors
cisco
Affected Components
adaptive security appliance software, asa 5500, asa 5500-x, pix, fwsm
Published Date
2016-08-18
CVSS v3.1
7.8
HIGH
EPSS (30d)
22.6%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Cisco ASA Software prior to version 8.4(1) running on ASA 5500, ASA 5500-X, PIX, and FWSM devices

Impact

Local authenticated attackers can execute invalid CLI commands to bypass access controls, escalate privileges to root, and fully compromise the device

Mitigation

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

Cisco ASA Software versions prior to 8.4(1) on ASA 5500, ASA 5500-X, PIX, and FWSM platforms

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. 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.

bash
# 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
reload

2. Temporary Workaround & Hardening Configuration

If an immediate upgrade is not feasible, restrict CLI access to trusted administrative hosts and enforce robust AAA authentication.

bash
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 ssh

3. Log Audit & IoC Verification Commands

Verify the current software version and inspect system logs for unauthorized CLI commands or unexpected crashes.

bash
# 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)
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
As this vulnerability is actively exploited and listed in the CISA KEV, immediately upgrade your Cisco ASA Software to a patched version.

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.

90% Attack Surface Reduction · Hardware-Free

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

Frequently Asked SecOps Questions (CVE-2016-6367)

FAQ

Q1. 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.

SECOPS WORKBENCH INTEGRATION

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.

Generate Report →

🔗 Related Advisories in Similar Stack (cisco)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2016-6367 Cisco ASA CLI Command Injection and Privilege Escalation Vulnerability (CVE-2016-6367, EPICBANANA) (CVSS 7.8) - Patch & Workaround | CVE Pulse