CVE-2024-20399 Cisco NX-OS Command Injection

Exploited in the wild Medium 6.0 Published Updated

Authenticated administrators can execute arbitrary root commands on Cisco NX-OS devices via insufficient CLI argument validation.

Exploited in the wild
Since 2 Jul 2024
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-20399?

CVE-2024-20399 is a medium-severity command injection vulnerability in Cisco Nx-Os, published on 1 Jul 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 CLI of Cisco NX-OS Software could allow an authenticated user in possession of Administrator credentials to execute arbitrary commands as root on the underlying operating system of an affected device. This vulnerability is due to insufficient validation of arguments that are passed to specific configuration CLI commands. An attacker could exploit this vulnerability by including crafted input as the argument of an affected configuration CLI command. A successful exploit could allow the attacker to execute arbitrary commands on the underlying operating system with the privileges of root. Note: To successfully exploit this vulnerability on a Cisco NX-OS device, an attacker must have Administrator credentials. The following Cisco devices already allow administrative users to access the underlying operating system through the bash-shell feature, so, for these devices, this vulnerability does not grant any additional privileges: Nexus 3000 Series Switches Nexus 7000 Series Switches that are running Cisco NX-OS Software releases 8.1(1) and later Nexus 9000 Series Switches in standalone NX-OS mode

Weakness: CWE-78

Which versions are affected by CVE-2024-20399?

It affects 1 product.

Products include Cisco Nx-Os.

How do I fix CVE-2024-20399?

No fix has been published for CVE-2024-20399 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 23 Jul 2024.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-20399 being exploited?

Yes. Attackers have exploited CVE-2024-20399 in the wild since at least 2 Jul 2024.

Public exploit code: 1 proofs of concept on GitHub.

All Cisco Nx-Os vulnerabilities

Sources

Also known as GHSA-428g-3m2x-46jh.

Is CVE-2024-20399 in your software?

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

Check your SBOMs for free