id: fortinet-panel

info:
  name: Fortinet Login Panel - Detect
  author: pikpikcu,daffainfo
  severity: info
  description: Fortinet login 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:fortiportal:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.title:"FORTINET LOGIN"
    product: fortiportal
    vendor: fortinet
  tags: panel,fortinet,login,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/login"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'FORTINET LOGIN</title>'

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