id: fortinet-fortios-management-panel

info:
  name: Fortinet FortiOS Management Interface Panel - Detect
  author: mbmy
  severity: info
  description: Fortinet FortiOS Management interface 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:o:fortinet:fortios:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: fortios
    shodan-query: http.favicon.hash:945408572
    vendor: fortinet
    verified: true
  tags: panel,fortinet,fortios,fortigate,fortiproxy,fortiap

http:
  - method: GET
    path:
      - "{{BaseURL}}/login?redir=/ng"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<html class="main-app">'
          - '<f-icon class="fa-warning'
          - "</f-icon>"
        condition: and

      - type: word
        part: header
        words:
          - "APSCOOKIE_"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100c5dbc6a45032d58901f1cc4a5ce809d79797b916dd6fad1ae3128f3d518eff96022100b3e427ce44c13c7767a6a340824f5d7d87384a940fdb48f3a0181030f0d1c6ce:922c64590222798bb761d5b6d8e72950