CWE
Home > CWE List > CWE-284 Individual Dictionary Definition (Draft 9)   View the CWE List

CWE-284 Individual Dictionary Definition (Draft 9)

Access Control Issues
Weakness ID
Status: Incomplete

284 (Weakness Class)

Description

Summary

Improper administration of the permissions to the users of a system can result in unintended access to sensitive files. 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.

Affected Resource

File/Directory

Potential Mitigations

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

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.

Context Notes

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.

Relationships
NatureTypeIDName
ChildOfCategoryCategory264Permissions, Privileges, and Access Controls
ChildOfCategoryCategory632Weaknesses that Affect Files or Directories
ParentOfWeakness BaseWeakness BaseWeakness Base285Missing or Inconsistent Access Control
ParentOfWeakness VariantWeakness VariantWeakness Variant639Access Control Bypass Through User-Controlled Key
Source Taxonomies

PLOVER - Access Control List (ACL) errors

Related Attack Patterns
CAPEC-IDAttack Pattern Name
19Embedding Scripts within Scripts
Page Last Updated: April 22, 2008