id: fortiauthenticator-detect

info:
  name: FortiAuthenticator - Detect
  author: johnk3r
  severity: info
  description: The FortiAuthenticator panel was detected.
  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:fortinet:fortiauthenticator:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: fortiauthenticator
    shodan-query: http.favicon.hash:-1653412201
    vendor: fortinet
    verified: true
  tags: panel,fortinet,fortiauthenticator,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'list_endpoint'
          - 'schema'
          - 'faccloudhost'
        condition: and

      - type: word
        part: header
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 490a0046304402201027eeb262125ce773b869be0007c3a82df043d42ee72df6fa569425e1bf61190220080ce5367f4176f9a47f3978e63b727672923dcb87b75a3c38a79c1dd45d91a2:922c64590222798bb761d5b6d8e72950