CVE-2021-4242 Sapido BR270n/BRC76n/GR297/RB1732 syscmd.htm os command injection

Medium 6.3 Published Updated

Remote attackers can execute arbitrary OS commands on Sapido routers via the syscmd.htm interface, potentially compromising the device.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-4242?

CVE-2021-4242 is a medium-severity command injection vulnerability in Sapido BR270n, published on 30 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Sapido BR270n, BRC76n, GR297 and RB1732 and classified as critical. Affected by this issue is some unknown functionality of the file ip/syscmd.htm. The manipulation leads to os command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-214592.

Weakness: CWE-78, CWE-707

Which versions are affected by CVE-2021-4242?

It affects 4 products.

Products include Sapido Br270n Firmware, Sapido Brc76n Firmware, Sapido Gr297n Firmware, Sapido Rb-1732 Firmware.

How do I fix CVE-2021-4242?

No fix has been published for CVE-2021-4242 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-4242 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-4242 exists.

Sources

Also known as GHSA-2gp5-q39j-fmr2.

Is CVE-2021-4242 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free