CVE-2024-20399Cisco NX-OS Software CLI Command Injection Vulnerability
Known exploited — Cisco NX-OS Command Injection Vulnerability
CISA confirmed this vulnerability is used in real attacks on 02.07.2024. Remediation deadline for US federal agencies: 23.07.2024.
Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-cmd-injection-xD9OhyOP; https://nvd.nist.gov/vuln/detail/CVE-2024-20399
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
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Cisco | Cisco NX-OS Software | 8.2(5), 7.3(6)N1(1a), 7.3(5)D1(1), 8.4(2), 7.3(6)N1(1), 6.2(2), 8.4(3), 9.2(3), 7.0(3)I5(2), 8.2(1), 6.0(2)A8(7a), 7.0(3)I4(5), 6.0(2)A6(1), 7.3(1)D1(1), 6.2(14a), 7.0(3)I4(6), 7.3(4)N1(1), 7.0(3)I4(3), 9.2(2v), 6.0(2)A6(5b), 7.3(0)D1(1), 6.2(17a), 7.0(3)I4(7), 6.0(2)U6(1a), 7.1(5)N1(1b), 7.0(3)I4(1), 7.0(3)I4(8), 7.0(3)I4(2), 7.1(4)N1(1c), 7.0(3)IM3(1), 6.0(2)U6(5a), 6.0(2)A8(11), 6.0(2)A6(4a), 6.2(9), 6.2(5), 7.3(4)D1(1), 6.2(20), 9.2(1), 9.2(2t), 9.2(3y), 7.0(3)I4(1t), 6.0(2)U6(5c), 6.0(2)A6(4), 7.0(3)I7(6z), 9.3(2), 7.3(1)DY(1), 7.0(3)F3(3), 6.0(2)U6(6), 6.2(29), 7.0(3)I7(3z), 7.0(3)IM7(2) | |
| cisco | nx-os | 6.0\(2\)a6\(1\), 6.0\(2\)A6\(1a\), 6.0\(2\)A6\(2\), 6.0\(2\)A6\(2a\), 6.0\(2\)A6\(3\), 6.0\(2\)A6\(3a\), 6.0\(2\)A6\(4\), 6.0\(2\)A6\(4a\), 6.0\(2\)A6\(5a\), 6.0\(2\)A6\(5b\), 6.0\(2\)A6\(6\), 6.0\(2\)A6\(7\), 6.0\(2\)A6\(8\), 6.0\(2\)A8\(1\), 6.0\(2\)A8\(2\), 6.0\(2\)A8\(3\), 6.0\(2\)A8\(4\), 6.0\(2\)A8\(4a\), 6.0\(2\)A8\(5\), 6.0\(2\)A8\(6\), 6.0\(2\)A8\(7\), 6.0\(2\)A8\(7a\), 6.0\(2\)A8\(7b\), 6.0\(2\)A8\(8\), 6.0\(2\)A8\(9\), 6.0\(2\)A8\(10a\), 6.0\(2\)A8\(10\), 6.0\(2\)A8\(11\), 6.0\(2\)A8\(11a\), 6.0\(2\)A8\(11b\), 6.0\(2\)U6\(1\), 6.0\(2\)U6\(2\), 6.0\(2\)U6\(3\), 6.0\(2\)U6\(4\), 6.0\( |
References and patches
- cisco-sa-nxos-cmd-injection-xD9OhyOP Vendor Advisory
- https://www.sygnia.co/threat-reports-and-advisories/china-nexus-threat-group-velvet-ant-exploits-cisco-0-day/ Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-20399 US Government Resource
CPE matches (NVD) (60)
cpe:2.3:o:cisco:nx-os:6.2\(2\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(2a\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(6\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(6a\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(6b\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(8\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(8a\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(8b\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(10\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(12\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(14\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(16\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(18\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(20\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(20a\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(22\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(24\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:6.2\(24a\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:7.2\(0\)d1\(1\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:7.2\(1\)d1\(1\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:7.2\(2\)d1\(1\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:7.2\(2\)d1\(2\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:7.3\(0\)d1\(1\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:7.3\(0\)dx\(1\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:7.3\(1\)d1\(1\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-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pe:2.3:o:cisco:nx-os:8.2\(9\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.2\(10\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.2\(11\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.3\(1\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.3\(2\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.4\(1\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.4\(2\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.4\(3\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.4\(4\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.4\(4a\):*:*:*:*:*:*:*cpe:2.3:o:cisco:nx-os:8.4\(5\):*:*:*:*:*:*:*