How to Fix CVE-2020-3452: input validation in Cisco Adaptive Security Appliance (ASA) Software
| Severity | 7.5 (High) |
|---|---|
| Actively exploited? | Yes, listed in CISA KEV (added 2021-11-03) |
| Affected | Cisco |
| Fixed in | See vendor advisory |
| Type (CWE) | CWE-20: improper input validation |
WARNING: This vulnerability is on the CISA Known Exploited Vulnerabilities catalog (added 2021-11-03). Federal civilian agencies must remediate by 2022-05-03. Treat it as active exploitation, not theoretical.
What is CVE-2020-3452?
A vulnerability in the web services interface of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to conduct directory traversal attacks and read sensitive files on a targeted system. The vulnerability is due to a lack of proper input validation of URLs in HTTP requests processed by an affected device. An attacker could exploit this vulnerability by sending a crafted HTTP request containing directory traversal character sequences to an affected device. A successful exploit could allow the attacker to view arbitrary files within the web services file system on the targeted device.
Am I affected?
From the device CLI, run the version check:
# Cisco IOS/IOS XE
show version | include Version
# FortiGate (FortiOS)
get system status
# Palo Alto (PAN-OS)
show system info | match sw-version
# Juniper (Junos)
show version
Compare what you see against the Affected row above (Cisco). If your build sits inside that range, the device is exposed and should be upgraded.
How to fix CVE-2020-3452
The primary fix is to upgrade Cisco Adaptive Security Appliance (ASA) Software to the patched build. Use the commands for your platform below; the patched version listed in the vendor advisory is: See vendor advisory.
Cisco IOS / IOS XE
# Vendor advisory: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-ro-path-KJuQhB86
enable
show version | include Version
copy running-config startup-config
copy tftp: flash:
! upload the patched image, then:
boot system flash:<patched-image>.bin
reload
Complete operator runbook (network appliance)
Run this from your management workstation (Linux/macOS or Windows with a TFTP server reachable). It shells into the device, backs up the running config, transfers the patched image, and reloads.
# Vendor advisory: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-ro-path-KJuQhB86
#!/usr/bin/env bash
# CVE-2020-3452 fix runbook for Cisco Cisco Adaptive Security Appliance (ASA) Software
# Target build: the patched build
set -euo pipefail
DEVICE="${1:?usage: $0 <device-ip> <patched-image-file> <tftp-server-ip>}"
IMAGE="${2:?patched image filename required}"
TFTP="${3:?tftp server ip required}"
LOG="/var/log/cve-2020-3452-$(date +%Y%m%d-%H%M%S).log"
echo "[1/4] Pulling current config from $DEVICE"
ssh admin@"$DEVICE" "show version" | tee -a "$LOG"
ssh admin@"$DEVICE" "copy running-config tftp://$TFTP/cve-2020-3452-pre.cfg"
echo "[2/4] Uploading patched image $IMAGE via TFTP"
ssh admin@"$DEVICE" "copy tftp://$TFTP/$IMAGE flash:$IMAGE" | tee -a "$LOG"
echo "[3/4] Setting boot image and reloading"
ssh admin@"$DEVICE" "configure terminal
boot system flash:$IMAGE
end
write memory
reload" | tee -a "$LOG"
echo "[4/4] Wait ~5 minutes, then verify"
sleep 300
ssh admin@"$DEVICE" "show version | include Version" | tee -a "$LOG"
echo "Compare reported version against the patched build"
If you can't patch immediately
If you cannot apply the patched version today, restrict exposure with one of the following runnable controls. None replace the patch.
Network appliance ACL
# Cisco IOS example: restrict management plane to a trusted subnet
configure terminal
access-list 99 permit 10.0.0.0 0.255.255.255
line vty 0 15
access-class 99 in
end
write memory
Service-level fallback
# If the affected feature is optional, stop the service until the patch is applied
sudo systemctl stop cisco
sudo systemctl disable cisco
How to verify the fix worked
# Linux
cisco --version 2>/dev/null || dpkg -s cisco | grep -i version
rpm -q cisco 2>/dev/null || true
# Windows
winget list | findstr /I "cisco"
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5
Expected: the reported version is at or above the patched build documented in the advisory. Restart any services that loaded the old library (systemctl restart <service> on Linux, restart the Windows service or reboot when prompted). For network appliances, run show version on the device and confirm the build matches the patched release.
Frequently asked questions
Related fixes
Other vulnerabilities in the same area that are worth patching alongside this one:
- How to Fix CVE-2020-3153: Security Vulnerability in Cisco Anyconnect Secure Mobility Client — Security Vulnerability in Cisco Anyconnect Secure Mobility Client
- How to Fix CVE-2020-3433: Security Vulnerability in Cisco Anyconnect Secure Mobility Client — Security Vulnerability in Cisco Anyconnect Secure Mobility Client
- How to Fix CVE-2020-3259: Security Vulnerability in Cisco Adaptive Security Appliance (Asa) Software , Security Vulnerability in Cisco Adaptive Security Appliance (Asa) Software
- How to Fix CVE-2020-3161: Improper Input Validation in Cisco IP phone , Improper Input Validation in Cisco IP phone
- How to Fix CVE-2020-3580: Cross-Site Scripting in Cisco Adaptive Security Appliance (ASA) Software , Cross-Site Scripting in Cisco Adaptive Security Appliance (ASA) Software
Is CVE-2020-3452 actually being exploited?
According to the data sources above, yes, CISA has it listed as actively exploited. Either way, the fix is the same: apply the vendor patch.
Do I need to reboot after patching?
For OS or kernel updates, yes. For most userland packages a systemctl restart <service> is enough. Any process that loaded the old shared library keeps using it until restarted, so when in doubt, reboot.
What is the CVSS score?
7.5 (high). Refer to the vendor advisory for the exact vector string.
Where is the official advisory?
See the References section at the bottom of this page; the vendor's URL is the authoritative source for affected builds and patched versions.
References
- Official vendor advisory: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-ro-path-KJuQhB86
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-3452
- CISA KEV catalog entry: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- http://packetstormsecurity.com/files/158646/Cisco-ASA-FTD-Remote-File-Disclosure.html
- http://packetstormsecurity.com/files/158647/Cisco-Adaptive-Security-Appliance-Software-9.11-Local-File-Inclusion.html
- http://packetstormsecurity.com/files/159523/Cisco-ASA-FTD-9.6.4.42-Path-Traversal.html
- http://packetstormsecurity.com/files/160497/Cisco-ASA-9.14.1.10-FTD-6.6.0.1-Path-Traversal.html
*Written by Sai Kiran Pandrala. Assembled from the official vendor advisory, NVD record, and CISA KEV listing on 2026-05-25. Always confirm against the vendor's advisory before applying changes in production.*