目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-732 关键资源的不正确权限授予 类漏洞列表 594

CWE-732 关键资源的不正确权限授予 类弱点 594 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-732属于权限配置错误漏洞,指关键资源被赋予过于宽泛的访问权限,导致非预期主体可读取或修改。攻击者常利用此缺陷窃取敏感数据或篡改系统配置,引发信息泄露或服务中断。开发者应避免使用默认宽松权限,严格遵循最小权限原则,在代码中显式设置精确的访问控制列表,并定期审计资源权限配置,确保仅授权必要主体访问。

MITRE CWE 官方描述
CWE:CWE-732 关键资源权限分配错误 英文:产品在为安全关键资源(security-critical resource)指定权限时,方式不当,导致该资源可被非预期行为者(unintended actors)读取或修改。 当资源被赋予比所需范围更广泛的访问权限时,可能导致敏感信息泄露,或被非预期方修改该资源。当资源与程序配置(program configuration)、执行(execution)或敏感用户数据(sensitive user data)相关时,这种情况尤其危险。例如,考虑一个配置错误的云存储账户(storage account),其可被公共用户或匿名用户读取或写入。
常见影响 (3)
Confidentiality Read Application Data, Read Files or Directories
An attacker may be able to read sensitive information from the associated resource, such as credentials or configuration information stored in a file.
Access Control Gain Privileges or Assume Identity
An attacker may be able to modify critical properties of the associated resource to gain privileges, such as replacing a world-writable executable with a Trojan horse.
Integrity, Other Modify Application Data, Other
An attacker may be able to destroy or corrupt critical data in the associated resource, such as deletion of records from a database.
缓解措施 (5)
Implementation When using a critical resource such as a configuration file, check to see if the resource has insecure permissions (such as being modifiable by any regular user) [REF-62], and generate an error or even exit the software if there is a possibility that the resource could have been modified by an unauthorized party.
Architecture and Design Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully defining distinct user groups, privileges, and/or roles. Map these against data, functionality, and the related resources. Then set the permissions accordingly. This will allow you to maintain more fine-grained control over your resources. [REF-207]
Effectiveness: Moderate
Architecture and Design, Operation Run the code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by the software. OS-level examples include the Unix chroot jail, AppArmor, and SELinux. In general, managed code may provide some protection. For ex…
Effectiveness: Limited
Implementation, Installation During program startup, explicitly set the default permissions or umask to the most restrictive setting possible. Also set the appropriate permissions during program installation. This will prevent you from inheriting insecure permissions from any user who installs or runs the program.
Effectiveness: High
System Configuration For all configuration files, executables, and libraries, make sure that they are only readable and writable by the software's administrator.
Effectiveness: High
代码示例 (2)
The following code sets the umask of the process to 0 before creating a file and writing "Hello world" into the file.
#define OUTFILE "hello.out" umask(0); FILE *out; /* Ignore link following (CWE-59) for brevity */ out = fopen(OUTFILE, "w"); if (out) { fprintf(out, "hello world!\n"); fclose(out); }
Bad · C
-rw-rw-rw- 1 username 13 Nov 24 17:58 hello.out
Result
This code creates a home directory for a new user, and makes that user the owner of the directory. If the new directory cannot be owned by the user, the directory is deleted.
function createUserDir($username){ $path = '/home/'.$username; if(!mkdir($path)){ return false; } if(!chown($path,$username)){ rmdir($path); return false; } return true; }
Bad · PHP
CVE ID 标题 CVSS 风险等级 Published
CVE-2020-26196 DELL EMC PowerScale 安全漏洞 — PowerScale OneFS 5.5 Medium 2021-02-09
CVE-2020-26194 DELL EMC PowerScale 权限许可和访问控制问题漏洞 — PowerScale OneFS 7.0 High 2021-02-09
CVE-2021-22850 HGiga EIP 访问控制错误漏洞 — OAKSv20 OAKlouds-document_v3 5.3 Medium 2021-01-19
CVE-2020-25191 National Instruments Compactrio 授权问题漏洞 — CompactRIO 6.5 - 2020-12-11
CVE-2020-7337 Mcafee McAfee VirusScan Enterprise 权限许可和访问控制问题漏洞 — VirusScan Enterprise (VSE) 6.5 Medium 2020-12-09
CVE-2020-10762 Red Hat OpenShift Container Storage 日志信息泄露漏洞 — gluster-block 5.5 - 2020-11-24
CVE-2020-15708 Red Hat libvirt 安全漏洞 — libvirt 9.3 Critical 2020-11-06
CVE-2020-10140 Acronis True Image 访问控制错误漏洞 — True Image 7.8 High 2020-10-21
CVE-2020-17414 Adobe Reader和Foxit Reader 安全漏洞 — Reader 7.8 - 2020-10-13
CVE-2020-17415 mPDF和Foxit PhantomPDF 安全漏洞 — PhantomPDF 7.8 - 2020-10-13
CVE-2020-16202 Advantech WebAccess Node 安全漏洞 — WebAccess Node 7.8 - 2020-09-22
CVE-2020-10781 Linux kernel 资源管理错误漏洞 — kernel 5.5 Medium 2020-09-16
CVE-2020-7314 McAfee Agent 安全漏洞 — McAfee DXL for Mac shipped with MA 8.2 High 2020-09-10
CVE-2020-5369 Dell EMC Isilon OneFS 安全漏洞 — Isilon OneFS 8.8 High 2020-09-02
CVE-2020-17402 Corel Parallels Desktop 安全漏洞 — Desktop 6.5 - 2020-08-25
CVE-2020-5417 Cloud Foundry 安全漏洞 — CAPI 8.1 - 2020-08-21
CVE-2020-5385 Dell Encryption和Dell Endpoint Security Suite 安全漏洞 — Dell Encryption Enterprise 6.7 Medium 2020-08-18
CVE-2020-5371 Dell EMC Isilon OneFS和EMC PowerScale 安全漏洞 — Isilon OneFS 8.0 High 2020-07-06
CVE-2020-12041 Baxter Spectrum WBM 安全漏洞 — Baxter Sigma Spectrum Infusion Pumps 9.4 - 2020-06-29
CVE-2020-5358 Dell Encryption和Dell Endpoint Security Suite 安全漏洞 — Dell Encryption Enterprise 6.7 Medium 2020-06-15
CVE-2020-8473 ABB System 800xA Base 安全漏洞 — System 800xA Base 7.3 High 2020-04-28
CVE-2020-8472 多款ABB产品安全漏洞 — OPC Server for AC 800M 5.5 Medium 2020-04-28
CVE-2020-10699 Linux targetcli-fb 访问控制错误漏洞 — targetcli 7.8 High 2020-04-15
CVE-2020-10642 Rockwell Automation RSLinx Classic 安全漏洞 — Rockwell Automation RSLinx Classic versions 4.1.00 and prior 7.8 - 2020-04-13
CVE-2020-10883 TP-Link Archer A7 AC1750 安全漏洞 — Archer A7 7.8 - 2020-03-25
CVE-2020-1707 Red Hat OpenShift 安全漏洞 — openshift/postgresql-apb 7.0 High 2020-03-20
CVE-2020-1709 Red Hat OpenShift 安全漏洞 — openshift/mediawiki 7.0 High 2020-03-20
CVE-2019-19335 Red Hat OpenShift 安全漏洞 — openshift/installer 6.0 - 2020-03-18
CVE-2020-1736 Ansible 安全漏洞 — ansible 2.2 Low 2020-03-16
CVE-2019-18577 Dell EMC XtremIO XMS 安全漏洞 — XtremIO 6.7 - 2020-03-13

CWE-732(关键资源的不正确权限授予) 是常见的弱点类别,本平台收录该类弱点关联的 594 条 CVE 漏洞。