Incorrect Execution-Assigned PermissionsID: 279 | Date: (C)2012-05-14 (M)2022-10-10 |
Type: weakness | Status: 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 PlatformsLanguage Class: All
Time Of Introduction
- Architecture and Design
- Operation
Related Attack Patterns
Common Consequences
Scope | Technical Impact | Notes |
---|
ConfidentialityIntegrity | Read application
dataModify application
data | |
Detection MethodsNone
Potential Mitigations
Phase | Strategy | Description | Effectiveness | Notes |
---|
Architecture and DesignOperation | | 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 CWE | Type | View | Chain |
---|
CWE-279 ChildOf CWE-899 | Category | CWE-888 | |
Demonstrative ExamplesNone
Observed Examples
- CVE-2002-0265 : Log files opened read/write.
- CVE-2003-0876 : Log files opened read/write.
- 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
Taxynomy | Id | Name | Fit |
---|
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