CRITICAL · 9.8

CVE-2022-24989

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 UR...

Vulnerability 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.

CVSS Score

9.8

CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
Terra-MasterTerramaster Operating System< 4.2.31
Terra-MasterF2-210-
Terra-MasterF2-221-
Terra-MasterF2-223-
Terra-MasterF2-422-
Terra-MasterF2-423-
Terra-MasterF4-421-
Terra-MasterF4-422-
Terra-MasterF4-423-
Terra-MasterF5-221-
Terra-MasterF5-422-
Terra-MasterT12-423-
Terra-MasterT12-450-
Terra-MasterT6-423-
Terra-MasterT9-423-
Terra-MasterT9-450-
Terra-MasterU12-322-9100-
Terra-MasterU12-423-
Terra-MasterU12-722-2224-
Terra-MasterU16-322-9100-

Related Weaknesses (CWE)

References

FAQ

What is CVE-2022-24989?

CVE-2022-24989 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 UR...

How severe is CVE-2022-24989?

CVE-2022-24989 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.

Is there a patch for CVE-2022-24989?

Check the references section above for vendor advisories and patch information. Affected products include: Terra-Master Terramaster Operating System, Terra-Master F2-210, Terra-Master F2-221, Terra-Master F2-223, Terra-Master F2-422.