Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-24990

CVE-2022-24990: TerraMaster TOS Information Disclosure

CVE-2022-24990 is an information disclosure vulnerability in TerraMaster Operating System that exposes administrative passwords to remote attackers. This article covers technical details, affected versions, and mitigations.

Published: February 17, 2026

CVE-2022-24990 Overview

CVE-2022-24990 is a critical authentication bypass and information disclosure vulnerability affecting TerraMaster NAS devices running TOS (TerraMaster Operating System) version 4.2.29 and earlier. This vulnerability allows remote attackers to discover the administrative password by sending a specially crafted HTTP request with a specific User-Agent header to an API endpoint. The flaw exposes the administrator's password in plaintext within the server response, enabling complete unauthorized access to the NAS device.

Critical Impact

This vulnerability is actively exploited in the wild and has been added to CISA's Known Exploited Vulnerabilities (KEV) catalog. Remote attackers can obtain administrative credentials without authentication, leading to full device compromise, data theft, ransomware deployment, or use of the device as a pivot point for further network intrusion.

Affected Products

  • TerraMaster Operating System (TOS) version 4.2.29 and earlier
  • TerraMaster F-Series NAS devices (F2-210, F2-221, F2-223, F2-422, F2-423, F4-421, F4-422, F4-423, F5-221, F5-422)
  • TerraMaster T-Series NAS devices (T6-423, T9-423, T9-450, T12-423, T12-450)
  • TerraMaster U-Series NAS devices (U4-111, U4-211, U4-423, U8-111, U8-322-9100, U8-423, U8-522-9400, U8-722-2224, U12-322-9100, U12-423, U12-722-2224, U16-322-9100, U16-722-2224, U24-722-2224)

Discovery Timeline

  • February 7, 2023 - CVE-2022-24990 published to NVD
  • November 7, 2025 - Last updated in NVD database

Technical Details for CVE-2022-24990

Vulnerability Analysis

This vulnerability represents a severe authentication bypass flaw classified under CWE-306 (Missing Authentication for Critical Function). The TerraMaster NAS web management interface contains an API endpoint at module/api.php?mobile/webNasIPS that fails to properly authenticate requests when a specific User-Agent header is present. When an attacker sends an HTTP request with the header User-Agent: TNAS, the server responds with sensitive device information including the administrative password in the PWD field.

The vulnerability is particularly dangerous because it requires no prior authentication or credentials to exploit. An attacker simply needs network access to the NAS device's web interface to retrieve administrator credentials. This flaw has been actively exploited in real-world attacks, including by threat actors deploying ransomware against vulnerable TerraMaster NAS devices.

Root Cause

The root cause of CVE-2022-24990 lies in improper access control within the TerraMaster TOS API implementation. The mobile/webNasIPS endpoint was designed to support mobile application functionality but lacks proper authentication checks. The API trusts the User-Agent header as an indicator of a legitimate mobile client connection, exposing sensitive system information including plaintext credentials without requiring any form of authentication.

Attack Vector

The attack vector for CVE-2022-24990 is network-based and requires no user interaction or prior authentication. An attacker can exploit this vulnerability by:

  1. Identifying a TerraMaster NAS device exposed to the network (either on a local network or internet-facing)
  2. Sending a crafted HTTP GET request to the vulnerable API endpoint with the User-Agent: TNAS header
  3. Parsing the JSON response to extract the PWD field containing the administrator password
  4. Using the obtained credentials to log into the NAS web interface with full administrative privileges

The attack is trivial to execute and can be automated to scan for vulnerable devices at scale. Once administrative access is obtained, attackers can exfiltrate sensitive data, deploy ransomware, create backdoor accounts, or pivot to other systems on the network. Technical analysis and exploitation details are documented in the Octagon Blog Analysis and Packet Storm Remote Code Execution references.

Detection Methods for CVE-2022-24990

Indicators of Compromise

  • HTTP requests to /module/api.php?mobile/webNasIPS with User-Agent: TNAS header in web server logs
  • Unexpected administrative login attempts or successful logins from unknown IP addresses
  • Creation of new administrative user accounts without legitimate authorization
  • Unusual file access patterns, data exfiltration, or encryption activity on NAS shares
  • Network scanning activity targeting port 8181 (default TerraMaster web interface port) or standard HTTP/HTTPS ports

Detection Strategies

  • Configure web application firewalls (WAF) to block or alert on requests containing User-Agent: TNAS targeting API endpoints
  • Implement intrusion detection/prevention system (IDS/IPS) rules to detect exploitation attempts matching the known attack pattern
  • Monitor authentication logs for successful logins from unexpected sources or geographic locations
  • Deploy network monitoring to identify scanning activity targeting TerraMaster-specific endpoints

Monitoring Recommendations

  • Enable comprehensive logging on all TerraMaster NAS devices and forward logs to a centralized SIEM
  • Set up alerts for any access to the module/api.php endpoint with suspicious User-Agent headers
  • Monitor for signs of post-exploitation activity including new user creation, configuration changes, and unusual data transfers
  • Regularly audit administrative accounts and access patterns for anomalies

How to Mitigate CVE-2022-24990

Immediate Actions Required

  • Immediately update all TerraMaster NAS devices to TOS version 4.2.30 or later, which addresses this vulnerability
  • Restrict network access to NAS management interfaces using firewall rules, allowing only trusted IP addresses
  • Remove TerraMaster NAS devices from direct internet exposure; place behind VPN if remote access is required
  • Change all administrative passwords immediately, especially if the device may have been exposed while vulnerable
  • Audit administrative accounts for any unauthorized additions and review access logs for signs of compromise

Patch Information

TerraMaster has released TOS version 4.2.30 and later versions that address this vulnerability. Administrators should update to the latest available TOS version through the device's web interface or by downloading firmware directly from the TerraMaster website. For additional information, refer to the TerraMaster Forum Discussion. Due to active exploitation of this vulnerability, CISA has added it to the Known Exploited Vulnerabilities catalog, requiring federal agencies to prioritize remediation.

Workarounds

  • Isolate vulnerable NAS devices on a dedicated network segment with strict access controls until patching is possible
  • Block external access to the NAS web management interface at the perimeter firewall
  • Implement network-level authentication (802.1X) to restrict which devices can communicate with the NAS
  • Deploy a reverse proxy with authentication requirements in front of the NAS web interface as a temporary protective measure
bash
# Example: Block external access to TerraMaster NAS using iptables
# Allow only local network access to NAS management interface
iptables -A INPUT -p tcp --dport 8181 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8181 -j DROP

# Alternative: Block specific User-Agent at web server level (if proxy is in use)
# Apache mod_rewrite example
# RewriteCond %{HTTP_USER_AGENT} ^TNAS$ [NC]
# RewriteRule ^module/api\.php - [F,L]

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechTerra Master

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability94.40%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-306
  • Technical References
  • Packet Storm Remote Code Execution

  • TerraMaster Forum Discussion

  • GitHub CVE-2022-24990 Repository

  • Octagon Blog Analysis

  • Broadcom Attack Signature Detail

  • CISA Known Exploited Vulnerabilities
  • Related CVEs
  • CVE-2022-24989: TerraMaster NAS RCE Vulnerability

  • CVE-2020-28188: TerraMaster TOS RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English