id: fortiweb-login

info:
  name: Fortinet FortiWeb Login Panel - Detect
  author: PR3R00T,daffainfo
  severity: info
  description: Fortinet FortiWeb 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:fortiweb:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: fortinet
    product: fortiweb
    shodan-query:
      - http.title:"FortiWeb - "
      - http.title:"fortiweb - "
    fofa-query: title="fortiweb - "
    google-query: intitle:"fortiweb - "
  tags: panel,fortinet,fortiweb,login,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Please login"
          - "ftnt-fortinet-grid"
        condition: and

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