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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Feb 22, 2024 | n/a | Not reported |
Affected Products
1 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Terramaster Operating SystemTerra-Master | See advisory | 4.2.31 |
Patched Releases
Terramaster Operating System
4.2.31
Timeline
Publicly disclosed
Aug 20, 2023
Added to Industry KEV feed
Feb 22, 2024
Last updated
Nov 21, 2024
Weakness Type
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
- advisoryattackerkb.com · CVE-2022-24990
- exploitMSF terramaster_unauth_rce_cve_2022_24990.rb
- exploitpacketstormsecurity.com · 172904
- exploitVulnCheck exploitation report
- exploitgithub.com · CVE-2022-24990
FAQ
Common Questions.
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.
Affected: Terramaster Operating System (Terra-Master). The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Feb 22, 2024.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Terramaster Operating System 4.2.31.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
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