CWEweakness

CWE-520 .NET Misconfiguration: Use of Impersonation

Official page ↗
Abstraction
Variant
Structure
Simple
Status
Incomplete
Languages
ASP.NET, Not Language-Specific, VB.NET
CWE version
5.0

Description

Allowing a .NET application to run at potentially escalated levels of access to the underlying operating and file systems can be dangerous and result in various forms of attacks.

Common consequences

• Access Control: Gain Privileges or Assume Identity

Potential mitigations

• [Operation] Run the application with limited privilege to the underlying operating and file system.

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

Related

Child of · CWE (1)

  • CWE-266 Incorrect Privilege Assignment weakness

Referenced by CVE · weakness (5)

  • CVE-2026-13444 IBM Langflow OSS 1.0.0 through 1.10.1 can allow an attacker to access another user's private vector documents by creating their own flow… vulnerability
  • CVE-2026-13442 IBM Langflow OSS 1.0.0 through 1.10.1 can allow an attacker to reuse another user's FAISS namespace to access owner-only vector content and… vulnerability
  • CVE-2026-2450 .NET misconfiguration: use of impersonation vulnerability in upKeeper Solutions upKeeper Instant Privilege Access allows Hijacking a… vulnerability
  • CVE-2019-25608 Iperius Backup 6.1.0 contains a privilege escalation vulnerability that allows low-privilege users to execute arbitrary programs with… vulnerability
  • CVE-2024-46943 An issue was discovered in OpenDaylight Authentication, Authorization and Accounting (AAA) through 0.19.3. vulnerability

Referenced by OWASP · mapped cwe (1)

  • A05:2021 Security Misconfiguration Top 10 2021