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...
CriticalCVSS 9.8
EPSS 31.9%
Framework module
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| terra-master terramaster operating system | < 4.2.31; <= 4.2.30 | 4.2.31 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| terra-master terramaster operating system | <= 4.2.30 | No fix listed |
| terra-master terramaster operating system | < 4.2.31 | 4.2.31 |
References
- forum.terra-master.com release-notes
- github.com exploit
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- attackerkb.com third-party-advisory
- octagon.net exploit