CWE Database
/

CWE-276

Back to CWE list

CWE-276

Incorrect Default Permissions

Base
Draft

Description

During installation, installed file permissions are set to allow anyone to modify those files.

Common Consequences

Scope

Confidentiality
Integrity

Impact

Read Application Data, Modify Application Data

Potential Mitigations

Architecture and Design
Operation

The architecture needs to access and modification attributes for files to only those users who actually require those actions.

Architecture and Design

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 the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

CVE-2005-1941

Executables installed world-writable.

CVE-2002-1713

Home directories installed world-readable.

CVE-2001-1550

World-writable log files allow information loss; world-readable file has cleartext passwords.

CVE-2002-1711

World-readable directory.

CVE-2002-1844

Windows product uses insecure permissions when installing on Solaris (genesis: port error).

CVE-2001-0497

Insecure permissions for a shared secret key file. Overlaps cryptographic problem.

CVE-1999-0426

Default permissions of a device allow IP spoofing.

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now