CVE-2021-45840 Command injection in n/a
Attackers can execute arbitrary commands as root on TerraMaster NAS devices via crafted input to the app start/stop 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-45840?
CVE-2021-45840 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 specifically crafted input to /tos/index.php?app/app_start_stop.
Which versions are affected by CVE-2021-45840?
It affects 1 product.
Products include Terra-Master Tos.
How do I fix CVE-2021-45840?
No fix has been published for CVE-2021-45840 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-45840 being exploited?
There is no known exploitation of CVE-2021-45840 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-m3v6-ff49-8q93.