Django Debug Method Enabled

By
Jijith Rajan
Published on
10 Jan 2022
Vulnerability

Description

Django web application is running with debug mode turned on. One of the main features of debug mode is the display of detailed error pages.

If the app raises an exception when DEBUG is enabled, Django will display a detailed trackback, including a lot of metadata about your environment, such as all the currently defined Django settings from settings.py

Recommendation

  • Disable debug mode, set DEBUG = False in your Django settings file.
Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Jijith Rajan
Jijith Rajan
Cyber Security Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment
Experience the power of automated penetration testing & contextual reporting.