目标达成 感谢每一位支持者 — 我们达成了 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-2022-21699 Interactive Python 安全漏洞 — ipython 8.2 High 2022-01-19
CVE-2021-34998 Panda Security Free Antivirus 权限许可和访问控制问题漏洞 — Free Antivirus 7.8 - 2022-01-13
CVE-2021-1118 NVIDIA vGPU Software 安全漏洞 — NVIDIA Virtual GPU Software 7.8 High 2021-10-29
CVE-2021-3576 Total Security 安全漏洞 — Endpoint Security Tools 7.8 High 2021-10-28
CVE-2021-41035 Eclipse Openj9 安全漏洞 — Eclipse OMR 9.1 - 2021-10-25
CVE-2021-37174 Siemens RUGGEDCOM 授权问题漏洞 — RUGGEDCOM ROX MX5000 7.5 - 2021-09-14
CVE-2021-1579 Cisco Application Policy Infrastructure Controller 授权问题漏洞 — Cisco Application Policy Infrastructure Controller (APIC) 8.1 High 2021-08-25
CVE-2021-25653 Avaya Aura Appliance Virtualization Platform Utilities (AVPU) 安全漏洞 — Avaya Aura Appliance Virtualization Platform Utilities 8.0 High 2021-06-24
CVE-2021-25651 Avaya Aura Utility Services 安全漏洞 — Avaya Aura Utility Services 8.0 High 2021-06-24
CVE-2021-25650 Avaya Aura Utility Services 安全漏洞 — Avaya Aura Utility Services 7.7 High 2021-06-24
CVE-2021-1528 Cisco SD-WAN Software 安全漏洞 — Cisco SD-WAN Solution 7.8 High 2021-06-04
CVE-2020-27826 Red Hat Keycloak 安全漏洞 — keycloak 5.9 - 2021-05-28
CVE-2021-0256 Juniper Networks Junos OS 安全漏洞 — Junos OS 5.5 Medium 2021-04-22
CVE-2021-0255 Juniper Networks Junos OS 安全漏洞 — Junos OS 5.5 Medium 2021-04-22
CVE-2021-27448 Grid Solutions GE MU320E 安全漏洞 — MU320E 7.8 - 2021-03-25
CVE-2021-27454 Grid Solutions GE Reason DR60 安全漏洞 — Reason DR60 9.8 - 2021-03-25
CVE-2020-26278 Weaveworks Weave Net 安全漏洞 — weave 5.8 Medium 2021-01-20
CVE-2021-0223 Juniper Networks Junos OS 授权问题漏洞 — Junos OS 7.8 High 2021-01-15
CVE-2021-0204 Juniper Networks Junos OS 信息泄露漏洞 — Junos OS 7.8 High 2021-01-15
CVE-2020-10056 Siemens LMU 安全漏洞 — License Management Utility (LMU) 7.8 - 2020-09-09
CVE-2020-10290 Universal Robots controller 安全漏洞 — URx 6.8 - 2020-08-21
CVE-2020-14493 OpenClinic GA 安全漏洞 — OpenClinic GA 8.8 High 2020-07-29
CVE-2020-2023 Kata Containers 安全漏洞 — Kata Containers 3.8 Low 2020-06-10
CVE-2019-15790 Apport 安全漏洞 — Apport 2.8 Low 2020-04-27
CVE-2020-7252 McAfee Data eXchange Layer Framework 代码问题漏洞 — Data Exchange Layer (DXL) Broker 4.2 Medium 2020-02-17
CVE-2019-16784 PyInstaller 安全漏洞 — PyInstaller 7.0 High 2020-01-14
CVE-2019-16767 ezmaster 安全漏洞 — ezmaster 6.6 Medium 2019-11-29
CVE-2019-16765 Microsoft Visual Studio Code 输入验证错误漏洞 — vscode-codeql 7.4 High 2019-11-25
CVE-2019-10147 rkt 权限许可和访问控制问题漏洞 — rkt 7.7 - 2019-06-03
CVE-2019-10145 rkt 权限许可和访问控制问题漏洞 — rkt 7.7 - 2019-06-03

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