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

CWE-276 Individual Dictionary Definition (Draft 9)

Insecure Default Permissions
Weakness ID
Status: Draft

276 (Weakness Variant)

Description

Summary

A program, upon installation, sets insecure permissions for an object.

Likelihood of Exploit

Medium

Weakness Ordinality

Primary (Weakness exists independent of other weaknesses)

Causal Nature

Implicit (This is an implicit weakness)

Potential Mitigations

Very carefully manage the setting, management and handling of permissions. 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.

Observed Examples
ReferenceDescription
CVE-2005-1941Executables installed world-writable.
CVE-2002-1713Home directories installed world-readable.
CVE-2001-1550World-writable log files allow information loss; world-readable file has cleartext passwords.
CVE-2002-1711World-readable directory.
CVE-2002-1844Windows product uses insecure permissions when installing on Solaris (genesis: port error).
CVE-2001-0497Insecure permissions for a shared secret key file. Overlaps cryptographic problem.
CVE-1999-0426Default permissions of a device allow IP spoofing.
Relationships
NatureTypeIDName
ChildOfCategoryCategory275Permission Issues
IsRequiredByCompound Element: CompositeCompound Element: Composite689Permission Race Condition During Resource Copy
Source Taxonomies

PLOVER - Insecure Default Permissions

Applicable Platforms

All

Related Attack Patterns
CAPEC-IDAttack Pattern Name
81Web Logs Tampering
1Accessing Functionality Not Properly Constrained by ACLs
19Embedding Scripts within Scripts
Page Last Updated: April 22, 2008