结构: Simple
Abstraction: Base
状态: Draft
被利用可能性: unkown
The software does not properly verify that a critical resource is owned by the proper entity.
cwe_Nature: ChildOf cwe_CWE_ID: 282 cwe_View_ID: 1000 cwe_Ordinal: Primary
cwe_Nature: ChildOf cwe_CWE_ID: 282 cwe_View_ID: 699 cwe_Ordinal: Primary
Language: {'cwe_Class': 'Language-Independent', 'cwe_Prevalence': 'Undetermined'}
范围 | 影响 | 注释 |
---|---|---|
Access Control | Gain Privileges or Assume Identity | An attacker could gain unauthorized access to system resources. |
策略:
Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
策略: Separation of Privilege
Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.
This function is part of a privileged program that takes input from users with potentially lower privileges.
bad Python
This code does not confirm that the process to be killed is owned by the requesting user, thus allowing an attacker to kill arbitrary processes.
This function remedies the problem by checking the owner of the process before killing it:
good Python
标识 | 说明 | 链接 |
---|---|---|
CVE-2001-0178 | Program does not verify the owner of a UNIX socket that is used for sending a password. | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-0178 |
CVE-2004-2012 | Owner of special device not checked, allowing root. | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2012 |
映射的分类名 | ImNode ID | Fit | Mapped Node Name |
---|---|---|---|
PLOVER | Unverified Ownership |