CVE-2021-45837 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands as root on Terramaster NAS devices via crafted input to a specific endpoint.

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

What is CVE-2021-45837?

CVE-2021-45837 is a critical command injection vulnerability in n/a, published on 25 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

It is possible to execute arbitrary commands as root in Terramaster F4-210, F2-210 TOS 4.2.X (4.2.15-2107141517) by sending a specifically crafted input to /tos/index.php?app/del.

Which versions are affected by CVE-2021-45837?

It affects 1 product.

Products include Terra-Master Tos.

How do I fix CVE-2021-45837?

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

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

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-46j4-7889-xgxc.

Is CVE-2021-45837 in your software?

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

Check your SBOMs for free