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

目标: 1000 元 · 已筹: 1336

100%

CWE-250 带着不必要的权限执行 类漏洞列表 280

CWE-250 带着不必要的权限执行 类弱点 280 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-250指程序以高于实际所需的最小权限级别执行操作。这种过度授权不仅可能直接引发权限提升漏洞,还会放大其他安全缺陷的后果。攻击者常利用此弱点,通过触发特定功能获取更高系统控制权,从而执行恶意代码或窃取敏感数据。开发者应遵循最小权限原则,在代码中严格限制进程权限,确保仅授予完成任务所必需的最低特权,从而降低潜在安全风险。

MITRE CWE 官方描述
CWE:CWE-250 Execution with Unnecessary Privileges 英文:The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.
常见影响 (1)
Confidentiality, Integrity, Availability, Access Control Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands, Read Application Data, DoS: Crash, Exit, or Restart
An attacker will be able to gain access to any resources that are allowed by the extra privileges. Common results include executing code, disabling services, and reading restricted data. New weaknesses can be exposed because running with extra privileges, such as root or Administrator, can disable t…
缓解措施 (5)
Architecture and Design, Operation Run your code using the lowest privileges that are required to accomplish the necessary tasks [REF-76]. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database ad…
Architecture and Design Identify the functionality that requires additional privileges, such as access to privileged operating system resources. Wrap and centralize this functionality if possible, and isolate the privileged code as much as possible from other code [REF-76]. Raise privileges as late as possible, and drop them as soon as possible to avoid CWE-271. Avoid weaknesses such as CWE-288 and CWE-420 by protecting …
Architecture and Design Identify the functionality that requires additional privileges, such as access to privileged operating system resources. Wrap and centralize this functionality if possible, and isolate the privileged code as much as possible from other code [REF-76]. Raise privileges as late as possible, and drop them as soon as possible to avoid CWE-271. Avoid weaknesses such as CWE-288 and CWE-420 by protecting …
Implementation Perform extensive input validation for any privileged code that must be exposed to the user and reject anything that does not fit your strict requirements.
Implementation When dropping privileges, ensure that they have been dropped successfully to avoid CWE-273. As protection mechanisms in the environment get stronger, privilege-dropping calls may fail even if it seems like they would always succeed.
代码示例 (2)
This code temporarily raises the program's privileges to allow creation of a new user folder.
def makeNewUserDir(username): if invalidUsername(username): #avoid CWE-22 and CWE-78 print('Usernames cannot contain invalid characters') return False try: raisePrivileges() os.mkdir('/home/' + username) lowerPrivileges() except OSError: print('Unable to create new user directory for user:' + username) return False return True
Bad · Python
The following code calls chroot() to restrict the application to a subset of the filesystem below APP_HOME in order to prevent an attacker from using the program to gain unauthorized access to files located elsewhere. The code then opens a file specified by the user and processes the contents of the file.
chroot(APP_HOME); chdir("/"); FILE* data = fopen(argv[1], "r+"); ...
Bad · C
CVE ID 标题 CVSS 风险等级 Published
CVE-2024-28140 Image Access Scan2Net 安全漏洞 — Scan2Net 9.8 - 2024-12-11
CVE-2024-28139 Image Access Scan2Net 安全漏洞 — Scan2Net 7.8 - 2024-12-11
CVE-2024-49804 IBM Security Verify Access 安全漏洞 — Security Verify Access 7.8 High 2024-11-29
CVE-2021-38118 OpenText iManager 安全漏洞 — iManager 5.5 Medium 2024-11-22
CVE-2024-52799 Argo Workflows 安全漏洞 — argo-helm 8.3 High 2024-11-21
CVE-2024-11075 SICK Incoming Goods Suite 安全漏洞 — SICK Incoming Goods Suite 8.8 High 2024-11-19
CVE-2020-26074 Cisco?SD-WAN vManage 授权问题漏洞 — Cisco Catalyst SD-WAN Manager 7.8 High 2024-11-18
CVE-2024-8781 TR7 Application Security Platform 安全漏洞 — Application Security Platform (ASP) 7.8AI High AI 2024-11-18
CVE-2024-51722 BlackBerry SecuSUITE 安全漏洞 — SecuSUITE 6.4 Medium 2024-11-12
CVE-2024-48837 Dell SmartFabric OS10 安全漏洞 — SmartFabric OS10 Software 7.8 High 2024-11-12
CVE-2024-47903 Siemens InterMesh 7177和Siemens InterMesh 7707 安全漏洞 — InterMesh 7177 Hybrid 2.0 Subscriber 5.8 Medium 2024-10-23
CVE-2024-20420 Cisco ATA 190 安全漏洞 — Cisco Analog Telephone Adaptor (ATA) Software 5.4 Medium 2024-10-16
CVE-2024-9473 Palo Alto Networks GlobalProtect 安全漏洞 — GlobalProtect App 7.8AI High AI 2024-10-09
CVE-2024-43583 Microsoft Winlogon 安全漏洞 — Windows 10 Version 1507 7.8 High 2024-10-08
CVE-2024-8903 Acronis Cyber Protect Cloud Agent 安全漏洞 — Acronis Cyber Protect Cloud Agent 7.8AI High AI 2024-09-23
CVE-2024-8767 Acronis多款产品 安全漏洞 — Acronis Backup plugin for cPanel & WHM 8.8 - 2024-09-17
CVE-2024-7387 Red Hat OpenShift Container Platform 安全漏洞 9.1 Critical 2024-09-16
CVE-2024-35783 Siemens SIMATIC 安全漏洞 — SIMATIC BATCH V9.1 9.1 Critical 2024-09-10
CVE-2024-45034 Apache Airflow 安全漏洞 — Apache Airflow 7.8 - 2024-09-07
CVE-2024-5623 B&R Industrial Automation APROL 安全漏洞 — B&R APROL 7.3AI High AI 2024-08-29
CVE-2024-5622 B&R APROL 安全漏洞 — B&R APROL 7.8AI High AI 2024-08-29
CVE-2024-20478 Cisco Application Policy Infrastructure Controller 安全漏洞 — Cisco Application Policy Infrastructure Controller (APIC) 6.5 Medium 2024-08-28
CVE-2024-36398 Siemens SINEC NMS 安全漏洞 — SINEC NMS 7.8 High 2024-08-13
CVE-2024-6913 PerkinElmer ProcessPlus 安全漏洞 — ProcessPlus 9.8AI Critical AI 2024-07-22
CVE-2024-20435 Cisco AsyncOS 安全漏洞 — Cisco Secure Web Appliance 8.8 High 2024-07-17
CVE-2024-35154 IBM WebSphere Application Server 安全漏洞 — WebSphere Application Server 7.2 High 2024-07-09
CVE-2024-32853 Dell PowerScale OneFS 安全漏洞 — PowerScale OneFS 4.4 Medium 2024-07-02
CVE-2023-30997 IBM Security Verify Access 安全漏洞 — Security Access Manager Docker 7.8 High 2024-06-27
CVE-2023-30998 多款产品安全漏洞 — Security Access Manager Docker 7.8 High 2024-06-27
CVE-2024-31890 IBM i 安全漏洞 — i 7.8 High 2024-06-21

CWE-250(带着不必要的权限执行) 是常见的弱点类别,本平台收录该类弱点关联的 280 条 CVE 漏洞。