Advisory Published

ZDI-21-559: Cisco RV340 set_snmp usmUserPrivKey Command Injection Remote Code Execution Vulnerability

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 usmUserPrivKey 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 SoftwareAffected VersionHow to fix
Cisco RV340W Firmware

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of ZDI-21-559?

    The severity of ZDI-21-559 is high due to its potential for remote code execution.

  • How do I fix ZDI-21-559?

    To fix ZDI-21-559, update your Cisco RV340 router firmware to the latest version provided by Cisco.

  • Who is affected by ZDI-21-559?

    ZDI-21-559 affects installations of Cisco RV340 routers that have not been updated.

  • Can ZDI-21-559 be exploited remotely?

    ZDI-21-559 requires authentication, but it can be exploited by network-adjacent attackers.

  • What type of vulnerability is ZDI-21-559?

    ZDI-21-559 is a remote code execution vulnerability found in the JSON-RPC request processing of Cisco RV340 routers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203