CVE-2022-24989Terra-master Terramaster Operating System
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Terra-master · Terra-master Terramaster Operating System We alert you by email or Slack (account required).
- Priority
- 76
- CVSS 3.1
- 9.8
- EPSS
- 26.1% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Aug 20, 2023
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Terramaster Operating System.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| terra-master | terramaster_operating_system | < 4.2.31 |
Official sources
References
Links published by the sources. Open them with care.
- attackerkb.com Third Party Advisory
- forum.terra-master.com Release Notes
- github.com Exploit
- octagon.net Exploit
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry