Rapid7 Vulnerability & Exploit Database

Cisco UCS Director Unauthenticated Remote Code Execution

Back to Search

Cisco UCS Director Unauthenticated Remote Code Execution

Disclosed
08/21/2019
Created
09/02/2019

Description

The Cisco UCS Director virtual appliance contains two flaws that can be combined and abused by an attacker to achieve remote code execution as root. The first one, CVE-2019-1937, is an authentication bypass, that allows the attacker to authenticate as an administrator. The second one, CVE-2019-1936, is a command injection in a password change form, that allows the attacker to inject commands that will execute as root. This module combines both vulnerabilities to achieve the unauthenticated command injection as root. It has been tested with Cisco UCS Director virtual machines 6.6.0 and 6.7.0. Note that Cisco also mentions in their advisory that their IMC Supervisor and UCS Director Express are also affected by these vulnerabilities, but this module was not tested with those products.

Author(s)

  • Pedro Ribeiro <pedrib@gmail.com>

Platform

Unix

Architectures

cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/cisco_ucs_rce
msf exploit(cisco_ucs_rce) > show targets
    ...targets...
msf exploit(cisco_ucs_rce) > set TARGET < target-id >
msf exploit(cisco_ucs_rce) > show options
    ...show and set options...
msf exploit(cisco_ucs_rce) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;