CVE-2024-20358 Command injection in Cisco Secure Firewall Adaptive Security Appliance (ASA) Software
An authenticated local administrator can execute arbitrary root commands on Cisco ASA/FTD devices by restoring a malicious backup file.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-20358?
CVE-2024-20358 is a medium-severity command injection vulnerability in Cisco Adaptive Security Appliance Software, published on 24 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2024-20358?
It affects 2 products.
Products include Cisco Adaptive Security Appliance Software, Cisco Secure Firewall Threat Defense.
How do I fix CVE-2024-20358?
No fix has been published for CVE-2024-20358 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-20358 being exploited?
There is no known exploitation of CVE-2024-20358 in the wild and no public exploit code.
Other vulnerabilities in Cisco Adaptive Security Appliance Software
- CVE-2025-20333 Cisco Secure Firewall Adaptive Security Appliance (ASA) and Secure Firewall Threat Defense (FTD) Buffer Overflow
- CVE-2016-6366 Cisco Adaptive Security Appliance (ASA) SNMP Buffer Overflow
- CVE-2026-20349 Cisco Secure Firewall Adaptive Security Appliance (ASA) and Secure Firewall Threat Defense (FTD) Heap Inspection
- CVE-2024-20353 Cisco ASA and FTD Denial of Service
- CVE-2016-6367 Cisco Adaptive Security Appliance (ASA) CLI Remote Code Execution
All Cisco Adaptive Security Appliance Software vulnerabilities
Sources
Also known as GHSA-x299-q796-x4w4.