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

Goal: 1000 CNY · Raised: 1110 CNY

100%

CWE-284 (访问控制不恰当) — Vulnerability Class 2102

2102 vulnerabilities classified as CWE-284 (访问控制不恰当). AI Chinese analysis included.

CWE-284 represents a critical security weakness where software fails to properly restrict access to sensitive resources, allowing unauthorized actors to interact with data or functions they should not reach. This flaw typically arises when developers neglect to implement robust authentication or authorization checks, enabling attackers to bypass security controls through direct URL manipulation, token forgery, or privilege escalation techniques. Exploitation often leads to severe consequences, including data breaches, unauthorized system modifications, or complete service disruption. To mitigate this risk, developers must enforce strict access control policies at every layer of the application architecture. This involves implementing comprehensive identity verification, applying the principle of least privilege, and rigorously validating user permissions before granting access to any protected resource, ensuring that only authenticated and authorized users can perform specific actions.

MITRE CWE Description
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. Access control involves the use of several protection mechanisms such as: Authentication (proving the identity of an actor) Authorization (ensuring that a given actor can access a resource), and Accountability (tracking of activities that were performed) When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses: Specification: incorrect privileges, permissions, ownership, etc. are explicitly specified for either the user or the resource (for example, setting a password file to be world-writable, or giving administrator capabilities to a guest user). This action could be performed by the program or the administrator. Enforcement: the mechanism contains errors that prevent it from properly enforcing the specified access control requirements (e.g., allowing the user to specify their own privileges, or allowing a syntactically-incorrect ACL to produce insecure settings). This problem occurs within the program itself, in that it does not actually enforce the intended security policy that the administrator specifies.
Common Consequences (1)
OtherVaries by Context
Mitigations (2)
Architecture and Design, OperationVery carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and DesignCompartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separatio…
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
This function runs an arbitrary SQL query on a given database, returning the result of the query.
function runEmployeeQuery($dbName, $name){ mysql_select_db($dbName,$globalDbHandle) or die("Could not open Database".$dbName); //Use a prepared statement to avoid CWE-89 $preparedStatement = $globalDbHandle->prepare('SELECT * FROM employees WHERE name = :name'); $preparedStatement->execute(array(':name' => $name)); return $preparedStatement->fetchAll(); } /.../ $employeeRecord = runEmployeeQuery('EmployeeDB',$_GET['EmployeeName']);
Bad · PHP
CVE IDTitleCVSSSeverityPublished
CVE-2026-39968 TypeBot: Cross-Workspace Credential Theft via Bot-Engine Preview Endpoint — typebot.io 7.1 High2026-05-22
CVE-2026-5171 Devolutions Server 2025.3及2026.1版本存在不当访问控制漏洞 — Server--2026-05-22
CVE-2026-9223 Devolutions Server 2026.1.16.0及之前版本存在导入功能授权缺失漏洞 — Server--2026-05-22
CVE-2022-31231 Dell ECS 3.5/3.6 IAM访问控制漏洞 — ECS 5.9 Medium2026-05-22
CVE-2026-34908 UniFi OS越权访问漏洞 — UniFi OS Server 10.0 Critical2026-05-22
CVE-2026-8240 Concrete CMS 9.5.0 and below is vulnerable to unauthenticated page metadata disclosure in Backend\SummaryTemplate — Concrete CMS--2026-05-21
CVE-2026-2734 Authorization Bypass in SearchModelVersions in mlflow/mlflow — mlflow/mlflow--2026-05-21
CVE-2026-39310 Trilium Notes: Authentication Bypass in Clipper API for Electron (Desktop) Builds — Trilium 8.6 High2026-05-20
CVE-2026-0856 Mesalvo Meona Client Launcher Component和Mesalvo Meona Server Component 访问控制错误漏洞 — Meona Client Launcher Component 7.8 High2026-05-20
CVE-2026-34754 MantisBT allows unauthorized users to upload attachments to restricted issues via REST API — mantisbt 4.3 Medium2026-05-19
CVE-2026-34390 MantisBT: Privilege Escalation from Manager to Administrator — mantisbt--2026-05-19
CVE-2026-34358 CtrlPanel: Missing Authorization on Admin Write Endpoints Allows RBAC Bypass — panel 8.1 High2026-05-19
CVE-2026-34233 CtrlPanel has Missing Authentication Checks in Datatable Admin Endpoints — panel 6.5 Medium2026-05-19
CVE-2026-31388 Apache OFBiz: Cross-Tenant Data Exposure via Program Export Feature — Apache OFBiz--2026-05-19
CVE-2026-32994 Rocket.Chat 访问控制错误漏洞 — Rocket.Chat--2026-05-19
CVE-2026-8752 h2oai h2o-3 Rapids setproperty Primitive AstSetProperty.java exec access control — h2o-3 5.3 Medium2026-05-17
CVE-2026-45301 Open WebUI: Missing permission check in files API allows authenticated users to list, access and delete every uploaded file — open-webui 8.1 High2026-05-15
CVE-2026-44556 Open WebUI: responses passthrough endpoint lacks access control authorization — open-webui 7.1 High2026-05-15
CVE-2026-44774 Traefik: Gateway API TraefikService backend accepts rest@internal, allowing unauthorized exposure of the REST provider despite providers.rest.insecure=false — traefik--2026-05-15
CVE-2025-0040 AMD Processors 访问控制错误漏洞 — AMD Ryzen™ 7040 Series Mobile Processors with Radeon™ Graphics--2026-05-15
CVE-2026-44478 hoppscotch: Unauthenticated Onboarding Config Disclosure via Empty Recovery Token — hoppscotch 7.5 High2026-05-13
CVE-2026-44007 vm2: nesting: true bypasses require: false, allowing sandbox escape to arbitrary OS command execution — vm2 9.1 Critical2026-05-13
CVE-2026-42158 Flowsint: Broken Access Control allows modification of investigation metadata from any user — flowsint--2026-05-12
CVE-2026-44352 Flowsint: Broken Access Control allows reading of sketch logs from any user — flowsint--2026-05-12
CVE-2026-44341 GoJobs: Insecure Direct Object Reference (IDOR) in Job Retrieval Endpoint — gojobs 5.3 Medium2026-05-12
CVE-2026-42177 linux-entra-sso: PRT SSO cookie can leak to attacker-controlled hosts when broad host permissions are granted — linux-entra-sso 5.3 Medium2026-05-12
CVE-2026-42832 Microsoft Office Spoofing Vulnerability — Microsoft Excel for Android 7.7 High2026-05-12
CVE-2026-42823 Azure Logic Apps Elevation of Privilege Vulnerability — Azure Logic Apps 9.9 Critical2026-05-12
CVE-2026-40381 Azure Connected Machine Agent Elevation of Privilege Vulnerability — Azure Connected Machine Agent 7.8 High2026-05-12
CVE-2026-41086 Windows Admin Center in Azure Portal Elevation of Privilege Vulnerability — Windows Admin Center in Azure Portal 8.8 High2026-05-12

Vulnerabilities classified as CWE-284 (访问控制不恰当) represent 2102 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.