{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2021-40539 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"No fix has been published for CVE-2021-40539 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.","what":"CVE-2021-40539 is a critical authentication bypass vulnerability in Zohocorp Manageengine Adselfservice Plus, published on 7 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-40539 and fix it if it is affected.\n\nWhat it is: CVE-2021-40539 is a critical authentication bypass vulnerability in Zohocorp Manageengine Adselfservice Plus, published on 7 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-40539 in the wild since at least 3 Nov 2021, including in ransomware campaigns.\n\nAffected product: Zohocorp Manageengine Adselfservice Plus. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-40539/ (Markdown: https://insights.sbomify.com/CVE-2021-40539/index.md)","id":"CVE-2021-40539","markdown":"https://insights.sbomify.com/CVE-2021-40539/index.md","name":"CVE-2021-40539","record":{"aliases":["GHSA-gww8-rh9f-5mjq"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"AD Self-Service Plus","requires_auth":"none","summary":"Attackers can bypass REST API authentication to achieve remote code execution on Zoho ManageEngine ADSelfService Plus servers.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"manageengine_adselfservice_plus","vendor":"zohocorp"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"description":"Zoho ManageEngine ADSelfService Plus version 6113 and prior is vulnerable to REST API authentication bypass with resultant remote code execution.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2021-09-07","github_poc":5,"max_poc_stars":48,"metasploit":1,"nuclei":1,"refs":[{"date":"2021-11-03T14:49:27Z","kind":"github_poc","ref":"https://github.com/synacktiv/CVE-2021-40539","stars":48,"title":"Exploitation code for CVE-2021-40539"},{"date":"2021-09-17T02:51:40Z","kind":"github_poc","ref":"https://github.com/DarkSprings/CVE-2021-40539","stars":2,"title":"CVE-2021-40539 POC"},{"date":"2024-10-16T11:23:43Z","kind":"github_poc","ref":"https://github.com/Bu0uCat/ADSelfService-Plus-RCE-CVE-2021-40539","stars":2,"title":"ADSelfService Plus RCE漏洞 检测工具 (二开)"},{"date":"2024-10-12T09:09:00Z","kind":"github_poc","ref":"https://github.com/lpyydxs/CVE-2021-40539","stars":1,"title":"CVE-2021-40539：ADSelfService Plus RCE漏洞"},{"date":"2021-09-07","kind":"metasploit","ref":"exploit/windows/http/manageengine_adselfservice_plus_cve_2021_40539","stars":null,"title":"ManageEngine ADSelfService Plus CVE-2021-40539"},{"date":"2024-10-12T09:01:42Z","kind":"github_poc","ref":"https://github.com/lpyzds/CVE-2021-40539","stars":0,"title":"CVE-2021-40539：ADSelfService Plus RCE漏洞"},{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-40539.yaml","stars":null,"title":"Zoho ManageEngine ADSelfService Plus v6113 - Unauthenticated Remote Command Execution"}],"tier":"exploited"},"has_fix":null,"headline":"Zoho ManageEngine ADSelfService Plus Authentication Bypass","id":"CVE-2021-40539","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2021-11-17","knownRansomwareCampaignUse":"Known","product":"ManageEngine","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Zoho","vulnerabilityName":"Zoho ManageEngine ADSelfService Plus Authentication Bypass Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"zohocorp:manageengine_adselfservice_plus","products":["zohocorp:manageengine_adselfservice_plus"],"type":"auth_bypass","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Null dereference in n/a","id":"CVE-2021-40540"},"packages":[],"prev":{"headline":"Server-side request forgery in n/a","id":"CVE-2021-40537"},"products":["n/a"],"published":"2021-09-07","related":[{"cvss_score":6.8,"headline":"Zoho ManageEngine ADSelfService Plus Remote Code Execution","id":"CVE-2022-28810","kev_date_added":"2023-03-07","published":"2022-04-18"},{"cvss_score":10,"headline":"Server-side request forgery in n/a","id":"CVE-2019-3905","kev_date_added":null,"published":"2019-01-03"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2023-35854","kev_date_added":null,"published":"2023-06-20"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2021-37422","kev_date_added":null,"published":"2021-09-10"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2021-37423","kev_date_added":null,"published":"2021-09-10"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2021-33055","kev_date_added":null,"published":"2021-08-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Attackers can bypass REST API authentication to achieve remote code execution on Zoho ManageEngine ADSelfService Plus servers.","url":"https://insights.sbomify.com/CVE-2021-40539/"}