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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

2062 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-36889 Windows Group Policy Security Feature Bypass Vulnerability — Windows 10 Version 1809 5.5 Medium2023-08-08
CVE-2023-39349 Sentry vulnerable to privilege escalation via ApiTokensEndpoint — sentry 8.1 High2023-08-07
CVE-2023-4183 SourceCodester Inventory Management System Password edit_update.php access control — Inventory Management System 4.3 Medium2023-08-06
CVE-2023-4169 Ruijie RG-EW1200G Administrator Password set_passwd access control — RG-EW1200G 6.3 Medium2023-08-05
CVE-2022-34453 Dell EMC XtremIO XMS 安全漏洞 — XtremIO X2 7.6 High2023-08-03
CVE-2023-37478 pnpm incorrectly parses tar archives relative to specification — pnpm 7.5 High2023-08-01
CVE-2022-43702 Incomplete verification of installation file signature — Arm Compiler 5 (AC5), Arm Compiler for Embedded 6 (AC6), Fast Models (FM), Arm Compiler for Embedded FuSA (ACEF), Arm Development Studio (ADS), Arm Forge (AF), Arm Mobile Studio (AMS), DS-5 Development Studio, Fast Models (FM), GNU Toolchain (GT), Keil MDK (KMDK), Mbed Studio (MS) 7.8 -2023-07-27
CVE-2023-3786 Aures Komet Kiosk Mode access control — Komet 4.3 Medium2023-07-20
CVE-2023-37267 Umbraco allows possible Admin-level access to backoffice without Auth under rare conditions — Umbraco-CMS 7.5 High2023-07-13
CVE-2023-29298 Adobe ColdFusion Improper Access Control Security feature bypass — ColdFusion 7.5 High2023-07-12
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

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