id: django-debug-exposure info: name: Django Debug Exposure author: geeknik severity: high description: Django debug mode enabled exposes internal information. reference: - https://twitter.com/Alra3ees/status/1397660633928286208 metadata: max-request: 1 tags: django,exposure http: - method: POST path: - "{{BaseURL}}/admin/login/?next=/admin/" matchers-condition: and matchers: - type: status status: - 500 - type: word part: body words: - "DB_HOST" - "DB_NAME" - "DJANGO" - "ADMIN_PASSWORD" condition: and # digest: 4a0a00473045022075f8eb23f058287e94f409e156c595d9a3160eeca81f66a83d61be4144301dc7022100a96b53e8b7688c50241e531c5e45dac6fb3788d27fce1f21ac315b1279ddbbf6:922c64590222798bb761d5b6d8e72950