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:
    verified: true
    max-request: 1
    vendor: fortinet
    product: fortiauthenticator
    shodan-query: http.favicon.hash:-1653412201
    fofa-query: icon_hash=-1653412201
  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: 490a0046304402202c7a75ada2b4aff5979e91f8f15c30dee1c84fca07178837d020500eeaea526c02206b5af09afced91dbcb36b4dd253e5325becd825827667b87c25ef3c360325edc:922c64590222798bb761d5b6d8e72950