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

Goal: 1000 CNY · Raised: 1110 CNY

100%

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

2113 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-4696 Improper Access Control in usememos/memos — usememos/memos 4.3 -2023-09-01
CVE-2023-4650 Improper Access Control in instantsoft/icms2 — instantsoft/icms2 6.5 -2023-08-31
CVE-2023-4640 Set Logging Level Without Authentication — Anywhere 6.5 Medium2023-08-30
CVE-2023-40170 cross-site inclusion (XSSI) of files in jupyter-server — jupyter_server 4.6 Medium2023-08-28
CVE-2023-4546 Byzoro Smart S85F Management Platform licence.php access control — Smart S85F Management Platform 3.5 Low2023-08-26
CVE-2023-40579 OpenFGA Authorization Bypass — openfga 6.5 Medium2023-08-25
CVE-2023-40573 XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution — xwiki-platform 9.1 Critical2023-08-24
CVE-2022-3746 Lenovo Notebook 访问控制错误漏洞 — Notebook 6.7 Medium2023-08-23
CVE-2023-20230 Cisco Application Policy Infrastructure Controller 安全漏洞 — Cisco Application Policy Infrastructure Controller (APIC) 5.4 Medium2023-08-23
CVE-2023-39972 Extension - acymailing.com - Improper Access Control in AcyMailing Enterprise component for Joomla 6.7.0-8.6.3 — AcyMailing Enterprise component for Joomla 5.3 -2023-08-17
CVE-2023-39973 Extension - acymailing.com - Improper Access Control in AcyMailing Enterprise component for Joomla 6.7.0-8.6.3 — AcyMailing Enterprise component for Joomla 5.3 -2023-08-17
CVE-2023-20224 Cisco ThousandEyes Enterprise Agent 参数注入漏洞 — Cisco ThousandEyes Recorder Application 7.8 High2023-08-16
CVE-2023-20237 Cisco Intersight 命令注入漏洞 — Cisco Intersight Virtual Appliance 4.3 Medium2023-08-16
CVE-2023-35179 2FA/MFA Bypass Vulnerability in Serv-U 15.4 — Serv-U 7.2 High2023-08-10
CVE-2023-39963 Missing password confirmation when creating app passwords — security-advisories 8.1 High2023-08-10
CVE-2023-39962 Users can delete external storage mount points — security-advisories 7.7 High2023-08-10
CVE-2023-39961 Text does not respect "Allow download" permissions — security-advisories 3.5 Low2023-08-10
CVE-2023-39959 Existence of calendars and address books can be checked by unauthenticated users — security-advisories 3.5 Low2023-08-10
CVE-2023-39952 Advanced permissions not respected when copying entire group folders — security-advisories 6.5 Medium2023-08-10
CVE-2023-36890 Microsoft SharePoint Server Information Disclosure Vulnerability — Microsoft SharePoint Server 2019 6.5 Medium2023-08-08
CVE-2023-38167 Microsoft Dynamics 365 Business Central Elevation of Privilege Vulnerability — Microsoft Dynamics 365 Business Central 2023 Release Wave 1 7.2 High2023-08-08
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

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