id: thruk-login

info:
  name: Thruk Monitoring Panel - Detect
  author: ffffffff0x
  severity: info
  description: Thruk Monitoring 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:thruk:thruk:*:*:*:*:*:*:*:*
  metadata:
    fofa-query: title=="Thruk Monitoring Webinterface"
    max-request: 1
    product: thruk
    vendor: thruk
  tags: thruk,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}/thruk/cgi-bin/login.cgi?thruk/"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Thruk Monitoring Webinterface</title>'

      - type: word
        part: header
        words:
          - "thruk_test="
# digest: 490a004630440220461db05be41c586bb039c962ac4f5482390da4d22a6dd9af2d48cfda353cb6360220690e311bcb2d3267e209598436360a1c59bd10fdda0b88bedf5307ab8194d6eb:922c64590222798bb761d5b6d8e72950