Description
Multiple Zoho ManageEngine on-premise products, such as ServiceDesk Plus through 14003, allow remote code execution due to use of Apache Santuario xmlsec (aka XML Security for Java) 1.4.1, because the xmlsec XSLT features, by design in that version, make the application responsible for certain security protections, and the ManageEngine applications did not provide those protections. This affects Access Manager Plus before 4308, Active Directory 360 before 4310, ADAudit Plus before 7081, ADManager Plus before 7162, ADSelfService Plus before 6211, Analytics Plus before 5150, Application Control Plus before 10.1.2220.18, Asset Explorer before 6983, Browser Security Plus before 11.1.2238.6, Device Control Plus before 10.1.2220.18, Endpoint Central before 10.1.2228.11, Endpoint Central MSP before 10.1.2228.11, Endpoint DLP before 10.1.2137.6, Key Manager Plus before 6401, OS Deployer before 1.1.2243.1, PAM 360 before 5713, Password Manager Pro before 12124, Patch Manager Plus before 10.1.2220.18, Remote Access Plus before 10.1.2228.11, Remote Monitoring and Management (RMM) before 10.1.41. ServiceDesk Plus before 14004, ServiceDesk Plus MSP before 13001, SupportCenter Plus before 11026, and Vulnerability Manager Plus before 10.1.2220.18. Exploitation is only possible if SAML SSO has ever been configured for a product (for some products, exploitation requires that SAML SSO is currently active).
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 3 modules
-
ManageEngine ServiceDesk Plus Unauthenticated SAML RCE
exploit/multi/http/manageengine_servicedesk_plus_saml_rce_cve_2022_47966
-
ManageEngine ADSelfService Plus Unauthenticated SAML RCE
exploit/multi/http/manageengine_adselfservice_plus_saml_rce_cve_2022_47966
-
ManageEngine Endpoint Central Unauthenticated SAML RCE
exploit/windows/http/manageengine_endpoint_central_saml_rce_cve_2022_47966
GitHub 5 repositories
-
horizon3ai/CVE-2022-47966 ★ 127 · Jan 17, 2023
POC for CVE-2022-47966 affecting multiple ManageEngine products
-
vonahisec/CVE-2022-47966-Scan ★ 28 · Jan 23, 2023
Python scanner for CVE-2022-47966. Supports ~10 of the 24 affected products.
-
sh4den/CVE-2022-47966 ★ 7 · Jan 23, 2023
The manage engine mass loader for CVE-2022-47966
-
ACE-Responder/CVE-2022-47966_checker ★ 2 · Jan 23, 2023
Run on your ManageEngine server
-
shameem-testing/PoC-for-ME-SAML-Vulnerability ★ 0 · Jan 19, 2023
PoC for cve-2022-47966
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- ManageEngine - Remote Command Execution http/cves/2022/CVE-2022-47966.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- WID-SEC-2023-0115 Zoho ManageEngine Produkte: Schwachstelle ermöglicht Codeausführung mit Systemrechten BSI CERT-Bund (WID) · Jan 19, 2023
References
- https://github.com/apache/santuario-xml-security-java/tags?after=1.4.6
- https://www.manageengine.com/security/advisory/CVE/cve-2022-47966.html
- http://packetstormsecurity.com/files/170882/Zoho-ManageEngine-ServiceDesk-Plus-14003-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/170925/ManageEngine-ADSelfService-Plus-Unauthenticated-SAML-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/170943/Zoho-ManageEngine-Endpoint-Central-MSP-10.1.2228.10-Remote-Code-Execution.html
- https://blog.viettelcybersecurity.com/saml-show-stopper/
- https://github.com/horizon3ai/CVE-2022-47966
- https://www.horizon3.ai/manageengine-cve-2022-47966-technical-deep-dive/
- https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-250a
- https://attackerkb.com/topics/gvs0Gv8BID/cve-2022-47966/rapid7-analysis