id: hpe-autopass-panel

info:
  name: HPE AutoPass License Server - Panel Detection
  author: kylianghd
  severity: info
  description: Detects an exposed HPE AutoPass License Server web interface on the default HTTPS port (5814) by probing the /autopass endpoint.
  metadata:
    max-request: 2
    vendor: hpe
    product: autopass-license-server
  tags: panel,exposure,misconfig,hpe,autopass

http:
  - method: GET
    path:
      - "https://{{Hostname}}:5814/autopass"
      - "https://{{Hostname}}:5814/autopass/"
    redirects: true
    max-redirects: 2
    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: regex
        part: body
        regex:
          - "(?i)autopass"
# digest: 4a0a00473045022100f050544821edd1ec1686cd0947bfac6d5e44d5d4cdaeb70e77e3eefb0b7909cb022074aacff676ae1923745b7185302c0a32dbefe9c0ed63c4080a1092b5680e9179:922c64590222798bb761d5b6d8e72950