TerraMaster NAS through 4.2.30 allows remote WAN attackers to execute arbitrary code as root via the raidtype and…
No fixed version listed yet.Check the vendor advisory. References ↓
The flaw is in the TerraMaster NAS firmware (through 4.2.30), specifically in the api.php mobile/createRaid endpoint, where the raidtype and diskstring parameters are passed to a popen call without sanitization, allowing PHP object instantiation and shell metacharacter injection. A remote attacker on the WAN can exploit this to execute arbitrary code as root, and the attack is easier when valid credentials are already available from a prior compromise such as the one described for the related credential flaw.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 6 months after disclosure. Public exploit code (Metasploit) was available 17 months before disclosure.
- Public exploit codeMetasploit17 mo before
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+6 mo
What security researchers reported
Not named in any threat report yetAlso mentioned in 2 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.