CVE-2021-20852 Command injection in ELECOM LAN routers

Medium 6.8 Published Updated

A network-adjacent administrator can execute arbitrary OS commands on ELECOM LAN routers due to a buffer overflow vulnerability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-20852?

CVE-2021-20852 is a medium-severity command injection vulnerability in ELECOM LAN routers, published on 1 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer overflow vulnerability in ELECOM LAN routers (WRH-733GBK firmware v1.02.9 and prior and WRH-733GWH firmware v1.02.9 and prior) allows a network-adjacent attacker with an administrator privilege to execute an arbitrary OS command via unspecified vectors.

Weakness: CWE-120

Which versions are affected by CVE-2021-20852?

It affects 2 products.

Products include Elecom Wrh-733gbk Firmware, Elecom Wrh-733gwh Firmware.

How do I fix CVE-2021-20852?

No fix has been published for CVE-2021-20852 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-20852 being exploited?

There is no known exploitation of CVE-2021-20852 in the wild and no public exploit code.

Sources

Also known as GHSA-6pq5-g5mf-96hw.

Is CVE-2021-20852 in your software?

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

Check your SBOMs for free