Authenticated command execution via unsanitized sysCmd parameter
Published Nov 30, 2022 · Updated Apr 15, 2025
OS command injection in Sapido BR270n, BRC76n, GR297, and RB1732 allows remote authenticated users to execute shell commands. The ip/syscmd.htm form sends the sysCmd parameter to /boafrm/formSysCmd, which executes the submitted value without command filtering. Access to the router management interface is required; successful requests return command output and permit arbitrary command execution on the appliance.
Summary
What happened
OS command injection in Sapido BR270n, BRC76n, GR297, and RB1732 allows remote authenticated users to execute shell commands. The ip/syscmd.htm form sends the sysCmd parameter to /boafrm/formSysCmd, which executes the submitted value without command filtering. Access to the router management interface is required; successful requests return command output and permit arbitrary command execution on the appliance.
The record
- CVE
- CVE-2021-4242
- Published
- Nov 30, 2022
- Updated
- Apr 15, 2025
- Vendor
- Sapido Technology Inc.
- Product
- RB1732
- Classifications
- CWE-78, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 30, 2022CVE publishedPublication date reported by the CVE source.
- Apr 15, 2025Record 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?
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
- Sapido Router RCE exploit scriptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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