Django Debug Method Enabled

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.
Jijith Rajan
Written by
Cyber Security Engineer

His passion for staying abreast of the latest security threats and trends, coupled with his hands-on experience, allows him to actively contribute to the protection of digital assets. Jijith's dedication and enthusiasm make him a promising talent in the ever-evolving realm of cybersecurity, promising a safer digital future.

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo