Skip to content
Emerging threatsCritical

CVE-2022-24989Terramaster 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.

Published Aug 20, 2023 · Updated Nov 21, 2024

Key Facts

Patch immediately
  • CVE-2022-24989 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Terramaster Operating System (Terra-Master).
  • It is exploited in the wild, listed in Industry KEV feed since Feb 22, 2024. Public exploit code is available.
  • EPSS estimates a 32% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Terramaster Operating System 4.2.31.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

32%

Higher than 98.2% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

57/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Feb 22, 2024

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

3

Proof-of-concept links

In-the-wild evidence

2

Reports of active use

Advisories And Exploit References

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedFeb 22, 2024n/aNot reported

Affected Products

1 affected entries in total
ProductAffected versionsFixed in
Terramaster Operating SystemTerra-MasterSee advisory4.2.31

Patched Releases

Terramaster Operating System

4.2.31

Timeline

  1. Publicly disclosed

    Aug 20, 2023

  2. Added to Industry KEV feed

    Feb 22, 2024

  3. Last updated

    Nov 21, 2024

Weakness Type

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

FAQ

Common Questions.

Is CVE-2022-24989 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.