Skip to main content

CWE-271: Privilege Dropping / Lowering Errors

ClassIncompleteExploit Likelihood: High

The product does not drop privileges before passing control of a resource to an actor that does not have those privileges.

View on MITRE
Back to CWE Lookup

Extended Description

In some contexts, a system executing with elevated permissions will hand off a process/file/etc. to another process or user. If the privileges of an entity are not reduced, then elevated privileges are spread throughout a system and possibly to an attacker.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Frequently Asked Questions

What is CWE-271: Privilege Dropping / Lowering Errors?+

CWE-271: Privilege Dropping / Lowering Errors is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product does not drop privileges before passing control of a resource to an actor that does not have those privileges. In some contexts, a system executing with elevated permissions will hand off a process/file/etc. to another process or user. If the privileges of an entity are not reduced, then elevated privileges are spread throughout a system and possibly to an attacker.

What are the security consequences of Privilege Dropping / Lowering Errors?+

If exploited, CWE-271 (Privilege Dropping / Lowering Errors) it can compromise Access Control and Non-Repudiation, leading to outcomes such as Gain Privileges or Assume Identity and Hide Activities.

Which programming languages are affected by Privilege Dropping / Lowering Errors?+

CWE-271 commonly affects Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

What are real-world examples of Privilege Dropping / Lowering Errors?+

MITRE documents real CVEs mapped to CWE-271, including CVE-2000-1213, CVE-2001-0559, CVE-2001-0787, CVE-2002-0080 and CVE-2001-1029. You can look up the full details of each CVE, including CVSS scores and remediation guidance, on our CVE Lookup tool.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-271 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More