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-37002

CVE-2020-37002: Ajenti Authentication Bypass Vulnerability

CVE-2020-37002 is an authentication bypass flaw in Ajenti 2.1.36 that enables remote attackers to execute arbitrary commands via the /api/terminal/create endpoint. This article covers technical details, impact, and mitigation.

Published: January 29, 2026

CVE-2020-37002 Overview

CVE-2020-37002 is a Command Injection vulnerability affecting Ajenti 2.1.36, a popular server administration panel. This vulnerability allows authenticated remote attackers to execute arbitrary commands on the target system by exploiting the /api/terminal/create endpoint. Attackers can leverage this endpoint to send a netcat reverse shell payload targeting a specified IP and port, enabling full remote access to the underlying server.

Critical Impact

Authenticated attackers can achieve complete system compromise through arbitrary command execution, potentially leading to data exfiltration, lateral movement, and persistent backdoor access.

Affected Products

  • Ajenti 2.1.36
  • Ajenti versions prior to patched releases

Discovery Timeline

  • 2026-01-29 - CVE CVE-2020-37002 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2020-37002

Vulnerability Analysis

This vulnerability is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The flaw exists within the Ajenti web administration panel's terminal creation API endpoint. Once an attacker has valid credentials (or bypasses authentication), they can send specially crafted requests to the /api/terminal/create endpoint that include shell commands which are executed directly by the underlying operating system without proper sanitization or validation.

The vulnerability is particularly dangerous because Ajenti typically runs with elevated privileges to perform system administration tasks. This means any command injection leads to high-privilege code execution, allowing attackers to fully compromise the host system.

Root Cause

The root cause of this vulnerability is insufficient input validation and sanitization in the terminal creation functionality. The /api/terminal/create endpoint accepts user-controlled input that is passed directly to system shell execution without proper escaping or filtering of dangerous characters and command sequences. This allows attackers to inject arbitrary shell commands alongside legitimate terminal creation requests.

Attack Vector

The attack is network-based and requires the attacker to have valid authentication credentials to the Ajenti panel. Once authenticated, the attacker can send a malicious POST request to the /api/terminal/create endpoint containing a reverse shell payload. A typical attack scenario involves embedding a netcat command within the request parameters to establish an outbound connection to an attacker-controlled server.

The vulnerability mechanism involves crafting a malicious request to the terminal API endpoint that includes shell metacharacters and command sequences. When the server processes this request, it executes the injected commands with the privileges of the Ajenti service. Attackers typically leverage this to spawn reverse shells using tools like netcat (nc), bash, or Python. For detailed technical information and proof-of-concept code, refer to Exploit-DB #48929 and the VulnCheck Advisory on Ajenti.

Detection Methods for CVE-2020-37002

Indicators of Compromise

  • Unexpected outbound network connections from the Ajenti server, particularly to unusual ports (common reverse shell ports include 4444, 1234, 8080)
  • Suspicious process spawning from the Ajenti service, such as /bin/sh, /bin/bash, nc, netcat, or python reverse shell processes
  • Unusual API requests to /api/terminal/create containing shell metacharacters or encoded payloads
  • Log entries showing terminal creation with suspicious command patterns

Detection Strategies

  • Monitor HTTP/HTTPS traffic to Ajenti for requests to /api/terminal/create containing shell metacharacters such as ;, |, $(), or backticks
  • Implement network detection rules for outbound connections from the Ajenti server to non-standard ports
  • Deploy endpoint detection to identify suspicious child processes spawned by the Ajenti service
  • Review Ajenti access logs for authentication attempts followed by terminal creation API calls

Monitoring Recommendations

  • Enable comprehensive logging for all API endpoint access in Ajenti
  • Configure SIEM alerts for command injection patterns in web application logs
  • Monitor system process trees for unexpected command execution chains originating from web services
  • Implement network egress filtering and alerting for the Ajenti server

How to Mitigate CVE-2020-37002

Immediate Actions Required

  • Restrict network access to the Ajenti administration panel to trusted IP addresses only
  • Review and audit all user accounts with access to Ajenti, removing unnecessary privileges
  • Implement strong authentication mechanisms including multi-factor authentication where possible
  • Consider disabling or restricting access to the terminal functionality if not required

Patch Information

Users should upgrade Ajenti to the latest available version that addresses this command injection vulnerability. Check the GitHub Project Repository for the latest security updates and release notes. Review the VulnCheck Advisory on Ajenti for specific remediation guidance.

Workarounds

  • Deploy a web application firewall (WAF) with rules to block command injection patterns in requests to the Ajenti API
  • Restrict Ajenti access to localhost only and use SSH tunneling for remote administration
  • Implement network segmentation to isolate the Ajenti server from critical infrastructure
  • Use reverse proxy configurations to filter and validate requests before they reach Ajenti
bash
# Example: Restrict Ajenti access using iptables
# Allow only specific trusted IP to access Ajenti (default port 8000)
iptables -A INPUT -p tcp --dport 8000 -s 10.0.0.100 -j ACCEPT
iptables -A INPUT -p tcp --dport 8000 -j DROP

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechAjenti

  • SeverityHIGH

  • CVSS Score8.7

  • 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
  • GitHub Project Repository

  • Exploit-DB #48929

  • VulnCheck Advisory on Ajenti
  • Related CVEs
  • CVE-2026-40178: Ajenti Auth Bypass Vulnerability

  • CVE-2026-40177: Ajenti Core Authentication Bypass Flaw

  • CVE-2026-35175: Ajenti Auth Bypass Vulnerability

  • CVE-2026-27975: Ajenti Server Admin Panel 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