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-3498 Incorrect Permission Assignment Privilege Escalation Vulnerability — Toshiba Tec e-Studio multi-function peripheral (MFP) 7.8 High 2024-06-14
CVE-2024-27147 Local Privilege Escalation and Remote Code Execution using snmpd — Toshiba Tec e-Studio multi-function peripheral (MFP) 7.4 High 2024-06-14
CVE-2024-27146 Lack of privileges separation — Toshiba Tec e-Studio multi-function peripheral (MFP) 6.7 Medium 2024-06-14
CVE-2024-27143 Pre-authenticated Remote Code Execution — Toshiba Tec e-Studio multi-function peripheral (MFP) 9.8 Critical 2024-06-14
CVE-2024-0084 CVE — vGPU software and Cloud Gaming 7.8 High 2024-06-13
CVE-2024-35142 IBM Security Verify Access privilege escalation — Security Verify Access Docker 8.4 High 2024-05-31
CVE-2024-5042 Submariner-operator: rbac permissions can allow for the spread of node compromises 6.6 Medium 2024-05-17
CVE-2024-27260 IBM AIX command execution — AIX 8.4 High 2024-05-16
CVE-2024-27110 Elevation of privilege vulnerability in GE HealthCare EchoPAC products — EchoPAC Software Only 8.4 High 2024-05-14
CVE-2024-25967 Dell PowerScale OneFS 安全漏洞 — PowerScale OneFS 6.7 Medium 2024-05-14
CVE-2024-28005 NEC Aterm 安全漏洞 — WG1800HP4 9.1AI Critical AI 2024-03-28
CVE-2024-0073 CVE — GPU Display driver, vGPU driver, Cloud Gaming driver 7.8 High 2024-03-27
CVE-2024-1222 Incorrect authorization controls in PaperCut NG/MF APIs — PaperCut NG, PaperCut MF 8.6 High 2024-03-14
CVE-2023-45592 AiLux imx6 安全漏洞 — imx6 bundle 6.8 Medium 2024-03-05
CVE-2023-30617 Leverage the kruise-daemon pod to list all secrets in the entire cluster — kruise 6.5 Medium 2024-01-03
CVE-2023-33873 AVEVA Operations Control Logger Execution with Unnecessary Privileges — SystemPlatform 7.8 High 2023-11-15
CVE-2023-6006 Privilege Escalation Vulnerability — PaperCut NG, PaperCut MF 7.8 High 2023-11-14
CVE-2023-43018 IBM CICS TX privilege escalation — CICS TX Standard 5.9 Medium 2023-11-02
CVE-2023-27313 Privilege Escalation Vulnerability in SnapCenter — SnapCenter 8.3 High 2023-10-12
CVE-2023-27312 Privilege Escalation Vulnerability in SnapCenter Plugin for VMware vSphere — SnapCenter Plugin for VMware vSphere 5.4 Medium 2023-10-12
CVE-2023-1943 Privilege Escalation in kOps using GCE/GCP Provider in Gossip Mode — kops 8.0 High 2023-10-11
CVE-2023-5207 Execution with Unnecessary Privileges in GitLab — GitLab 8.2 High 2023-09-30
CVE-2023-4003 One Identity Password Manager version 5.9.7.1 - Unauthenticated physical access privilege escalation — One 7.6 High 2023-09-27
CVE-2023-4662 RCE in Saphira Connect — Saphira Connect 9.8 Critical 2023-09-15
CVE-2023-4814 Trellix Data Loss Prevention 安全漏洞 — Data Loss Prevention Endpoint for Windows 7.1 High 2023-09-14
CVE-2023-31175 Execution with Unnecessary Privileges — SEL-5037 SEL Grid Configurator 8.8 High 2023-08-31
CVE-2023-20217 Cisco ThousandEyes Enterprise Agent 安全漏洞 — Cisco ThousandEyes Recorder Application 5.5 Medium 2023-08-16
CVE-2023-32486 Dell PowerScale OneFS 安全漏洞 — PowerScale OneFS 6.7 Medium 2023-08-16
CVE-2023-38641 Siemens SICAM TOOLBOX II 安全漏洞 — SICAM TOOLBOX II 7.8 High 2023-08-08
CVE-2023-39508 Apache Airflow: Airflow "Run task" feature allows execution with unnecessary priviledges — Apache Airflow 8.8 - 2023-08-05

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