Exploit database

Vulnerability

CVE-2019-1620

Cisco Data Center Network Manager Arbitrary File Upload and Remote Code Execution Vulnerability

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.0 · cisco

Vector string

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

A vulnerability in the web-based management interface of Cisco Data Center Network Manager (DCNM) could allow an unauthenticated, remote attacker to upload arbitrary files on an affected device. The vulnerability is due to incorrect permission settings in affected DCNM software. An attacker could exploit this vulnerability by uploading specially crafted data to the affected device. A successful exploit could allow the attacker to write arbitrary files on the filesystem and execute code with root privileges on the affected device.

CVE Program

Exploit source choices

2 sources
Cisco Data Center Network Manager Unauthenticated Remote Code Execution
MSF-multi--http--cisco_dcnm_upload_2019MetasploitJava / remote

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).

2019-06-26cisco_dcnm_upload_2019.rb