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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2613 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-2023-34107 GLPI vulnerable to unauthorized access to KnowbaseItem data — glpi 6.5 Medium 2023-07-05
CVE-2023-34106 GLPI vulnerable to unauthorized access to User data — glpi 6.5 Medium 2023-07-05
CVE-2023-21518 SAMSUNG Mobile devices 安全漏洞 — Samsung SearchWidget 4.4 Medium 2023-06-28
CVE-2023-3431 Improper Access Control in plantuml/plantuml — plantuml/plantuml 5.4 - 2023-06-27
CVE-2023-35927 Nextcloud system addressbooks can be modified by malicious trusted server — security-advisories 7.6 High 2023-06-23
CVE-2023-35173 End-to-End encrypted file-drops can be made inaccessible — security-advisories 5.7 Medium 2023-06-23
CVE-2023-35167 When setting EntityOptions.apiPrefilter to a function, the filter is not applied to API requests for a resource by Id — remult 5.0 Medium 2023-06-23
CVE-2023-3304 Improper Access Control in admidio/admidio — admidio/admidio 5.4 - 2023-06-23
CVE-2023-3303 Improper Access Control in admidio/admidio — admidio/admidio 5.4 - 2023-06-23
CVE-2023-1862 Remote access to warp-svc.exe in Cloudflare WARP — WARP Client 7.3 High 2023-06-20
CVE-2023-3306 Ruijie RG-EW1200G Admin Password app.09df2a9e44ab48766f5f.js access control — RG-EW1200G 7.3 High 2023-06-18
CVE-2023-3305 C-DATA Web Management System User Creation access control — Web Management System 7.3 High 2023-06-18
CVE-2023-28809 Hikvision Access Control Products 授权问题漏洞 — DS-K1T804AXX 7.5 High 2023-06-15
CVE-2023-28810 Hikvision Access Control 安全漏洞 — DS-K1T804AXX 4.3 Medium 2023-06-15
CVE-2023-32009 Windows Collaborative Translation Framework Elevation of Privilege Vulnerability — Windows 10 Version 1809 8.8 High 2023-06-13
CVE-2022-39946 Fortinet FortiNAC 安全漏洞 — FortiNAC 7.2 High 2023-06-13
CVE-2023-24546 Arista Networks CloudVision Portal 安全漏洞 — CloudVision 7.5 - 2023-06-13
CVE-2023-2159 CMP – Coming Soon & Maintenance <= 4.1.7 - Maintenance Mode Bypass — CMP – Coming Soon & Maintenance Plugin by NiteoThemes 5.3 Medium 2023-06-09
CVE-2021-4380 Pinterest Automatic <= 4.14.3 - Unuathenticated Arbitrary Options Update — Pinterest Automatic 9.8 Critical 2023-06-07
CVE-2020-36721 Epsilon Framework Themes (Various Versions) - Unauthenticated Plugin Activation/Deactivation — Brilliance 6.5 Medium 2023-06-07
CVE-2021-4364 JobSearch WP Job Board < = 1.8.1 - Missing Authorization on jobsearch_update_job_import_schedule_call() function — JobSearch WP Job Board 4.3 Medium 2023-06-07
CVE-2021-4360 Controlled Admin Access < 1.5.6 - Privilege Escalation — Controlled Admin Access 9.9 Critical 2023-06-07
CVE-2021-4361 JobSearch WP Job Board <= 1.8.1 - Missing Authorization to Arbitrary Options Update — JobSearch WP Job Board 8.8 High 2023-06-07
CVE-2021-4352 JobSearch WP Job Board <= 1.8.1 - Missing Authorization to Settings Change — JobSearch WP Job Board 5.3 Medium 2023-06-07
CVE-2020-36700 Page Builder: KingComposer < 2.9.4 - Authorization Bypass due to Improper Access Control — Page Builder: KingComposer – Free Drag and Drop page builder by King-Theme 8.8 High 2023-06-07
CVE-2020-36699 Quick Page/Post Redirect Plugin <= 5.1.9 - Redirect Security Bypass — Quick Page/Post Redirect Plugin 4.3 Medium 2023-06-07
CVE-2021-4338 404 to 301 <= 3.0.7 - Missing Authorization to Redirect Creation — 404 to 301 – Redirect, Log and Notify 404 Errors 6.4 Medium 2023-06-07
CVE-2023-2183 Grafana 安全漏洞 — Grafana 4.1 Medium 2023-06-06
CVE-2023-21670 Improper Access control in GPU Subsystem — Snapdragon 7.8 High 2023-06-06
CVE-2022-40529 Improper access control in Kernel — Snapdragon 7.1 High 2023-06-06

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