Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-250 (带着不必要的权限执行) — Vulnerability Class 280

280 vulnerabilities classified as CWE-250 (带着不必要的权限执行). AI Chinese analysis included.

CWE-250 represents a critical architectural weakness where software executes operations using elevated privileges beyond what is strictly necessary for the task. This misconfiguration typically allows attackers to exploit other vulnerabilities, such as buffer overflows or injection flaws, by granting them higher-level access than intended. If an attacker compromises a low-privilege component, the excessive permissions amplify the impact, potentially leading to full system compromise or unauthorized data modification. To mitigate this risk, developers must adhere to the principle of least privilege, ensuring that each process or user account operates with only the minimum permissions required for its specific function. Implementing strict access controls, regularly auditing permission assignments, and isolating services further reduce the attack surface, thereby limiting the potential damage from any single security breach.

MITRE CWE Description
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.
Common Consequences (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…
Mitigations (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.
Examples (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 Title CVSS Severity Published
CVE-2024-13090 Privilege escalation in Guardian/CMC before 24.6.0 — Guardian 7.0 High 2025-06-10
CVE-2025-5196 Wing FTP Server Lua Admin Console unnecessary privileges — FTP Server 6.6 Medium 2025-05-26
CVE-2025-33103 IBM i privilege escalation — i 8.5 High 2025-05-17
CVE-2025-0921 Information Tampering Vulnerability in Multiple Services of GENESIS64, ICONICS Suite, MobileHMI, Hyper Historian, AnalytiX, IoTWorX, MC Works64, GENESIS, GENESIS32, and BizViz — GENESIS64 6.5 Medium 2025-05-15
CVE-2025-1137 IBM Storage Scale command injection — Storage Scale 7.5 High 2025-05-10
CVE-2025-3925 BrightSign Players Execution with Unnecessary Privileges — BrightSign OS series 4 players 7.8 High 2025-05-07
CVE-2024-6030 Tesla Model S oFono Unnecessary Privileges Sandbox Escape Vulnerability — Model S 8.8AI High AI 2025-04-30
CVE-2025-23181 Ribbon Communications - CWE-250: Execution with Unnecessary Privileges — Apollo 9608 8.0 High 2025-04-29
CVE-2025-23180 Ribbon Communications - CWE-250: Execution with Unnecessary Privileges — Apollo 9608 8.0 High 2025-04-29
CVE-2025-1951 IBM Hardware Management Console - Power Systems command execution — Hardware Management Console - Power Systems 8.4 High 2025-04-22
CVE-2025-32445 Users can gain privileged access to the host system and cluster with EventSource and Sensor CR — argo-events 10.0 Critical 2025-04-15
CVE-2025-0120 GlobalProtect App: Local Privilege Escalation (PE) Vulnerability — GlobalProtect App 7.0AI High AI 2025-04-11
CVE-2025-23009 SonicWALL NetExtender Windows client 安全漏洞 — NetExtender 7.1AI High AI 2025-04-10
CVE-2025-23008 SonicWALL NetExtender Windows client 安全漏洞 — NetExtender 8.1AI High AI 2025-04-10
CVE-2025-3364 HGiga PowerStation - Chroot Escape — PowerStation 6.7 Medium 2025-04-08
CVE-2024-11821 Privilege Escalation in langgenius/dify — langgenius/dify 5.7 - 2025-03-20
CVE-2024-48013 Dell SmartFabric OS10 安全漏洞 — SmartFabric OS10 Software 8.8 High 2025-03-17
CVE-2024-2240 Docker implementation in Brocade SANnav is missing Audit Rules. — Brocade SANnav 8.8 - 2025-02-14
CVE-2024-7102 Execution with Unnecessary Privileges in GitLab — GitLab 9.6 Critical 2025-02-13
CVE-2024-8266 Execution with Unnecessary Privileges in GitLab — GitLab 4.4 Medium 2025-02-13
CVE-2024-12673 Lenovo Vantage 安全漏洞 — Vantage 7.8 High 2025-02-12
CVE-2024-21924 AMD System Management Mode 安全漏洞 — AMD EPYC™ 7002 Processors 8.2 High 2025-02-11
CVE-2025-22890 Humming Heads Defense Platform 安全漏洞 — Defense Platform Home Edition 7.8 - 2025-02-06
CVE-2024-49814 IBM Security Verify Access Appliance Privilege Escalation — Security Verify Access Appliance 7.8 High 2025-02-06
CVE-2025-20185 Cisco Secure Email and Web Manager, Secure Email Gateway, and Secure Web Appliance Privilege Escalation Vulnerability — Cisco Secure Email 3.4 Low 2025-02-05
CVE-2023-37412 IBM Aspera Faspex improper access control — Aspera Faspex 4.4 Medium 2025-01-29
CVE-2025-24814 Apache Solr: Core-creation with "trusted" configset can use arbitrary untrusted files — Apache Solr 9.8 - 2025-01-27
CVE-2024-47978 Dell NativeEdge 安全漏洞 — NativeEdge 7.8 High 2024-12-25
CVE-2024-35141 IBM Security Verify Access privilege escalation — Security Verify Access Docker 7.8 High 2024-12-19
CVE-2024-31891 IBM Storage Scale privilege escalation — Storage Scale 7.8 High 2024-12-14

Vulnerabilities classified as CWE-250 (带着不必要的权限执行) represent 280 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.