Vulnerabilities · 2022 · Terra-master
CVE-2022-24989
Terra-master Terramaster Operating System vulnerability
TerraMaster NAS through 4.2.30 allows remote WAN attackers to execute arbitrary code as root via the raidtype and diskstring parameters for PHP Object Instantiation to the api.php?mobile/createRaid URI. (Shell metacharacters can be placed in raidtype because popen is used without any sanitization.) The credentials from CVE-2022-24990 exploitation can be used.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Terramaster Operating System. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Terra-master Terramaster Operating System runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- attackerkb.com/topics/h8YKVKx21t/cve-2022-24990 · Third Party Advisory
- packetstormsecurity.com/files/172904 · Exploit
- github.com/0xf4n9x/CVE-2022-24990 · Exploit
- octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-e · Exploit
- forum.terra-master.com/en/viewforum.php?f=28
- nvd.nist.gov/vuln/detail/CVE-2022-24989
- cve.org/CVERecord?id=CVE-2022-24989
More vulnerabilities in Terra-master products
CVE-2022-24990CVE-2021-45842CVE-2021-45841CVE-2021-45840CVE-2021-45839CVE-2021-45837CVE-2021-45836CVE-2021-30127All 47
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.