Rapid7 Vulnerability & Exploit Database

Cisco Data Center Network Manager Unauthenticated Remote Code Execution

Back to Search

Cisco Data Center Network Manager Unauthenticated Remote Code Execution



DCNM exposes a file upload servlet (FileUploadServlet) at /fm/fileUpload. An authenticated user can abuse this servlet to upload a WAR to the Apache Tomcat webapps directory and achieve remote code execution as root. This module exploits two other vulnerabilities, CVE-2019-1619 for authentication bypass on versions 10.4(2) and below, and CVE-2019-1622 (information disclosure) to obtain the correct directory for the WAR file upload. This module was tested on the DCNM Linux virtual appliance 10.4(2), 11.0(1) and 11.1(1), and should work on a few versions below 10.4(2). Only version 11.0(1) requires authentication to exploit (see References to understand why).


  • Pedro Ribeiro <pedrib@gmail.com>






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/multi/http/cisco_dcnm_upload_2019
msf exploit(cisco_dcnm_upload_2019) > show targets
msf exploit(cisco_dcnm_upload_2019) > set TARGET < target-id >
msf exploit(cisco_dcnm_upload_2019) > show options
    ...show and set options...
msf exploit(cisco_dcnm_upload_2019) > 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