CVE-2022-20829 Code injection in Cisco Adaptive Security Appliance (ASA) Software

Critical 9.1 Published Updated

An authenticated admin can upload a malicious ASDM image to execute arbitrary code on the client machine of a targeted user.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-20829?

CVE-2022-20829 is a critical code injection vulnerability in Cisco Adaptive Security Appliance (ASA) Software, published on 24 Jun 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability in the packaging of Cisco Adaptive Security Device Manager (ASDM) images and the validation of those images by Cisco Adaptive Security Appliance (ASA) Software could allow an authenticated, remote attacker with administrative privileges to upload an ASDM image that contains malicious code to a device that is running Cisco ASA Software. This vulnerability is due to insufficient validation of the authenticity of an ASDM image during its installation on a device that is running Cisco ASA Software. An attacker could exploit this vulnerability by installing a crafted ASDM image on the device that is running Cisco ASA Software and then waiting for a targeted user to access that device using ASDM. A successful exploit could allow the attacker to execute arbitrary code on the machine of the targeted user with the privileges of that user on that machine. Notes: To successfully exploit this vulnerability, the attacker must have administrative privileges on the device that is running Cisco ASA Software. Potential targets are limited to users who manage the same device that is running Cisco ASA Software using ASDM. Cisco has released and will release software updates that address this vulnerability.

Weakness: CWE-345

Which versions are affected by CVE-2022-20829?

It affects 5 products.

Products include Cisco Adaptive Security Device Manager, Cisco Asa 5512-X Firmware, Cisco Asa 5515-X Firmware, Cisco Asa 5585-X Firmware, Cisco Isa 3000 Firmware.

How do I fix CVE-2022-20829?

No fix has been published for CVE-2022-20829 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-20829 being exploited?

There is no known exploitation of CVE-2022-20829 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-qq3x-ppcw-6fmq.

Is CVE-2022-20829 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free