id: fortisiem-panel

info:
  name: Fortinet FortiSIEM - Panel
  author: pussycat0x,darses
  severity: info
  description: |
    FortiSIEM login panel was discovered.
  classification:
    cpe: cpe:2.3:a:fortinet:fortisiem:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: fortinet
    product: fortisiem
    shodan-query:
      - http.favicon.hash:-1341442175
      - http.html:"var hst = location.hostname"
    fofa-query:
      - icon_hash="-1341442175"
      - body="var hst = location.hostname"
  tags: panel,fortinet,login

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Login</title>"
          - "loginToFlexDiv"
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: kval
        part: header
        kval:
          - last_modified
# digest: 4a0a00473045022067146bba1fae278d1fde366615d5479c63e237a8329011c563ba4da11301af90022100a00b556fc9579a4711cea347e929b4a16b7388803b66c8d8f2928797ed94d172:922c64590222798bb761d5b6d8e72950