ASP.NET Misconfiguration: Creating Debug Binary |
Weakness ID: 11 (Weakness Variant) | Status: Draft |
Description Summary
Extended Description
ASP .NET applications can be configured to produce debug binaries. These binaries give detailed debugging messages and should not be used in production environments. Debug binaries are meant to be used in a development or testing environment and can pose a security risk if they are deployed to production.
Scope | Effect |
---|---|
Confidentiality | Attackers can leverage the additional information they gain from debugging output to mount attacks targeted on the framework, database, or other resources used by the application. |
Example 1
The file web.config contains the debug mode setting. Setting debug to "true" will let the browser display debugging information.
Change the debug mode to false when the application is deployed into production.
Avoid releasing debug binaries into the production environment. Change the debug mode to false when the application is deployed into production (See demonstrative example). |
The debug attribute of the <compilation> tag defines whether compiled binaries should include debugging information. The use of debug binaries causes an application to provide as much information about itself as possible to the user. |
Nature | Type | ID | Name | View(s) this relationship pertains to![]() |
---|---|---|---|---|
ChildOf | ![]() | 2 | Environment | Seven Pernicious Kingdoms (primary)700 |
ChildOf | ![]() | 10 | ASP.NET Environment Issues | Development Concepts (primary)699 |
ChildOf | ![]() | 215 | Information Leak Through Debug Information | Research Concepts (primary)1000 |
Mapped Taxonomy Name | Node ID | Fit | Mapped Node Name |
---|---|---|---|
7 Pernicious Kingdoms | ASP.NET Misconfiguration: Creating Debug Binary |
Submissions | ||||
---|---|---|---|---|
Submission Date | Submitter | Organization | Source | |
7 Pernicious Kingdoms | Externally Mined | |||
Modifications | ||||
Modification Date | Modifier | Organization | Source | |
2008-07-01 | Eric Dalci | Cigital | External | |
updated Demonstrative Example, Potential Mitigations, Time of Introduction | ||||
2008-09-08 | CWE Content Team | MITRE | Internal | |
updated Relationships, Other Notes, Taxonomy Mappings | ||||
2008-11-24 | CWE Content Team | MITRE | Internal | |
updated Description, Other Notes | ||||
2009-07-27 | CWE Content Team | MITRE | Internal | |
updated Background Details, Common Consequences, Demonstrative Examples, Description, Other Notes |