id: wagtail-login

info:
  name: Wagtail Login - Detect
  author: kishore-hariram
  severity: info
  description: The Wagtail panel has been detected.
  classification:
    cvss-metrics: CVSS:3.1/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:torchbox:wagtail:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: torchbox
    product: wagtail
    shodan-query:
      - title:"Wagtail - Sign in"
      - http.title:"wagtail - sign in"
    fofa-query: title="wagtail - sign in"
    google-query: intitle:"wagtail - sign in"
  tags: panel,wagtail,torchbox

http:
  - method: GET
    path:
      - '{{BaseURL}}/login/?next=/'
      - '{{BaseURL}}/admin/login/?next=/admin/'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Wagtail - Sign in'

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