CWE
Home > CWE List > CWE- Individual Dictionary Definition (1.4)  

CWE-284: Access Control (Authorization) Issues

Individual Definition in a New Window
Access Control (Authorization) Issues
Status: Incomplete
Weakness ID: 284 (Weakness Class)
+ Description
Summary

Improper administration of the permissions to the users of a system can result in unintended access to sensitive files.

+ Alternate Terms
Authorization

The terms "authorization" and "access control" seem to be used interchangeable.

+ Time of Introduction
* Architecture and Design
* Implementation
* Operation
+ Potential Mitigations

Very carefully manage the setting, management and handling of privileges. Explicitly manage trust zones in the software.

Architecture and Design

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.

+ Background Details

An access control list (ACL) represents who/what has permissions to a given object. Different operating systems implement (ACLs) in different ways. In UNIX, there are three types of permissions: read, write, and execute. Users are divided into three classes for file access: owner, group owner, and all other users where each class has a separate set of rights. In Windows NT, there are four basic types of permissions for files: "No access", "Read access", "Change access", and "Full control". Windows NT extends the concept of three types of users in UNIX to include a list of users and groups along with their associated permissions. A user can create an object (file) and assign specified permissions to that object.

+ Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ChildOfWeakness ClassWeakness ClassWeakness Class693Protection Mechanism Failure
Research Concepts (primary)1000
ChildOfCategoryCategory264Permissions, Privileges, and Access Controls
Development Concepts (primary)699
ChildOfCategoryCategory632Weaknesses that Affect Files or Directories
Resource-specific Weaknesses (primary)631
ChildOfCategoryCategory723OWASP Top Ten 2004 Category A2 - Broken Access Control
Weaknesses in OWASP Top Ten (2004) (primary)711
ParentOfWeakness BaseWeakness BaseWeakness Base285Improper Access Control (Authorization)
Development Concepts (primary)699
Research Concepts (primary)1000
ParentOfWeakness BaseWeakness BaseWeakness Base639Access Control Bypass Through User-Controlled Key
Development Concepts (primary)699
Research Concepts (primary)1000
ParentOfWeakness VariantWeakness VariantWeakness Variant647Use of Non-Canonical URL Paths for Authorization Decisions
Development Concepts (primary)699
Research Concepts (primary)1000
+ Affected Resources
* File/Directory
+ Taxonomy Mappings
Mapped Taxonomy NameMapped Node Name
PLOVERAccess Control List (ACL) errors
+ Maintenance Notes

The name of this item implies that it is a category for general access control / authorization issues, although the description is limited to permissions.

This item needs more work. Possible sub-categories include:

* Trusted group includes undesired entities

* Group can perform undesired actions

* ACL parse error does not fail closed

+ Content History
Submissions
PLOVER. (Externally Mined)
Modifications
Eric Dalci. Cigital. 2008-07-01. (External)
updated Time_of_Introduction
CWE Content Team. MITRE. 2008-09-08. (Internal)
updated Alternate_Terms, Background_Details, Description, Maintenance_Notes, Name, Relationships, Taxonomy_Mappings
CWE Content Team. MITRE. 2008-10-14. (Internal)
updated Relationships
CWE Content Team. MITRE. 2009-03-10. (Internal)
updated Relationships
Previous Entry Names
* Access Control Issues (changed 2008-09-09)
Page Last Updated: May 26, 2009