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.

Written by
Jijith Rajan
Jijith Rajan
Cyber Security Engineer
Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 10 days