id: casdoor-login

info:
  name: Casdoor Login Panel - Detect
  author: princechaddha
  severity: info
  description: Casdoor login panel was detected.
  reference:
    - https://casdoor.org/
  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:casbin:casdoor:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: casdoor
    shodan-query: http.title:"Casdoor"
    vendor: casbin
  tags: panel,casdoor,casbin

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

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

      - type: status
        status:
          - 200
# digest: 490a004630440220316022fd744519e112b4d069cf87e3d538d1e90049cf9bb12c29e39fa9e20c53022052f0186966dc197f9d2a5ff7d2d003db012151a3ed523747f863d2baba75104f:922c64590222798bb761d5b6d8e72950