id: wallix-accessmanager-panel

info:
  name: Wallix Access Manager Panel - Detect
  author: righettod
  severity: info
  description: Wallix Access Manager panel was detected.
  reference:
    - https://www.wallix.com/privileged-access-management/access-manager/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:wallix:bastion_access_manager:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    shodan-query: http.title:"Wallix Access Manager"
    product: bastion_access_manager
    vendor: wallix
  tags: panel,wallix,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/wabam'
      - '{{BaseURL}}/wabam/favicon.ico'

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 3

    matchers-condition: or
    matchers:
      - type: dsl
        dsl:
          - "status_code==200"
          - "contains(tolower(body), '<title>wallix access manager</title>')"
        condition: and

      - type: dsl
        dsl:
          - "status_code==200"
          - "('1745235488' == mmh3(base64_py(body)))"
        condition: and
# digest: 4b0a00483046022100fd76f56998a51fadb2a927fb42da51ad517325c187b0447fb2bed430b9eaa62f022100b99771b1e94de48c317c30948eb0ae129a28fc69e2ebe2da222072c2ffd2f3e3:922c64590222798bb761d5b6d8e72950