id: django-admin-panel

info:
  name: Python Django Admin Login Panel - Detect
  author: pdteam
  severity: info
  description: Python Django admin 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:djangoproject:django:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: django
    vendor: djangoproject
  tags: panel,django,python,djangoproject

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

    matchers:
      - type: word
        words:
          - "<a href=\"/admin/\">Django administration</a>"
        condition: and
        part: body
# digest: 4a0a00473045022100b9e459a2e2410686287e59d497114f4c41e2e31fa4936194483560ddb48bce1402207c756b1c2321fc279db6302f3aec2c33ee64d8bf2b26bc4771fc32baff98bb64:922c64590222798bb761d5b6d8e72950