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-2021-36380

CVE-2021-36380: Sunhillo SureLine RCE Vulnerability

CVE-2021-36380 is a remote code execution flaw in Sunhillo SureLine allowing unauthenticated OS command injection. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 25, 2026

CVE-2021-36380 Overview

CVE-2021-36380 is a critical unauthenticated OS command injection vulnerability affecting Sunhillo SureLine versions prior to 8.7.0.1.1. The vulnerability exists in the /cgi/networkDiag.cgi endpoint, which fails to properly sanitize user-supplied input in the ipAddr and dnsAddr parameters. Attackers can exploit this flaw by injecting shell metacharacters, allowing arbitrary command execution on the underlying operating system without any authentication requirements.

Critical Impact

This vulnerability enables remote attackers to execute arbitrary operating system commands with the privileges of the web server process, potentially leading to complete system compromise. CISA has added this vulnerability to its Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Affected Products

  • Sunhillo SureLine versions before 8.7.0.1.1

Discovery Timeline

  • 2021-07-26 - NCC Group Technical Advisory published
  • 2021-08-13 - CVE CVE-2021-36380 published to NVD
  • 2025-11-05 - Last updated in NVD database

Technical Details for CVE-2021-36380

Vulnerability Analysis

This command injection vulnerability resides in the network diagnostics functionality of the Sunhillo SureLine web interface. The /cgi/networkDiag.cgi script accepts user-controlled input through the ipAddr and dnsAddr parameters without implementing proper input validation or sanitization. When these parameters are passed to system shell commands (likely for network diagnostic functions such as ping or DNS lookups), an attacker can inject shell metacharacters to break out of the intended command context and execute arbitrary commands.

The unauthenticated nature of this vulnerability significantly increases its severity, as attackers do not need valid credentials to exploit it. Any network-accessible instance of vulnerable SureLine installations can be targeted remotely. Successful exploitation grants attackers command execution capabilities with the privileges of the web server process, which could potentially lead to full system compromise, data exfiltration, lateral movement, or deployment of persistent backdoors.

Root Cause

The root cause of CVE-2021-36380 is improper input validation (CWE-78: Improper Neutralization of Special Elements used in an OS Command). The vulnerable CGI script directly incorporates user-supplied data from HTTP request parameters into shell commands without sanitizing or escaping shell metacharacters such as semicolons (;), pipes (|), backticks (`), or command substitution syntax ($()). This allows attackers to terminate the intended command and append malicious commands that will be executed by the operating system shell.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker sends a crafted HTTP request to the /cgi/networkDiag.cgi endpoint with malicious shell metacharacters embedded in either the ipAddr or dnsAddr parameters. The injected commands execute with the privileges of the web server process.

For example, an attacker might inject payloads such as ; whoami or | cat /etc/passwd within the vulnerable parameters. These injected commands would then be concatenated with the legitimate diagnostic command and executed by the system shell. For detailed technical information about the exploitation mechanism, refer to the NCC Group Technical Advisory.

Detection Methods for CVE-2021-36380

Indicators of Compromise

  • HTTP requests to /cgi/networkDiag.cgi containing shell metacharacters (;, |, `, $(), &&, ||) in the ipAddr or dnsAddr parameters
  • Unusual process spawning from the web server process (e.g., sh, bash, wget, curl, nc)
  • Unexpected outbound network connections from the SureLine device
  • Creation of new user accounts or modifications to system files
  • Evidence of reverse shell connections or command-and-control beaconing

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block command injection patterns in requests to /cgi/networkDiag.cgi
  • Implement network intrusion detection rules to identify exploitation attempts targeting this specific endpoint
  • Monitor web server access logs for suspicious requests containing encoded or unencoded shell metacharacters
  • Use endpoint detection and response (EDR) solutions to monitor for anomalous process execution chains originating from web server processes

Monitoring Recommendations

  • Configure alerting for any HTTP requests to the /cgi/networkDiag.cgi endpoint from external or untrusted IP addresses
  • Monitor for unusual command execution patterns on SureLine devices, particularly commands commonly used in post-exploitation such as wget, curl, nc, or bash -i
  • Review and correlate logs from firewalls, IDS/IPS, and SureLine devices for indicators of reconnaissance or exploitation activity
  • Implement file integrity monitoring on critical system files to detect unauthorized modifications

How to Mitigate CVE-2021-36380

Immediate Actions Required

  • Upgrade Sunhillo SureLine to version 8.7.0.1.1 or later immediately
  • If patching is not immediately possible, restrict network access to the SureLine web interface to trusted IP addresses only
  • Place SureLine devices behind a firewall and disable direct internet access
  • Review system logs and web server access logs for any indicators of prior exploitation
  • Conduct forensic analysis if exploitation is suspected, as CISA has confirmed this vulnerability is actively exploited

Patch Information

Sunhillo has addressed this vulnerability in SureLine version 8.7.0.1.1 and later. Organizations should upgrade to the latest available version as soon as possible. For product information, visit the Sunhillo Sureline Product Page. Given that this vulnerability is listed in the CISA Known Exploited Vulnerabilities Catalog, federal agencies are required to remediate according to CISA's binding operational directives, and all organizations should prioritize patching.

Workarounds

  • Implement strict network segmentation to isolate SureLine devices from untrusted networks
  • Configure firewall rules to block external access to the web management interface, particularly the /cgi/networkDiag.cgi endpoint
  • Deploy a reverse proxy or WAF with rules to filter requests containing shell metacharacters in the vulnerable parameters
  • Disable the network diagnostics feature if it is not operationally required
bash
# Example firewall rule to restrict access to SureLine web interface (iptables)
# Replace 192.168.1.0/24 with your trusted management network
iptables -A INPUT -p tcp --dport 80 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -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/TechSunhillo Sureline

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability93.64%

  • 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
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-78
  • Technical References
  • NCC Group Technical Advisory

  • Sunhillo Sureline Product Page

  • CISA Known Exploited Vulnerabilities
  • Latest CVEs
  • CVE-2026-25874: LeRobot RCE Vulnerability

  • CVE-2026-41272: Flowise LLM Builder SSRF Vulnerability

  • CVE-2026-41268: Flowise RCE Vulnerability

  • CVE-2026-41265: Flowise Airtable Agent 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