Zoho ManageEngine
Zoho ManageEngine ADSelfService Plus Authentication Bypass Vulnerability
Zoho ManageEngine ADSelfService Plus version 6113 and prior is vulnerable to REST API authentication bypass with resultant remote code execution.
Timeline
Days relative to CVE publicationFirst public PoC 57 days after publication; added to CISA KEV 57 days after publication. First PoC: synacktiv/CVE-2021-40539 (created 3 Nov 2021, found by us: backfilled).
PoC repositories
Found on GitHub.5 PoCs · 1 informational
PoCs 5
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| synacktiv/CVE-2021-40539 | 3 Nov 2021 +57 d | 48 | PoC |
| yingdushenyou/infoceshi | 27 Dec 2023 +2.3 y | 0 | PoC |
| lpyzds/CVE-2021-40539 | 12 Oct 2024 +3.1 y | 0 | PoC |
| lpyydxs/CVE-2021-40539 | 12 Oct 2024 +3.1 y | 1 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| Bu0uCat/ADSelfService-Plus-RCE-CVE-2021-40539 | 16 Oct 2024 +3.1 y | 2 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| DarkSprings/CVE-2021-40539 | 17 Sep 2021 +9.4 d | 2 | Informational · write-up
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: ManageEngine ADSelfService Plus CVE-2021-40539 (exploit/windows/http/manageengine_adselfservice_plus_cve_2021_40539) | 24 Nov 2021 | 14 Nov 2026 |
| nuclei template | nuclei template: Zoho ManageEngine ADSelfService Plus v6113 - Unauthenticated Remote Command Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 5 PoC reposPOST /help/admin-guide/test.jsp
- Body markers
cmd=powershell "whoami"inapplication/x-www-form-urlencoded- Seen in
- 5 repos: Bu0uCat/ADSelfService-Plus-RCE-CVE-2021-40539, lpyydxs/CVE-2021-40539, lpyzds/CVE-2021-40539, synacktiv/CVE-2021-40539, yingdushenyou/infoceshi
- Evidence
- Bu0uCat/ADSelfService-Plus-RCE-CVE-2021-40539/CVE-2021-40539.py:163 lpyydxs/CVE-2021-40539/CVE-2021-40539.py:146 lpyzds/CVE-2021-40539/CVE-2021-40539.py:146 synacktiv/CVE-2021-40539/exploit.py:135 yingdushenyou/infoceshi/exploit.py:135
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/help/admin-guide/test\.jsp(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-40539 Zoho ManageEngine exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/help/admin-guide/test.jsp"; http.request_body; content:"cmd=powershell |22|whoami|22|"; reference:url,poc.griffinguard.io/cve/CVE-2021-40539; classtype:web-application-attack; sid:9668426; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Zoho ManageEngine exploit attempt (CVE-2021-40539)
id: gg-pocmon-cve-2021-40539-9668426
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-40539. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-40539
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/help/admin-guide/test.jsp'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.40539