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

Goal: 1000 CNY · Raised: 1310 CNY

100%

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

2142 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-2023-33155 Windows Cloud Files Mini Filter Driver Elevation of Privilege Vulnerability — Windows 10 Version 1809 7.8 High2023-07-11
CVE-2023-29130 Siemens SIMATIC CN 4100 安全漏洞 — SIMATIC CN 4100 9.9 Critical2023-07-11
CVE-2023-24489 Citrix Systems Content Collaboration 安全漏洞 — Citrix ShareFile Storage Zones Controller 9.8 Critical2023-07-10
CVE-2023-24490 Users with only access to launch VDA applications can launch an unauthorized desktop — Virtual Delivery Agents for Windows for CVAD and Citrix DaaS Security 6.3 Medium2023-07-10
CVE-2023-24486 Local user access to a system where another user is utilizing a vulnerable version of Citrix Workspace App for Linux to launch published desktops and applications — Citrix Workspace app for Linux 7.8 -2023-07-10
CVE-2023-3273 SICK ICR890-4 安全漏洞 — ICR890-4 7.5 High2023-07-10
CVE-2023-3271 SICK ICR890-4 安全漏洞 — ICR890-4 8.2 High2023-07-10
CVE-2023-35940 GLPI vulnerable to unauthenticated access to Dashboard data — glpi 7.5 High2023-07-05
CVE-2023-35939 GLPI vulnerable to unauthorized access to Dashboard data — glpi 8.1 High2023-07-05
CVE-2023-34107 GLPI vulnerable to unauthorized access to KnowbaseItem data — glpi 6.5 Medium2023-07-05
CVE-2023-34106 GLPI vulnerable to unauthorized access to User data — glpi 6.5 Medium2023-07-05
CVE-2023-21518 SAMSUNG Mobile devices 安全漏洞 — Samsung SearchWidget 4.4 Medium2023-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 High2023-06-23
CVE-2023-35173 End-to-End encrypted file-drops can be made inaccessible — security-advisories 5.7 Medium2023-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 Medium2023-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 High2023-06-20
CVE-2023-3306 Ruijie RG-EW1200G Admin Password app.09df2a9e44ab48766f5f.js access control — RG-EW1200G 7.3 High2023-06-18
CVE-2023-3305 C-DATA Web Management System User Creation access control — Web Management System 7.3 High2023-06-18
CVE-2023-28809 Hikvision Access Control Products 授权问题漏洞 — DS-K1T804AXX 7.5 High2023-06-15
CVE-2023-28810 Hikvision Access Control 安全漏洞 — DS-K1T804AXX 4.3 Medium2023-06-15
CVE-2023-32009 Windows Collaborative Translation Framework Elevation of Privilege Vulnerability — Windows 10 Version 1809 8.8 High2023-06-13
CVE-2022-39946 Fortinet FortiNAC 安全漏洞 — FortiNAC 7.2 High2023-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 Medium2023-06-09
CVE-2021-4380 Pinterest Automatic <= 4.14.3 - Unuathenticated Arbitrary Options Update — Pinterest Automatic 9.8 Critical2023-06-07
CVE-2020-36721 Epsilon Framework Themes (Various Versions) - Unauthenticated Plugin Activation/Deactivation — Brilliance 6.5 Medium2023-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 Medium2023-06-07

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