Patchfirst
CVE-2024-20399 KEVPublic exploit Medium · 6.7 EPSS 4.3%

Cisco NX-OS Command Injection Vulnerability

Cisco · NX-OS

Summary

The flaw is a command injection vulnerability in the CLI of Cisco NX-OS Software, caused by insufficient validation of arguments passed to certain configuration CLI commands. An attacker who holds Administrator credentials on an affected device can use crafted input in those commands to run arbitrary commands as root on the underlying operating system; the attack requires local access to the CLI and no user interaction.

Official description · NVD

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

Breakdown
73.7 / 100
Exploited
Yes, in CISA KEV
Reports
3
Tactics
5/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited the day it was disclosed. Public exploit code (PoC-in-GitHub) appeared 24 months after disclosure.

  1. First dated threat reportsygnia.co21 mo before
  2. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0
  3. Added to CISA KEVEU database agrees+1 day
  4. Public exploit codePoC-in-GitHub+24 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order 2

Initial AccessTA0001

Valid Accounts T1078 also Persistence, Privilege Escalation, Stealth
MITRE CTID mapping of the KEV entry · how it is exploited

This vulnerability is exploited by an attacker who has access to administrator credentials. The adversary leverages these credentials to execute arbitrary commands using root privileges.

ExecutionTA0002

MITRE CTID mapping of the KEV entry · primary impact

Detection

0 rules for this CVE · 151 general rules for its techniques

Rules for this CVE

0 that reference CVE-2024-20399 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 3 threat reports
3 reportssygnia.co2Cisco TalosOct 2022 – Feb 2025

Reports are matched by finding the exact id CVE-2024-20399 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (1 duplicate merged)
↑ ↓ chooseEnter openEsc close