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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2612 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)
Other Varies by Context
Mitigations (2)
Architecture and Design, Operation Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and Design Compartmentalize 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 ID Title CVSS Severity Published
CVE-2026-34860 Huawei HarmonyOS 安全漏洞 — HarmonyOS 4.1 Medium 2026-04-13
CVE-2026-40252 Broken Access Control (IDOR) Leading to Cross-Tenant Application Access in FastGPT — FastGPT 8.8 - 2026-04-10
CVE-2026-39942 Directus has a Path Traversal and Broken Access Control in File Management API — directus 8.5 High 2026-04-09
CVE-2026-34723 Zammad has incorrect access control in getting_started_controller — zammad 7.5AI High AI 2026-04-08
CVE-2026-34248 Zammad has an information disclosure in ticket detail view of customers in shared organizations — zammad 3.5AI Low AI 2026-04-08
CVE-2026-35533 mise has a local settings bypass config trust checks — mise 7.8 High 2026-04-07
CVE-2026-39346 OrangeHRM has Improper Access Control Allowing Access to Disabled Modules via URL Encoding — orangehrm 8.8AI High AI 2026-04-07
CVE-2026-39339 ChurchCRM has an API Authentication Bypass — CRM 9.1 Critical 2026-04-07
CVE-2026-1079 A native messaging host vulnerability in Pega Browser Extension (PBE) affects users of all versions of Pega Robotic Automation who have installed Pega Browser Extension. — Pega Browser Extension (PBE) 5.4AI Medium AI 2026-04-07
CVE-2026-1078 An arbitrary file-write vulnerability in Pega Browser Extension (PBE) affects Pega Robotic Automation version 22.1 or R25 users who are running automations that work with Google Chrome or Microsoft Edge. — Pega Robot Studio 8.1AI High AI 2026-04-07
CVE-2026-1114 Improper Access Control via Weak JWT Token in parisneo/lollms — parisneo/lollms 9.8AI Critical AI 2026-04-07
CVE-2026-35185 HAX CMS's public /server-status endpoint exposes authentication tokens, user activity, and client IP addresses — HAXiam 7.5AI High AI 2026-04-06
CVE-2026-35172 Distribution has stale blob access resurrection via repo-scoped redis descriptor cache invalidation — distribution 7.5 High 2026-04-06
CVE-2026-34444 Lupa has a Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr / setattr — lupa 9.8 - 2026-04-06
CVE-2026-5569 Technostrobe HI-LED-WR120-G2 Endpoint access control — HI-LED-WR120-G2 7.3 High 2026-04-05
CVE-2026-5526 Tenda 4G03 Pro httpd access control — 4G03 Pro 7.3 High 2026-04-04
CVE-2026-35616 Fortinet FortiClientEms 安全漏洞 — FortiClientEMS 9.1 Critical 2026-04-04
CVE-2017-20233 Hirschmann HiLCOS Layer-2 Firewall Multicast Broadcast Traffic Bypass — Hirschmann HiLCOS OpenBAT, BAT450, WLC 5.4 Medium 2026-04-03
CVE-2021-4477 Hirschmann HiLCOS OpenBAT BAT450 IPv6 IPsec Firewall Bypass — Hirschmann HiLCOS OpenBAT 9.1 Critical 2026-04-03
CVE-2026-5484 BookStackApp BookStack Chapter Export ExportFormatter.php chapterToMarkdown access control — BookStack 5.3 Medium 2026-04-03
CVE-2026-33951 signalk-server: Unauthenticated Source Priorities Manipulation — signalk-server 7.5AI High AI 2026-04-02
CVE-2026-5330 SourceCodester/mayuri_k Best Courier Management System User Delete ajax.php access control — Best Courier Management System 6.5 Medium 2026-04-02
CVE-2026-34572 CI4MS: Account Deactivation Module Full Persistent Unauthorized Access for All‑Roles via Improper Session Invalidation (Logic Flaw) — ci4ms 8.8 High 2026-04-01
CVE-2026-34570 CI4MS: Account Deletion Module Full Persistent Unauthorized Access for All‑Roles via Improper Session Invalidation (Logic Flaw) — ci4ms 8.8 High 2026-04-01
CVE-2026-5312 D-Link DNS-1550-04 dsk_mgr.cgi Get_current_raidtype access control — DNS-120 5.3 Medium 2026-04-01
CVE-2026-34456 Reviactyl: OAuth account takeover via auto-linking — panel 9.1 Critical 2026-04-01
CVE-2026-5311 D-Link DNS-1550-04 file_center.cgi Webdav_Access_List access control — DNS-120 5.3 Medium 2026-04-01
CVE-2026-21629 Joomla! Core - [20260301] - ACL hardening in com_ajax — Joomla! CMS 9.8AI Critical AI 2026-04-01
CVE-2026-23899 Joomla! Core - [20260306] - Improper access check in webservice endpoints — Joomla! CMS 8.1AI High AI 2026-04-01
CVE-2026-4947 Insecure Direct Object Reference (IDOR) Leading to Signature Forgery in Foxit eSign — na1.foxitesign.foxit.com 7.1 High 2026-04-01

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