Advisory Details

February 4th, 2021

Cisco Multiple Routers DNIAPI Directory Traversal Arbitrary File Creation Vulnerability

ZDI-21-135
ZDI-CAN-11716

CVE ID CVE-2021-1297
CVSS SCORE 8.8, AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Cisco
AFFECTED PRODUCTS Multiple Routers
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to create arbitrary files on affected installations of Cisco RV16x and RV26x routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the web service, which listens on TCP port 443 by default. When parsing the filename parameter, the process does not properly validate a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to create files in the context of root.

ADDITIONAL DETAILS 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-rv160-260-filewrite-7x9mnKjn
DISCLOSURE TIMELINE
  • 2020-10-23 - Vulnerability reported to vendor
  • 2021-02-04 - Coordinated public release of advisory
CREDIT T Shiomitsu
BACK TO ADVISORIES