CVE-2021-1413: Cisco RV340 set_snmp usmUserAuthKey Command Injection Remote Code Execution Vulnerability
Multiple vulnerabilities in the web-based management interface of Cisco RV340, RV340W, RV345, and RV345P Dual WAN Gigabit VPN Routers could allow an authenticated, remote attacker to execute arbitrary code with elevated privileges equivalent to the web service process on an affected device. These vulnerabilities exist because HTTP requests are not properly validated. An attacker could exploit these vulnerabilities by sending a crafted HTTP request to the web-based management interface of an affected device. A successful exploit could allow the attacker to remotely execute arbitrary code on the device.
Other sources
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Cisco RV340 routers. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of JSON-RPC requests. When parsing the usmUserAuthKey property, the process does not properly validate a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the www-data user.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-1413?
The severity of CVE-2021-1413 is medium with a CVSS score of 6.3.
Which Cisco products are affected by CVE-2021-1413?
Cisco RV340, RV340W, RV345, and RV345P Dual WAN Gigabit VPN Routers are affected by CVE-2021-1413.
How does CVE-2021-1413 allow an attacker to execute arbitrary code?
CVE-2021-1413 allows an authenticated, remote attacker to execute arbitrary code with elevated privileges equivalent to the web service process on the affected device through the web-based management interface.
What is the Common Weakness Enumeration (CWE) ID for CVE-2021-1413?
The CWE ID for CVE-2021-1413 is 502.
Where can I find more information about CVE-2021-1413?
You can find more information about CVE-2021-1413 on the Cisco Security Advisory and Zero Day Initiative websites.