The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-47794

CVE-2021-47794: Zesle ZesleCP RCE Vulnerability

CVE-2021-47794 is an authenticated remote code execution vulnerability in ZesleCP 3.1.9. Attackers can inject malicious commands through FTP account creation to gain control. This article covers technical details, impact, and mitigation.

Published: January 23, 2026

CVE-2021-47794 Overview

CVE-2021-47794 is an authenticated remote code execution vulnerability affecting ZesleCP 3.1.9, a web hosting control panel. The vulnerability allows attackers with valid authentication credentials to execute arbitrary commands on the underlying system through shell injection payloads embedded in FTP account creation requests. By exploiting the FTP account creation endpoint, attackers can inject malicious commands that establish reverse shell connections, gaining full control over the hosting server.

Critical Impact

Authenticated attackers can achieve complete system compromise by injecting shell commands through the FTP account creation functionality, potentially leading to data exfiltration, lateral movement, and persistent access to the hosting infrastructure.

Affected Products

  • ZesleCP 3.1.9
  • Zesle ZesleCP (all versions up to and including 3.1.9)

Discovery Timeline

  • 2026-01-16 - CVE CVE-2021-47794 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2021-47794

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The flaw exists in the FTP account creation functionality within ZesleCP's web interface.

When an authenticated user creates a new FTP account, the application fails to properly sanitize user-supplied input before passing it to system shell commands. This lack of input validation allows attackers to break out of the intended command context and inject arbitrary shell commands that execute with the privileges of the ZesleCP service account.

The network-accessible nature of this vulnerability, combined with the low attack complexity and absence of user interaction requirements, makes it particularly dangerous for organizations running ZesleCP in production environments. An attacker who has obtained valid credentials—through credential theft, brute force, or other means—can immediately leverage this flaw to establish a foothold on the server.

Root Cause

The root cause of CVE-2021-47794 is insufficient input sanitization in the FTP account creation handler. The application directly incorporates user-supplied parameters into shell commands without properly escaping or validating special characters. This allows attackers to terminate the intended command and append malicious instructions using shell metacharacters such as semicolons, pipes, or command substitution syntax.

Proper input validation should include whitelisting acceptable characters for FTP usernames, rejecting or escaping shell metacharacters, and ideally using parameterized system calls that avoid shell interpretation entirely.

Attack Vector

The attack is executed over the network against the ZesleCP web interface. An authenticated attacker submits a specially crafted FTP account creation request containing shell injection payloads in the username or password fields.

A typical exploitation scenario involves the attacker injecting a reverse shell command that connects back to an attacker-controlled listener. Once the connection is established, the attacker gains interactive shell access to the underlying system with the privileges of the web application service account.

The exploitation requires valid authentication credentials, meaning the attacker must first obtain access to a ZesleCP user account. However, once authenticated, the exploitation is straightforward and requires no additional user interaction or complex conditions. Technical details and proof-of-concept code are available in the Exploit-DB #50233 entry and the VulnCheck Advisory.

Detection Methods for CVE-2021-47794

Indicators of Compromise

  • Unexpected outbound network connections from the ZesleCP server to external IP addresses, particularly on common reverse shell ports
  • FTP account entries with usernames or passwords containing shell metacharacters (;, |, $(), backticks)
  • Process spawning anomalies where the web server process spawns unexpected child processes such as /bin/bash, nc, or python
  • Unusual system commands executed in the context of the ZesleCP web application user

Detection Strategies

  • Monitor HTTP POST requests to the FTP account creation endpoint for payloads containing shell metacharacters or common command injection patterns
  • Implement web application firewall (WAF) rules to detect and block command injection attempts in form parameters
  • Enable comprehensive logging for the ZesleCP application and review logs for suspicious FTP account creation attempts
  • Deploy endpoint detection and response (EDR) solutions capable of identifying process lineage anomalies

Monitoring Recommendations

  • Configure network monitoring to alert on outbound connections from web servers to non-standard ports
  • Establish baseline behavior for the ZesleCP service and alert on deviations such as new child processes or network connections
  • Review FTP account database regularly for entries with suspicious naming patterns
  • Implement file integrity monitoring on critical ZesleCP configuration and script files

How to Mitigate CVE-2021-47794

Immediate Actions Required

  • Restrict access to the ZesleCP administrative interface to trusted IP addresses only
  • Review all existing FTP accounts for suspicious entries that may indicate prior exploitation
  • Implement strong authentication controls including multi-factor authentication where possible
  • Consider temporarily disabling FTP account creation functionality until a patch is applied

Patch Information

Organizations using ZesleCP should check the ZesleCP Homepage for the latest version and security updates. Review release notes for any security fixes addressing command injection vulnerabilities. If no patch is available, consider migrating to an alternative hosting control panel with a stronger security track record.

For detailed technical information about this vulnerability, refer to the VulnCheck Advisory and Exploit-DB #50233.

Workarounds

  • Implement network segmentation to isolate ZesleCP servers from critical infrastructure
  • Deploy a reverse proxy with input validation rules to filter malicious requests before they reach ZesleCP
  • Restrict shell access for the ZesleCP service account using tools like rbash or AppArmor profiles
  • Monitor and rate-limit FTP account creation requests to slow potential exploitation attempts
bash
# Example: Restrict access to ZesleCP admin interface using iptables
iptables -A INPUT -p tcp --dport 2087 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 2087 -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/TechZesle

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.34%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Exploit-DB #50233

  • VulnCheck Advisory

  • YouTube Security Discussion

  • ZesleCP Homepage
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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