CVE-2022-24990: TerraMaster OS Remote Command Execution Vulnerability
CVE-2022-24990 is a high-severity flaw (CVSS 7.5) affecting terramaster operating system, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 83.2% (top 1%) |
| CISA exploited list | Yes, fix due 2023-03-03, used in ransomware |
| Weakness | CWE-306 |
| Published | 2023-02-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: lishang520/CVE-2022-24990 (38 stars)
- GitHub PoC: 0xf4n9x/CVE-2022-24990 (12 stars)
- GitHub PoC: VVeakee/CVE-2022-24990-POC (4 stars)
- Write-up: octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-e
- GitHub PoC: Jaky5155/CVE-2022-24990-TerraMaster-TOS--PHP-
- Metasploit: TerraMaster TOS 4.2.29 or lower - Unauthenticated RCE chaining CVE-2022-24990 and CVE-2022-24989
- Nuclei scan template: TerraMaster TOS < 4.2.30 Server Information Disclosure
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-24990?
terramaster operating system: upgrade to 4.2.31. Exact commands for each OS are on this page.
Is CVE-2022-24990 being exploited?
Yes. CVE-2022-24990 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-24990 affect?
CVE-2022-24990 affects terramaster operating system. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2022-24990?
Priority 94/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2022-24989 CRITICAL 9.8 UPGRADE TerraMaster NAS through 4.2.30 allows remote WAN attackers to execute arbitrary code as root via the raidtype