---
title: "CWE-556: ASP.NET Misconfiguration: Use of Identity Impersonation"
url: https://radicalnotion.ai/cwe/cwe-556
type: cwe
description: "Configuring an ASP.NET application to run with impersonated credentials may give the application unnecessary privileges."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-556: ASP.NET Misconfiguration: Use of Identity Impersonation

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

## Description

Configuring an ASP.NET application to run with impersonated credentials may give the application unnecessary privileges.

## Background

The use of impersonated credentials allows an ASP.NET application to run with either the privileges of the client on whose behalf it is executing or with arbitrary privileges granted in its configuration.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |
| Operation | - |

## Applicable platforms

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control | Gain Privileges or Assume Identity | - |

## Potential mitigations

### Architecture and Design

Use the least privilege principle.

## 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.)

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-37081 | - | high | 7.8 | - | No | 2024-06-18 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-266](https://radicalnotion.ai/cwe/cwe-266) | Incorrect Privilege Assignment |

## Frequently asked questions

### What is CWE-556?

Configuring an ASP.NET application to run with impersonated credentials may give the application unnecessary privileges.

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

1 recorded CVE is attributed to CWE-556: CVE-2024-37081.

### How do you prevent CWE-556?

Use the least privilege principle.

### How is CWE-556 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-556?

Exploiting CWE-556 can lead to: Gain Privileges or Assume Identity.

### Is CWE-556 actively exploited?

1 recorded CVE is caused by CWE-556; it is not currently in CISA's KEV catalog of actively exploited flaws.

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

---

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