Skip to content
Info disclosure Disclosed report Beginner

Django DEBUG mode enabled and leaked system information.

Django DEBUG mode was left enabled, so error pages exposed sensitive system information. By following the errors, the researcher obtained configuration details, API keys, database users and system directories.

aungkyawphyo Follow

Originally disclosed on HackerOne

  • Fixed in 15 hours
  • Disclosed after 15 hours

Summary by the program

We were leaking / showing system information.

Summary by the researcher

Django DEBUG mode was enabled and showing some information on some errors.I just follow the errors and finally got some sensitive system information such as configuation ,API keys ,Database users ,System Directories,etc..

The original report as published on HackerOne, by aungkyawphyo. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could obtain configuration details, API keys, database users and system directories, which may aid further attacks.

What the attacker needed

None

The fix

Disabling DEBUG mode would prevent detailed error pages from exposing information.

How it was found

  1. Trigger errors in the application.
  2. Follow the error output to reach pages that reveal sensitive system information.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Django is a web framework, and its DEBUG mode is a development setting that shows detailed error pages. When left on in production, those pages can reveal secrets like API keys and database details to anyone who triggers an error. The researcher simply followed the error messages to collect this information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Dropcontact

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.