Django Debug Mode Enabled

high Web App Scanning Plugin ID 114269

Synopsis

Django Debug Mode Enabled

Description

Django is a free and open-source Python web application framework which offers a debug mode which allows developers to get additional information to help troubleshooting their applications including stack traces on error pages, exposing variables defined in your Django settings. A remote unauthenticated attacker could leverage these information to access sensitive information about current application requests and configuration.

Solution

Disable Django debug mode by setting `DEBUG = False` in your Django settings file.

See Also

https://docs.djangoproject.com/en/5.0/ref/settings/

Plugin Details

Severity: High

ID: 114269

Type: remote

Published: 4/23/2024

Updated: 4/23/2024

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS Score Source: Tenable

Reference Information