CWE-277 不安全的继承权限

Insecure Inherited Permissions

结构: Simple

Abstraction: Variant

状态: Draft

被利用可能性: unkown

基本描述

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

相关缺陷

  • cwe_Nature: ChildOf cwe_CWE_ID: 732 cwe_View_ID: 1000 cwe_Ordinal: Primary

适用平台

Language: {'cwe_Class': 'Language-Independent', 'cwe_Prevalence': 'Undetermined'}

常见的影响

范围 影响 注释
['Confidentiality', 'Integrity'] ['Read Application Data', 'Modify Application Data']

可能的缓解方案

MIT-1 ['Architecture and Design', 'Operation']

策略:

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

MIT-46 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.

分析过的案例

标识 说明 链接
CVE-2005-1841 User's umask is used when creating temp files. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1841
CVE-2002-1786 Insecure umask for core dumps [is the umask preserved or assigned?]. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1786

分类映射

映射的分类名 ImNode ID Fit Mapped Node Name
PLOVER Insecure inherited permissions