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-2020-28188

CVE-2020-28188: TerraMaster TOS RCE Vulnerability

CVE-2020-28188 is a remote code execution vulnerability in TerraMaster TOS that allows unauthenticated attackers to execute OS commands. This article covers technical details, affected versions, impact, and mitigation.

Published: March 4, 2026

CVE-2020-28188 Overview

CVE-2020-28188 is a critical Remote Command Execution (RCE) vulnerability affecting TerraMaster TOS versions 4.2.06 and earlier. This vulnerability allows remote unauthenticated attackers to inject arbitrary OS commands via the /include/makecvs.php endpoint through the Event parameter. The vulnerability requires no authentication and can be exploited remotely over the network, making it particularly dangerous for internet-exposed TerraMaster NAS devices.

Critical Impact

Unauthenticated remote attackers can execute arbitrary operating system commands on vulnerable TerraMaster NAS devices, potentially leading to complete system compromise, data theft, or deployment of malware including botnet components.

Affected Products

  • TerraMaster TOS versions up to and including 4.2.06
  • All TerraMaster NAS devices running vulnerable TOS firmware

Discovery Timeline

  • 2020-12-24 - CVE-2020-28188 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-28188

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly referred to as OS Command Injection. The flaw exists in the /include/makecvs.php script, which fails to properly sanitize user-supplied input in the Event parameter before passing it to operating system command execution functions.

The vulnerability has been actively leveraged in botnet campaigns. According to Checkpoint Research Botnet Analysis, this vulnerability was exploited as part of the "FreakOut" botnet campaign that targeted Linux devices. The attack requires no authentication or user interaction, allowing threat actors to compromise vulnerable devices at scale.

Root Cause

The root cause of CVE-2020-28188 is the lack of proper input validation and sanitization in the makecvs.php script. The Event parameter accepts user-controlled input that is directly incorporated into OS command execution without filtering dangerous characters or command injection sequences. This allows attackers to break out of the intended command context and execute arbitrary shell commands with the privileges of the web server process.

Attack Vector

The attack can be executed remotely over the network without any authentication. An attacker can send a specially crafted HTTP request to the vulnerable /include/makecvs.php endpoint, embedding malicious OS commands within the Event parameter. The vulnerable PHP script processes this input and executes the injected commands on the underlying operating system.

The exploitation mechanism involves sending HTTP requests to the vulnerable endpoint with command injection payloads in the Event parameter. Common attack patterns include using shell metacharacters such as semicolons, backticks, or pipe characters to chain malicious commands. For detailed technical analysis and proof-of-concept information, refer to the IHTeam TerraMaster Vulnerability Advisory and Packet Storm RCE Vulnerability.

Detection Methods for CVE-2020-28188

Indicators of Compromise

  • HTTP requests containing command injection patterns targeting /include/makecvs.php
  • Unusual process spawning from the web server process (e.g., /bin/sh, wget, curl)
  • Network connections to known botnet command and control infrastructure
  • Presence of unauthorized cryptocurrency miners or backdoor scripts on NAS devices

Detection Strategies

  • Monitor web server access logs for requests to /include/makecvs.php with suspicious Event parameter values
  • Implement network-based intrusion detection signatures for known exploitation patterns
  • Deploy endpoint detection solutions capable of identifying command injection attempts and anomalous process behavior
  • Scan for indicators associated with the FreakOut botnet campaign

Monitoring Recommendations

  • Enable verbose logging on TerraMaster NAS devices and forward logs to a SIEM for analysis
  • Monitor outbound network traffic from NAS devices for connections to unknown external hosts
  • Regularly audit running processes and scheduled tasks for unauthorized entries
  • Implement file integrity monitoring on critical system directories

How to Mitigate CVE-2020-28188

Immediate Actions Required

  • Update TerraMaster TOS firmware to the latest available version that addresses this vulnerability
  • Restrict network access to TerraMaster NAS devices using firewall rules
  • Do not expose TerraMaster management interfaces directly to the internet
  • Implement network segmentation to isolate NAS devices from critical infrastructure

Patch Information

TerraMaster has released firmware updates to address this vulnerability. Users should visit the TerraMaster Official Site to download the latest TOS firmware version. It is critical to apply the security update as soon as possible, especially for devices that may be accessible from the internet.

Workarounds

  • Block external access to the TerraMaster web interface at the network perimeter
  • Use a VPN for remote access to NAS devices instead of exposing them directly to the internet
  • Implement web application firewall (WAF) rules to filter requests containing command injection patterns
  • Disable or restrict access to the /include/makecvs.php endpoint if not required for normal operations
bash
# Example: Block external access to TerraMaster web interface using iptables
iptables -A INPUT -p tcp --dport 8181 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8181 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechTerra Master

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability93.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Packet Storm RCE Vulnerability

  • Checkpoint Research Botnet Analysis

  • IHTeam TerraMaster Vulnerability Advisory
  • Vendor Resources
  • TerraMaster Official Site
  • Related CVEs
  • CVE-2022-24989: TerraMaster NAS RCE Vulnerability

  • CVE-2022-24990: TerraMaster TOS Information Disclosure
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