πŸš€ Submit a Challenge β€” SecDim AppSec Village CTF at DEF CON 34 and Win a ROG Xbox Ally

Active Debug Code Left in Production

Active debug code can create unintended entry points or expose sensitive information. The severity of the exposed debug code will depend on the particular instance. At the least, it will give an attacker sensitive information about the settings and mechanics of web applications on the server. At worst, as is often the case, the debug code will allow an attacker complete control over the web application and server, as well as confidential information that either of these access.

Remediation

To remediate this vulnerability, all debug functionality, test hooks, and development backdoors should be removed or disabled before deployment to production environments. Secure build and release processes should ensure that debugging features are not included in production builds, and configuration reviews should verify that debug modes are disabled prior to distribution.

Metadata

  • Severity: high
  • Slug: active-debug-code-left-in-production

CWEs

  • 489: Active Debug Code
  • 1295: Debug Messages Revealing Unnecessary Information

OWASP

  • A05:2021: Security Misconfiguration

Available Labs

Select a language to explore available labs for this vulnerability.

No matching labs found

Try adjusting your language filter.

Try it yourself

Find, Hack and Fix Your First Vulnerability

Reading about security bugs is one thing β€” fixing one is how the skill sticks. Play a free challenge from the wargame, no setup required.