CWE-277: CWE-277: Insecure Inherited Permissions

VariantStable

Description

View on MITRE
Back to CWE Lookup

Technical Details

Structure
Simple
Vulnerability Mapping
ALLOWED

Applicable To

Languages
Languages
Platforms
Languages

Frequently Asked Questions

What is CWE-277: CWE-277: Insecure Inherited Permissions?+

CWE-277: CWE-277: Insecure Inherited Permissions is a Common Weakness Enumeration (CWE) entry maintained by MITRE. Description

What are the security consequences of CWE-277: Insecure Inherited Permissions?+

If exploited, CWE-277 (CWE-277: Insecure Inherited Permissions) it can compromise Read Application Data and Modify Application Data, leading to outcomes such as Scope: Confidentiality and Integrity.

How do you prevent or mitigate CWE-277: Insecure Inherited Permissions?+

Recommended mitigations for CWE-277 include: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software. Strategy: Separation of Privilege Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

Which programming languages are affected by CWE-277: Insecure Inherited Permissions?+

CWE-277 commonly affects Languages. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

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

A CWE (Common Weakness Enumeration) like CWE-277 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