---
title: "CWE-11: ASP.NET Misconfiguration: Creating Debug Binary"
url: https://radicalnotion.ai/cwe/cwe-11
type: cwe
description: "The product has an ASP .NET component that contains a debug binary."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-11: ASP.NET Misconfiguration: Creating Debug Binary

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 2
- **Of those, in CISA KEV:** 0
- **New in 2026:** 0
- **CWE catalog version:** 4.21

## Description

The product has an ASP .NET component that contains a debug binary.

## Background

ASP .NET applications can be configured to produce debug binaries. 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. Such binaries are only meant to be used in a development or testing environment.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |
| Build and Compilation | - |

## Applicable platforms

**Languages:** ASP.NET (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data | Debug binaries give detailed debugging messages, which is useful in a development or testing environment, but can pose a security risk if the debug binary is deployed to production. 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. |

## Potential mitigations

### System Configuration

Avoid releasing debug binaries into the production environment. Change the debug mode to false when the application is deployed into production.

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

## Demonstrative examples

### Example 1

The file web.config contains the debug mode setting. Setting debug to "true" will let the browser display debugging information.

Bad code:

```xml
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.web>
        <compilation
        defaultLanguage="c#"
        debug="true"
        />
        ...
    </system.web>
</configuration>
```

Change the debug mode to false when the application is deployed into production.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-48008 | - | medium | 6.5 | - | No | 2024-12-13 |
| CVE-2021-35235 | ASP.NET Debug Feature Enabled | medium | 5.3 | - | No | 2021-10-27 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-489](https://radicalnotion.ai/cwe/cwe-489) | Active Debug Code |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| 7 Pernicious Kingdoms | ASP.NET Misconfiguration: Creating Debug Binary | - | - |

## Frequently asked questions

### What is CWE-11?

The product has an ASP.NET component that contains a debug binary.

### What CVEs are caused by CWE-11?

2 recorded CVEs are attributed to CWE-11, including CVE-2024-48008 and CVE-2021-35235.

### How do you prevent CWE-11?

Avoid releasing debug binaries into the production environment. Change the debug mode to false when the application is deployed into production.

### How is CWE-11 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

### What are the consequences of CWE-11?

Exploiting CWE-11 can lead to: Read Application Data.

### Is CWE-11 actively exploited?

2 recorded CVEs are caused by CWE-11; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/11.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-11). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
