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

CWE-277 Individual Dictionary Definition (Draft 9)

Insecure Inherited Permissions
Weakness ID
Status: Draft

277 (Weakness Variant)

Description

Summary

A product defines a set of insecure permissions that are inherited by objects that are created by the program.

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-1841User's umask is used when creating temp files.
CVE-2002-1786Insecure umask for core dumps [is the umask preserved or assigned?].
Relationships
NatureTypeIDName
ChildOfCategoryCategory275Permission Issues
Source Taxonomies

PLOVER - Insecure inherited permissions

Applicable Platforms

All

Page Last Updated: April 22, 2008