ID CVE-2019-1732
Summary A vulnerability in the Remote Package Manager (RPM) subsystem of Cisco NX-OS Software could allow an authenticated, local attacker with administrator credentials to leverage a time-of-check, time-of-use (TOCTOU) race condition to corrupt local variables, which could lead to arbitrary command injection. The vulnerability is due to the lack of a proper locking mechanism on critical variables that need to stay static until used. An attacker could exploit this vulnerability by authenticating to an affected device and issuing a set of RPM-related CLI commands. A successful exploit could allow the attacker to perform arbitrary command injection. The attacker would need administrator credentials for the targeted device.
References
Vulnerable Configurations
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4:*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4:*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(1\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(1\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(1t\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(1t\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(2\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(2\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(3\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(3\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(4\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(4\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(5\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(5\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(6\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(6\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(6t\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(6t\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(7\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(7\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(8\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(8\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(8a\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(8a\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(8b\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(8b\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(8z\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(8z\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(9\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i4\(9\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i5:*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i5:*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(1\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(1\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(2\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(2\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(3\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(3\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(3a\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(3a\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(3b\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i5\(3b\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i6\(1\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i6\(1\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i6\(2\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i6\(2\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i7:*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i7:*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i7\(1\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i7\(1\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i7\(2\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i7\(2\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i7\(3\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i7\(3\):*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx-os:7.0\(3\)i7\(3z\):*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx-os:7.0\(3\)i7\(3z\):*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3400:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3400:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3524-x:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3524-x:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_9200:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_9200:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_9500:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_9500:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3524-xl:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3524-xl:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3548-x:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3548-x:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3548-xl:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3548-xl:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_9000:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_9000:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3000:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3000:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3100:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3100:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3100-z:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3100-z:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3100v:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3100v:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3200:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3200:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3500:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3500:-:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_9300:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_9300:-:*:*:*:*:*:*:*
  • cpe:2.3:o:cisco:nx_os:*:*:*:*:*:*:*:*
    cpe:2.3:o:cisco:nx_os:*:*:*:*:*:*:*:*
  • cpe:2.3:h:cisco:nexus_3600:-:*:*:*:*:*:*:*
    cpe:2.3:h:cisco:nexus_3600:-:*:*:*:*:*:*:*
CVSS
Base: 6.9 (as of 03-11-2021 - 15:23)
Impact:
Exploitability:
CWE CWE-667
CAPEC
  • Leveraging Race Conditions via Symbolic Links
    This attack leverages the use of symbolic links (Symlinks) in order to write to sensitive files. An attacker can create a Symlink link to a target file not otherwise accessible to her. When the privileged program tries to create a temporary file with the same name as the Symlink link, it will actually write to the target file pointed to by the attackers' Symlink link. If the attacker can insert malicious content in the temporary file she will be writing to the sensitive file by using the Symlink. The race occurs because the system checks if the temporary file exists, then creates the file. The attacker would typically create the Symlink during the interval between the check and the creation of the temporary file.
  • Forced Deadlock
    The adversary triggers and exploits a deadlock condition in the target software to cause a denial of service. A deadlock can occur when two or more competing actions are waiting for each other to finish, and thus neither ever does. Deadlock conditions can be difficult to detect.
  • Leveraging Race Conditions
    The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with his version and cause the system to read the malicious file.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:M/Au:N/C:C/I:C/A:C
refmap via4
bid 108361
cisco 20190515 Cisco NX-OS Software Remote Package Manager Command Injection Vulnerability
Last major update 03-11-2021 - 15:23
Published 15-05-2019 - 17:29
Last modified 03-11-2021 - 15:23
Back to Top