TerraMaster NAS - Authentication Bypass (CVE-2022-24990)
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.
psychologyCrowdSec Analysis
CVE-2022-24990 is a critical vulnerability in TerraMaster NAS 4.2.29 and earlier that allows remote attackers to obtain the administrative password by exploiting a flaw in the API response. By sending a specially crafted User-Agent header, attackers can easily retrieve sensitive credentials, potentially leading to full system compromise and unauthorized access to stored data.
CrowdSec has been tracking this vulnerability and its exploits since 8th of April 2026.
Insights from the CrowdSec network reveal that the attackers trying to exploit CVE-2022-24990 are composed of a fairly even mix of opportunistic and targeted actors. Some attackers employ preliminary reconnaissance, while others use indiscriminate scanning. In addition, according to the CrowdSec network, attack volume against CVE-2022-24990 has dipped slightly compared to the previous week. Although still commonly targeted, the decline suggests a cooling-off period. Long-term relevance remains, but attention is waning.
Attackers exploit this vulnerability by sending GET requests to /module/api.php?mobile/webNasIPS with a "TNAS" User-Agent, aiming to retrieve sensitive server information from TerraMaster NAS devices running vulnerable TOS versions.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2023-02-07 |
| CISA KEV | 2023-02-10 |
| CISA Remediation Deadline | 2023-03-03 |
| Rule Released | 2026-04-08 |
| CrowdSec First Seen | 2026-04-08 |
Remediation & Protection
External References
- https://github.com/0xf4n9x/CVE-2022-24990
- https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=33732
- https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24990
- http://packetstormsecurity.com/files/172904/TerraMaster-TOS-4.2.29-Remote-Code-Execution.html
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24990.yaml