[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248678

 
 

909

 
 

195426

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CWE
view XML

Incorrect Execution-Assigned Permissions

ID: 279Date: (C)2012-05-14   (M)2022-10-10
Type: weaknessStatus: DRAFT
Abstraction Type: Variant





Description

While it is executing, the software sets the permissions of an object in a way that violates the intended permissions that have been specified by the user.

Applicable Platforms
Language Class: All

Time Of Introduction

  • Architecture and Design
  • Operation

Related Attack Patterns

Common Consequences

ScopeTechnical ImpactNotes
Confidentiality
Integrity
 
Read application data
Modify application data
 
 

Detection Methods
None

Potential Mitigations

PhaseStrategyDescriptionEffectivenessNotes
Architecture and Design
Operation
 
 Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
 
  
Architecture and Design
 
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 that the compartmentalization serves to allow for and further reinforce privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide when it is appropriate to use and to drop system privileges.
 
  

Relationships

Related CWETypeViewChain
CWE-279 ChildOf CWE-899 Category CWE-888  

Demonstrative Examples
None

Observed Examples

  1. CVE-2002-0265 : Log files opened read/write.
  2. CVE-2003-0876 : Log files opened read/write.
  3. CVE-2002-1694 : Log files opened read/write.

For more examples, refer to CVE relations in the bottom box.

White Box Definitions
None

Black Box Definitions
None

Taxynomy Mappings

TaxynomyIdNameFit
PLOVER  Insecure execution-assigned permissions
 
 
CERT C Secure Coding FIO06-C
 
Create files with appropriate access permissions
 
 
CERT Java Secure Coding FIO01-J
 
Create files with appropriate access permission
 
 
CERT C++ Secure Coding FIO06-CPP
 
Create files with appropriate access permissions
 
 

References:
None

CVE    1
CVE-2020-8025

© SecPod Technologies