Advisory Details

February 22nd, 2022

(Pwn2Own) Cisco RV340 JSON RPC file-copy Command Injection Local Privilege Escalation Vulnerability

ZDI-22-419
ZDI-CAN-15940

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

This vulnerability allows local attackers to escalate privileges on affected installations of Cisco RV340 routers. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the handling of file-copy JSON RPC requests. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code 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-smb-mult-vuln-KA9PK6D
DISCLOSURE TIMELINE
  • 2021-12-07 - Vulnerability reported to vendor
  • 2022-02-22 - Coordinated public release of advisory
CREDIT Stephen Fewer of Relyze Software Limited (www.relyze.com)
BACK TO ADVISORIES