CVE-2022-24990: TerraMaster NAS 4.2.29 and earlier allows remote attackers to discover the administrative password by sending…
Exploitation: In the wild · CVSS 9.8 Critical · Unauthenticated · Published 2023-02-07
Description
TerraMaster NAS 4.2.29 and earlier allows remote attackers to discover the administrative password by sending "User-Agent: TNAS" to module/api.php?mobile/webNasIPS and then reading the PWD field in the response.
Enclave's analysis
TerraMaster TOS leaks the admin password to anyone who sends a request with the User-Agent TNAS to a mobile API endpoint. No login is needed, only network access to the web interface. CISA lists it as exploited, with known ransomware use, and public exploit code exists. Public write-ups describe it as a path to remote command execution. Update TOS to 4.2.31 or later and keep the NAS admin interface off the internet.
Fix
Upgrade to 4.2.31.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| TerraMaster Operating System (TOS) on TerraMaster NAS | before 4.2.31 per NVD; CNA text says 4.2.29 and earlier | 4.2.31 |