Advisory Published

ZDI-CAN-10640: Cisco RV340 upload.cgi 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 handling of the fileparam parameter provided to the upload.cgi endpoint. 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 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-CAN-10640?

    The severity of ZDI-CAN-10640 is rated high due to its potential for remote code execution by authenticated attackers.

  • How do I fix ZDI-CAN-10640?

    To fix ZDI-CAN-10640, you should update your Cisco RV340 router to the latest firmware version released by Cisco.

  • Who is affected by ZDI-CAN-10640?

    ZDI-CAN-10640 affects installations of Cisco RV340 routers that are using vulnerable firmware versions.

  • Is authentication required to exploit ZDI-CAN-10640?

    Yes, authentication is required to exploit the ZDI-CAN-10640 vulnerability.

  • What type of attacks can be executed due to ZDI-CAN-10640?

    ZDI-CAN-10640 allows network-adjacent attackers to execute arbitrary code on the affected 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