HexBrain

Browse / CVEs / CVE-2022-35405

CVE-2022-35405· zohocorp / manageengine access manager plus· CWE-502

Zoho ManageEngine - Remote Code Execution

Exploited in the wild. Listed by CISA on 2022-09-22; known to be used by ransomware.

criticalseverity
9.8CVSS score
99.9%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

Zoho ManageEngine Password Manager Pro, PAM 360, and Access Manager Plus are susceptible to unauthenticated remote code execution via XML-RPC. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.

Fix

Apply the latest security patch or update provided by Zoho ManageEngine to fix the vulnerability.

How to confirm it

Send: POST {{RootURL}}/xmlrpc
Positive when: contains "<name>faultString</name>" AND contains "No such service [{{randstr}}]" or "No such handler: {{randstr}}" AND contains "<methodResponse>" or "</methodResponse>"

Run it with nuclei: nuclei -id CVE-2022-35405 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2022-35405

info:
  name: Zoho ManageEngine - Remote Code Execution
  author: viniciuspereiras,true13
  severity: critical
  description: |
    Zoho ManageEngine Password Manager Pro, PAM 360, and Access Manager Plus are susceptible to unauthenticated remote code execution via XML-RPC. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Apply the latest security patch or update provided by Zoho ManageEngine to fix the vulnerability.
  reference:
    - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/zoho_password_manager_pro_xml_rpc_rce.rb
    - https://xz.aliyun.com/t/11578
    - https://www.manageengine.com/products/passwordmanagerpro/advisory/cve-2022-35405.html
    - https://www.bigous.me/2022/09/06/CVE-2022-35405.html
    - https://nvd.nist.gov/vuln/detail/CVE-2022-35405
  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-35405
    cwe-id: CWE-502
    epss-score: 0.99873
    epss-percentile: 0.99963
    cpe: cpe:2.3:a:zohocorp:manageengine_access_manager_plus:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zohocorp
    product: manageengine_access_manager_plus
    shodan-query:
      - http.title:"ManageEngine"
      - http.title:"manageengine"
    fofa-query: title="manageengine"
    google-query: intitle:"manageengine"
  tags: cve,cve2022,rce,zoho,passwordmanager,deserialization,unauth,msf,kev,zohocorp,vkev,vuln

http:
  - method: POST
    path:
      - "{{RootURL}}/xmlrpc"

    body: |
      <?xml version="1.0"?><methodCall><methodName>{{randstr}}</methodName><params><param><value>big0us</value></param></params></methodCall>

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<name>faultString</name>"

      - type: word
        part: body
        words:
          - "No such service [{{randstr}}]"
          - "No such handler: {{randstr}}"
        condition: or

      - type: word
        part: body
        words:
          - "<methodResponse>"
          - "</methodResponse>"
        condition: or

References

Use this check only on systems you are authorised to test. Where the data comes from