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

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: 490a0046304402202bb26f013a12c5d4a6a39e1d2a5c10815cb2e3309f3c6566a01bd50d420c8c5c02206656f06d605e115e5cf04b3a9dc1422ec3f7f48092647204098eedc39a0ef64c:922c64590222798bb761d5b6d8e72950