[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248392

 
 

909

 
 

195452

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CWE
view XML

Incorrect Default Permissions

ID: 276Date: (C)2012-05-14   (M)2022-10-10
Type: weaknessStatus: DRAFT
Abstraction Type: Variant





Description

The software, upon installation, sets incorrect permissions for an object that exposes it to an unintended actor.

Likelihood of Exploit: Medium

Applicable Platforms
Language Class: All

Time Of Introduction

  • Architecture and Design
  • Implementation
  • Installation
  • Operation

Related Attack Patterns

Common Consequences

ScopeTechnical ImpactNotes
Confidentiality
Integrity
 
Read application data
Modify application data
 
 

Detection Methods
None

Potential Mitigations

PhaseStrategyDescriptionEffectivenessNotes
Architecture and Design
Operation
 
 Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
 
  
Architecture and Design
 
Separation of Privilege
 
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 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.
 
  

Relationships

Related CWETypeViewChain
CWE-276 ChildOf CWE-899 Category CWE-888  

Demonstrative Examples
None

Observed Examples

  1. CVE-2005-1941 : Executables installed world-writable.
  2. CVE-2002-1713 : Home directories installed world-readable.
  3. CVE-2001-1550 : World-writable log files allow information loss; world-readable file has cleartext passwords.
  4. CVE-2002-1711 : World-readable directory.
  5. CVE-2002-1844 : Windows product uses insecure permissions when installing on Solaris (genesis: port error).
  6. CVE-2001-0497 : Insecure permissions for a shared secret key file. Overlaps cryptographic problem.
  7. CVE-1999-0426 : Default permissions of a device allow IP spoofing.

For more examples, refer to CVE relations in the bottom box.

White Box Definitions
None

Black Box Definitions
None

Taxynomy Mappings

TaxynomyIdNameFit
PLOVER  Insecure Default Permissions
 
 
CERT C Secure Coding FIO06-C
 
Create files with appropriate access permissions
 
 
CERT Java Secure Coding FIO01-J
 
Create files with appropriate access permission
 
 
CERT C++ Secure Coding FIO06-CPP
 
Create files with appropriate access permissions
 
 

References:

  1. Mark Dowd John McDonald Justin Schuh .The Art of Software Security Assessment 1st Edition. Addison Wesley. Section:'Chapter 3, "Insecure Defaults", Page 69.'. Published on 2006.
CVE    523
CVE-2011-1435
CVE-2011-2859
CVE-2011-2782
CVE-2011-4361
...

© SecPod Technologies