CVE-2022-24989
9.8
CRITICAL · CVSS 3.1 · EPSS 31.9% (pctl 98)
Patch early
EPSS 31.9% — above the 10% action threshold.
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.
Scoring
| CVSS | 9.8 (CRITICAL, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 31.88% — more likely to be exploited than 98% of all CVEs |
| Weakness | CWE-74 |
| On CISA KEV | no |
| Public exploit | none known |
| Published | 2023-08-20 |
| Last modified | 2026-06-17 |
Affected (30)
| Vendor | Product |
|---|---|
| terra-master | f2-210 |
| terra-master | f2-221 |
| terra-master | f2-223 |
| terra-master | f2-422 |
| terra-master | f2-423 |
| terra-master | f4-421 |
| terra-master | f4-422 |
| terra-master | f4-423 |
| terra-master | f5-221 |
| terra-master | f5-422 |
| terra-master | t12-423 |
| terra-master | t12-450 |
| terra-master | t6-423 |
| terra-master | t9-423 |
| terra-master | t9-450 |
| terra-master | terramaster operating system |
| terra-master | u12-322-9100 |
| terra-master | u12-423 |
| terra-master | u12-722-2224 |
| terra-master | u16-322-9100 |
| terra-master | u16-722-2224 |
| terra-master | u24-722-2224 |
| terra-master | u4-111 |
| terra-master | u4-211 |
| terra-master | u4-423 |
| terra-master | u8-111 |
| terra-master | u8-322-9100 |
| terra-master | u8-423 |
| terra-master | u8-522-9400 |
| terra-master | u8-722-2224 |
References
- https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990
- https://forum.terra-master.com/en/viewforum.php?f=28
- https://github.com/0xf4n9x/CVE-2022-24990
- https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation
- https://packetstormsecurity.com/files/172904
- https://attackerkb.com/topics/h8YKVKx21t/cve-2022-24990
- https://forum.terra-master.com/en/viewforum.php?f=28
- https://github.com/0xf4n9x/CVE-2022-24990
- https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation
- https://packetstormsecurity.com/files/172904
→ the Explorer · watch your stack · NVD