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,discovery

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: 4a0a00473045022100cea38e95c609af13d11fed776ebd8749bc099ccab150062d5d7d10e1f752f344022055db856254dd2bbdc91ef3af8b93f719a5f9e1229b690117bfa6ecfe0b3c16bf:922c64590222798bb761d5b6d8e72950