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.
Summary dbcve.org
TerraMaster NAS versions 4.2.29 and earlier contain an information disclosure vulnerability in the mobile API endpoint. Unauthenticated remote attackers can obtain the administrator password in plaintext by sending a specially crafted HTTP request with the User-Agent header set to 'TNAS' to module/api.php?mobile/webNasIPS, which returns the password in the PWD field of the response.
Mitigation
Apply the vendor patch if available. As an interim control, restrict network access to the NAS management interface using firewall rules or network segmentation to prevent untrusted remote attackers from reaching the vulnerable API endpoint.