Unauthenticated command execution via sessionid cookie injection
Published Apr 8, 2021 · Updated Nov 8, 2024
Command injection in the web interface of Cisco RV340-series routers before 1.0.03.21 allows remote attackers to execute OS commands. The upload.cgi handler inserts the sessionid cookie into a curl command with sprintf and passes the resulting string directly to popen without validation. The interface is reachable from the LAN by default and from the WAN only when remote management is enabled; injected commands run as www-data.
Summary
What happened
Command injection in the web interface of Cisco RV340-series routers before 1.0.03.21 allows remote attackers to execute OS commands. The upload.cgi handler inserts the sessionid cookie into a curl command with sprintf and passes the resulting string directly to popen without validation. The interface is reachable from the LAN by default and from the WAN only when remote management is enabled; injected commands run as www-data.
The record
- CVE
- CVE-2021-1473
- Published
- Apr 8, 2021
- Updated
- Nov 8, 2024
- Vendor
- ClamAV
- Product
- Cisco Small Business RV Series Router Firmware
- Classifications
- CWE-119, T1190, T1059.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 8, 2021CVE publishedPublication date reported by the CVE source.
- Nov 8, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Cisco RV Series Authentication Bypass and Remote Command Execution disclosureproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo