What’s Vulnerable › Vulnerabilities

CVE-2022-24989

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Terra-Master Terramaster Operating System 4.2.31. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-24989 or the next vulnerability affects your stack