{"id":"CVE-2022-24990","published":"2023-02-07T18:15:09Z","modified":"2026-06-17T04:32:54Z","title":"TerraMaster OS Remote Command Execution Vulnerability","vendor":"TerraMaster","product":"TerraMaster OS","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"TerraMaster OS, the operating system on TerraMaster NAS devices, has a missing-authentication flaw in its web API module/api.php?mobile/webNasIPS, which is exposed to the network. An unauthenticated remote attacker can obtain the administrative password by sending a request with the User-Agent header set to \"TNAS\" and reading the PWD field in the response, requiring no credentials or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T08:31:17Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"NVD"},"epss":{"score":0.83166,"percentile":0.99676,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2023-02-10","dueDate":"2023-03-03","ransomware":true,"requiredAction":"Apply updates per vendor instructions.","notes":"https://forum.terra-master.com/en/viewtopic.php?t=3030;  https://nvd.nist.gov/vuln/detail/CVE-2022-24990","provenance":"source"},"vulncheckKev":{"dateAdded":"2022-04-11","exploitedFirstSeen":"2022-04-11","ransomware":true,"evidence":[{"url":"https://www.cisa.gov/uscert/ncas/alerts/aa23-040a","date":"2022-04-11"},{"url":"https://cisa.gov/news-events/cybersecurity-advisories/aa23-040a","date":"2023-02-09"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2023-02-10"},{"url":"https://4502402.fs1.hubspotusercontent-na1.net/hubfs/4502402/Ransomware%20-%20Index%20Update%20Q1%202023.pdf","date":"2023-05-15"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-14&host_type=src&vulnerability=cve-2022-24990","date":"2023-11-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-17&host_type=src&vulnerability=cve-2022-24990","date":"2023-11-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-20&host_type=src&vulnerability=cve-2022-24990","date":"2023-11-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-21&host_type=src&vulnerability=cve-2022-24990","date":"2023-11-21"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-25&host_type=src&vulnerability=cve-2022-24990","date":"2023-11-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-20&host_type=src&vulnerability=cve-2022-24990","date":"2023-12-20"}],"evidenceTotal":548,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"http://packetstormsecurity.com/files/172904/TerraMaster-TOS-4.2.29-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://forum.terra-master.com/en/viewforum.php?f=28","tags":["Issue Tracking","Release Notes"]},{"url":"https://github.com/0xf4n9x/CVE-2022-24990","tags":["Exploit","Third Party Advisory"]},{"url":"https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation/","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=33732","tags":["Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/172904/TerraMaster-TOS-4.2.29-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://forum.terra-master.com/en/viewforum.php?f=28","tags":["Issue Tracking","Release Notes"]},{"url":"https://github.com/0xf4n9x/CVE-2022-24990","tags":["Exploit","Third Party Advisory"]},{"url":"https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation/","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=33732","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24990","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Unauthenticated remote request to public-facing web endpoint","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"sending \"User-Agent: TNAS\" to module/api.php?mobile/webNasIPS","start":102,"end":163}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1552","name":"Unsecured Credentials","tactics":["credential-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Yields plaintext administrative password from response","mappingType":"primary_impact","evidence":[{"from":"description","quote":"allows remote attackers to discover the administrative password","start":35,"end":98}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-29737","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-29737","exploited":true,"exploitedSince":"2023-02-10","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":6,"skipped":0,"earliest":"2022-03-08","earliestUrl":"https://github.com/Jaky5155/CVE-2022-24990-TerraMaster-TOS--PHP-","repos":[{"name":"lishang520/CVE-2022-24990","url":"https://github.com/lishang520/CVE-2022-24990","stars":38,"created":"2022-03-20"},{"name":"0xf4n9x/CVE-2022-24990","url":"https://github.com/0xf4n9x/CVE-2022-24990","stars":12,"created":"2022-03-20"},{"name":"VVeakee/CVE-2022-24990-POC","url":"https://github.com/VVeakee/CVE-2022-24990-POC","stars":4,"created":"2022-03-10"},{"name":"jsongmax/terraMaster-CVE-2022-24990","url":"https://github.com/jsongmax/terraMaster-CVE-2022-24990","stars":4,"created":"2022-10-17"},{"name":"ZZ-SOCMAP/CVE-2022-24990","url":"https://github.com/ZZ-SOCMAP/CVE-2022-24990","stars":3,"created":"2022-04-12"}]},"metasploit":[{"name":"TerraMaster TOS 4.2.29 or lower - Unauthenticated RCE chaining CVE-2022-24990 and CVE-2022-24989","module":"exploit/linux/http/terramaster_unauth_rce_cve_2022_24990","type":"exploit","disclosureDate":"2022-03-07","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/terramaster_unauth_rce_cve_2022_24990.rb"}],"nuclei":[{"id":"CVE-2022-24990","name":"TerraMaster TOS < 4.2.30 Server Information Disclosure","severity":"high","path":"http/cves/2022/CVE-2022-24990.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24990.yaml"}],"first":{"date":"2022-03-07","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/terramaster_unauth_rce_cve_2022_24990.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/172904/TerraMaster-TOS-4.2.29-Remote-Code-Execution.html","https://github.com/0xf4n9x/CVE-2022-24990","https://octagon.net/blog/2022/03/07/cve-2022-24990-terrmaster-tos-unauthenticated-remote-command-execution-via-php-object-instantiation/"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1552"],"provenance":"ai"}],"timeline":[{"date":"2022-03-07","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2022-03-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/terramaster_unauth_rce_cve_2022_24990.rb","provenance":"source"},{"date":"2022-04-11","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cisa.gov/uscert/ncas/alerts/aa23-040a","provenance":"source"},{"date":"2023-02-07","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24990","provenance":"source"},{"date":"2023-02-10","kind":"kev","label":"Added to CISA KEV (known ransomware use)","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2023-02-10","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-29737","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":3},"priority":{"score":78.2,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1664 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9968"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 NVD references tagged Exploit; 6 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}