What is Zoho ManageEngine ADSelfService Plus?
Zoho ManageEngine ADSelfService Plus is an enterprise self-service password management and single sign-on platform for Active Directory environments. It allows employees to reset their own passwords, unlock accounts, and enroll in multi-factor authentication without IT helpdesk involvement. ADSelfService Plus is tightly integrated with Active Directory and often deployed facing corporate networks or the internet to support remote workers. Because it integrates directly with AD and processes authentication for the organization's users, it is an extremely high-value target for attackers seeking domain access.
Overview
CVE-2021-40539 is a critical authentication bypass vulnerability (CWE-706) in Zoho ManageEngine ADSelfService Plus. Certain REST API URLs bypass authentication due to incorrect URL pattern matching in the servlet filter configuration. An unauthenticated attacker can reach these endpoints and exploit them for remote code execution. CISA issued an advisory in September 2021 warning that multiple APT groups — including Chinese-nexus actors and APT33 — were actively exploiting this vulnerability to compromise organizations including defense contractors, healthcare, and educational institutions.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| ADSelfService Plus | < Build 6114 | Build 6114 |
Technical Details
ADSelfService Plus uses a Java servlet filter to enforce authentication on web requests. The filter pattern matching uses URL patterns to determine which requests require authentication. The filter configuration has a flaw in how it matches certain REST API URL patterns:
- Root cause: Authentication filter bypass (CWE-706 — use of incorrectly-resolved name or reference) — certain REST API URL patterns are not matched by the authentication filter, allowing unauthenticated access
- Bypass pattern: Specific REST API endpoints for SAML SSO and password-related operations are reachable without authentication
- RCE path: The accessible REST API endpoints support file upload or script execution that, when exploited, achieves code execution on the ADSelfService Plus server
- Execution context: Code runs as the ADSelfService Plus service account — which has AD integration privileges including the ability to reset passwords and manage user accounts
Discovery
Identified by security researchers and exploited by APT actors before the patch was widely applied. ManageEngine released the patch in August 2021; CISA issued a warning of active APT exploitation in September 2021.
Exploitation Context
Multiple APT groups including Chinese-nexus actors and groups with ties to Iranian intelligence (APT33/Elfin) exploited CVE-2021-40539 against US defense contractors, educational institutions, and healthcare organizations. The attackers used the initial foothold to deploy webshells, enumerate AD infrastructure, steal credentials, and in some cases deploy ransomware. The ADSelfService Plus position in AD management made it a particularly valuable compromise target — access to AD allows adversaries to persist, escalate, and move laterally across the entire organization.
Remediation
- Upgrade ADSelfService Plus to Build 6114 or later immediately
- If the ADSelfService Plus server was internet-accessible before patching, treat it as potentially compromised — check for webshells in the application directories
- Restrict ADSelfService Plus access to internal/VPN-connected users only
- Review Active Directory for unauthorized account modifications, new privileged accounts, or password resets during the exploitation window
- Audit ADSelfService Plus access logs for REST API calls to authentication-bypassed endpoints
- Rotate all service account credentials used by ADSelfService Plus for AD integration
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2021-40539 |
| Vendor / Product | Zoho — ManageEngine |
| NVD Published | 2021-09-07 |
| NVD Last Modified | 2025-11-05 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-706 find similar ↗ |
| CISA KEV Added | 2021-11-03 |
| CISA KEV Deadline | 2021-11-17 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2021-08-17 | ManageEngine releases ADSelfService Plus Build 6114 patching CVE-2021-40539 |
| 2021-09-07 | CVE published |
| 2021-09-16 | CISA issues advisory warning of active exploitation by APT actors |
| 2021-11-03 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2021-11-17 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| ManageEngine Security Advisory — CVE-2021-40539 | Vendor Advisory |
| CISA Advisory on CVE-2021-40539 | US Government |
| NVD — CVE-2021-40539 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |