Advisory Details

February 22nd, 2022

(Pwn2Own) Cisco RV340 NGINX Improper Authentication Unrestricted File Upload Vulnerability

ZDI-22-415
ZDI-CAN-15848

CVE ID CVE-2022-20705
CVSS SCORE 6.5, AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
AFFECTED VENDORS Cisco
AFFECTED PRODUCTS RV340
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to create arbitrary files on affected installations of Cisco RV340 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the configuration of the NGINX web server. When parsing the Authorization request header, the server does not properly validate user-supplied data, which can allow the upload of arbitrary files. An attacker can leverage this vulnerability to create files in the context of the www-data user.

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-smb-mult-vuln-KA9PK6D
DISCLOSURE TIMELINE
  • 2022-01-26 - Vulnerability reported to vendor
  • 2022-02-22 - Coordinated public release of advisory
CREDIT Q. Kaiser from IoT Inspector Research Lab
BACK TO ADVISORIES