# CVE-2024-20358: A vulnerability in the Cisco Adaptive Security Appliance (ASA) restore functionality that is available in C…

- Vendor: Cisco, Cisco Secure Firewall Adaptive Security Appliance (ASA) Software, Cisco Secure Firewall Threat Defense (FTD) Software
- Severity: MEDIUM (CVSS 3.1 6)
- Exploited (CISA KEV): not listed
- EPSS: 0.7% on 2026-11-23
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: cisco-sa-asaftd-cmd-inj-ZJV8Wysm, https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-cmd-inj-ZJV8Wysm
- Published: 2024-04-24; updated: 2026-03-04
- Page: https://patchtonight.com/cve/CVE-2024-20358/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.8 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.12 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.14 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.16 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.17 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.18 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.19 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.20 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.22 | See the advisory |
| Cisco Secure Firewall Adaptive Security Appliance (ASA) Software 9.23 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 6.2 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 6.6 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 6.4 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 7.0 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 7.1 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 7.2 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 7.3 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 7.4 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 7.6 | See the advisory |
| Cisco Secure Firewall Threat Defense (FTD) Software 7.7 | See the advisory |

## The vendor's description

A vulnerability in the Cisco Adaptive Security Appliance (ASA) restore functionality that is available in Cisco ASA Software and Cisco Firepower Threat Defense (FTD) Software could allow an authenticated, local attacker to execute arbitrary commands on the underlying operating system with root-level privileges. Administrator-level privileges are required to exploit this vulnerability. 

 This vulnerability exists because the contents of a backup file are improperly sanitized at restore time. An attacker could exploit this vulnerability by restoring a crafted backup file to an affected device. A successful exploit could allow the attacker to execute arbitrary commands on the underlying Linux operating system as root.

## Sources

- [Cisco advisory](https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-cmd-inj-ZJV8Wysm)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
