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

CVE-2021-40539: ManageEngine ADSelfService Plus Auth Bypass

CVE-2021-40539 is an authentication bypass flaw in Zoho ManageEngine ADSelfService Plus that enables remote code execution. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 4, 2026

CVE-2021-40539 Overview

Zoho ManageEngine ADSelfService Plus version 6113 and prior contains a critical REST API authentication bypass vulnerability that allows unauthenticated attackers to execute arbitrary code remotely. ADSelfService Plus is an integrated Active Directory self-service password management and single sign-on solution widely deployed in enterprise environments for identity management.

This vulnerability enables attackers to bypass authentication mechanisms in the REST API endpoints, providing unauthorized access to sensitive functionality. When successfully exploited, an attacker can achieve complete system compromise through remote code execution without requiring any user interaction or prior authentication.

Critical Impact

This vulnerability is actively exploited in the wild and is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, indicating use by threat actors in real-world attacks against enterprise environments.

Affected Products

  • Zoho ManageEngine ADSelfService Plus version 6.1 (build 6113 and prior)
  • Zoho ManageEngine ADSelfService Plus versions 6100 through 6113
  • All ADSelfService Plus installations prior to the security patch

Discovery Timeline

  • 2021-09-07 - CVE-2021-40539 published to NVD
  • 2025-11-05 - Last updated in NVD database

Technical Details for CVE-2021-40539

Vulnerability Analysis

CVE-2021-40539 is classified as an Authentication Bypass vulnerability (CWE-706: Use of Incorrectly-Resolved Name or Reference) that chains with remote code execution capabilities. The flaw exists in the REST API authentication mechanism of ManageEngine ADSelfService Plus, where improper validation allows attackers to circumvent security controls entirely.

The vulnerability is particularly dangerous because it requires no authentication, no user interaction, and can be exploited remotely over the network. This combination of factors makes it an attractive target for both opportunistic attackers and advanced persistent threat (APT) groups. The authentication bypass grants access to privileged API endpoints that can then be leveraged to upload malicious payloads and achieve code execution with the privileges of the ADSelfService Plus service account.

Root Cause

The root cause stems from improper name or reference resolution (CWE-706) in the REST API authentication layer. The application fails to properly validate and resolve references in API requests, allowing attackers to craft requests that bypass the intended authentication checks. This architectural flaw in the authentication validation logic permits unauthenticated access to sensitive REST API endpoints that should require proper authentication credentials.

Attack Vector

The attack vector is network-based, requiring no privileges or user interaction. An attacker can exploit this vulnerability by:

  1. Sending specially crafted HTTP requests to the ADSelfService Plus REST API endpoints
  2. Bypassing the authentication mechanism through improper reference resolution
  3. Gaining unauthorized access to privileged API functionality
  4. Executing arbitrary code on the underlying system

The vulnerability allows for complete compromise of the ADSelfService Plus server, potentially leading to lateral movement within the Active Directory environment and access to domain credentials managed by the application.

The exploitation mechanism involves crafting malicious requests that abuse the authentication bypass to reach code execution endpoints. Technical details and proof-of-concept exploit code are available through Packet Storm Security for security research purposes.

Detection Methods for CVE-2021-40539

Indicators of Compromise

  • Unusual HTTP requests to ADSelfService Plus REST API endpoints from external or unexpected IP addresses
  • Web server logs showing authentication bypass patterns or malformed API requests
  • Unexpected processes spawned by the ADSelfService Plus service account
  • New or modified files in ADSelfService Plus installation directories
  • Outbound network connections from the ADSelfService Plus server to suspicious destinations

Detection Strategies

  • Monitor ADSelfService Plus access logs for anomalous REST API requests, particularly unauthenticated access attempts to privileged endpoints
  • Deploy network intrusion detection signatures targeting known CVE-2021-40539 exploitation patterns
  • Implement endpoint detection rules to identify suspicious child processes of the ADSelfService Plus Java service
  • Use web application firewalls (WAF) to detect and block exploitation attempts targeting the vulnerable API endpoints

Monitoring Recommendations

  • Enable verbose logging on ADSelfService Plus servers and forward logs to a centralized SIEM platform
  • Monitor for new scheduled tasks, services, or startup items created on ADSelfService Plus servers
  • Track file system changes in ADSelfService Plus installation directories for unauthorized modifications
  • Alert on any outbound connections from ADSelfService Plus servers to unknown or suspicious IP addresses

How to Mitigate CVE-2021-40539

Immediate Actions Required

  • Immediately update ManageEngine ADSelfService Plus to the latest patched version (build 6114 or later)
  • If patching is not immediately possible, consider temporarily disabling or restricting network access to the ADSelfService Plus server
  • Review ADSelfService Plus server logs for signs of prior exploitation or compromise
  • Conduct a thorough security assessment of systems that may have been exposed while running vulnerable versions

Patch Information

Zoho has released a security patch to address this vulnerability. Organizations should update to ADSelfService Plus build 6114 or later immediately. Detailed patching instructions and the security update are available from the ManageEngine Security Advisory.

Given this vulnerability's inclusion in the CISA Known Exploited Vulnerabilities Catalog, federal agencies are required to patch within specified timelines, and all organizations are strongly encouraged to prioritize remediation.

Workarounds

  • Implement network segmentation to restrict access to ADSelfService Plus servers from untrusted networks
  • Use a web application firewall (WAF) with rules to block known exploitation patterns for this vulnerability
  • Restrict access to the ADSelfService Plus REST API to only trusted IP addresses through firewall rules
  • Monitor the ADSelfService Plus server for any indicators of compromise until patching is complete
bash
# Example: Restrict access to ADSelfService Plus using iptables
# Allow access only from trusted management network
iptables -A INPUT -p tcp --dport 8888 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 9251 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8888 -j DROP
iptables -A INPUT -p tcp --dport 9251 -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/TechManageengine Adselfservice Plus

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.42%

  • 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-706
  • Technical References
  • Packet Storm Code Execution Exploit

  • ManageEngine Homepage

  • CISA Known Exploited Vulnerability List
  • Vendor Resources
  • ManageEngine Authentication Bypass Patch
  • Related CVEs
  • CVE-2025-1723: ManageEngine ADSelfService Plus Auth Bypass

  • CVE-2023-35854: ManageEngine ADSelfService Plus Auth Bypass

  • CVE-2023-35719: ManageEngine ADSelfService Plus Auth Bypass

  • CVE-2022-28810: ManageEngine ADSelfService Plus RCE Flaw
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