SRC-2020-0005 : Cisco Data Center Network Manager ConfigTemplateHandler getConfigTemplateJobInstance SQL Injection Remote Code Execution Vulnerability

CVE ID:

CVE-2019-15984

CVSS Score:

8.8, (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

Affected Vendors:

Cisco

Affected Products:

Data Center Network Manager

Vulnerability Details:

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Cisco Data Center Network Manager. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the processing of requests to the fm/fmrest/lanConfig/deleteCredentials endpoint. When parsing the switchIds parameter, the process does not properly validate a user-supplied string before using it to construct SQL queries. An attacker can leverage this vulnerability to execute code in the context of SYSTEM.

Vendor Response:

Cisco has issued an update to correct this vulnerability. More details can be found at:
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20200102-dcnm-sql-inject

Disclosure Timeline:

  • 2019-08-29 – Verified and acquired by iDefense
  • 2020-01-03 – Coordinated public release of advisory

Credit:

This vulnerability was discovered by Steven Seeley (mr_me) of Source Incite

Acknowledgments:

Source Incite would like to acknowledge iDefense's Vulnerability Contributor Program for the help with co-ordination of this vulnerability.