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-2024-34107 Adobe Commerce | Improper Access Control (CWE-284) — Adobe Commerce 5.3 Medium 2024-06-13
CVE-2024-26029 Adobe Experience Manager | Improper Access Control (CWE-284) — Adobe Experience Manager 7.5 High 2024-06-13
CVE-2024-29060 Visual Studio Elevation of Privilege Vulnerability — Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 6.7 Medium 2024-06-11
CVE-2023-6491 Strong Testimonials <= 3.1.12 - Authenticated(Contributor+) Improper Authorization to Views Modification — Strong Testimonials 4.3 Medium 2024-06-07
CVE-2024-36399 Kanboard affected by Project Takeover via IDOR in ProjectPermissionController — kanboard 8.2 High 2024-06-06
CVE-2024-0972 BuddyPress Members Only <= 3.4.8 - Improper Access Control to Sensitive Information Exposure via REST API — BuddyPress Members Only 5.3 Medium 2024-06-06
CVE-2023-6966 The Moneytizer <= 9.6.3 - Missing Authorization via multiple AJAX actions — The Moneytizer 8.1 High 2024-06-06
CVE-2023-6968 The Moneytizer <= 9.6.3 - Cross-Site Request Forgery via multiple AJAX actions — The Moneytizer 8.1 High 2024-06-06
CVE-2024-2019 WP-DB-Table-Editor <= 1.8.4 - Missing Authorization to Authenticated(Contributor+) Database Access — WP-DB-Table-Editor 7.5 High 2024-06-04
CVE-2024-23360 Improper Access Control in Graphics Windows — Snapdragon 8.4 High 2024-06-03
CVE-2024-20065 MediaTek 芯片 安全漏洞 — MT6768, MT6781, MT6835, MT6853, MT6855, MT6877, MT6879, MT6885, MT6886, MT6893, MT6983, MT6985, MT6989 5.5AI Medium AI 2024-06-03
CVE-2024-0434 WordPress Tour & Travel Booking Plugin for WooCommerce – WpTravelly <= 1.7.1 - Missing Authorization via ttbm_new_place_save — Travelly – Tour & Travel Booking Manager for WooCommerce | Tour & Hotel Booking Solution 5.3 Medium 2024-05-29
CVE-2024-22187 AutomationDirect P3-550E 访问控制错误漏洞 — P3-550E 9.1 Critical 2024-05-28
CVE-2024-23315 AutomationDirect P3-550E 访问控制错误漏洞 — P3-550E 7.5 High 2024-05-28
CVE-2023-52712 Huawei PC Manager 安全漏洞 — CurieM-WFG9B 7.8 High 2024-05-28
CVE-2023-52711 Huawei PC Manager 安全漏洞 — CurieM-WFG9B 7.8 High 2024-05-28
CVE-2024-29215 Slash commands run in channel without channel membership via playbook task commands — Mattermost 4.3 Medium 2024-05-26
CVE-2024-36241 /playbook add slash command allows viewing arbitrary post contents — Mattermost 3.1 Low 2024-05-26
CVE-2024-31859 Member promoted to channel admin via playbooks run linking to channel — Mattermost 4.3 Medium 2024-05-26
CVE-2024-5270 SAML to email switch possible when email signin is disabled — Mattermost 4.3 Medium 2024-05-26
CVE-2024-5272 Run Details leak to guest via webhook event "custom_playbooks_playbook_run_updated" — Mattermost 4.3 Medium 2024-05-26
CVE-2024-32045 Playbook run link to private channel grants channel access — Mattermost 5.9 Medium 2024-05-26
CVE-2024-34152 Playbook Run Metadata leak to Guest — Mattermost 4.3 Medium 2024-05-26
CVE-2024-1376 Event post <= 5.9.4 - Missing Authorization — Event post 4.3 Medium 2024-05-24
CVE-2024-35222 iFrames Bypass Origin Checks for Tauri API Access Control — tauri 5.9 Medium 2024-05-23
CVE-2024-5168 Improper access control vulnerability in Prodys Quantum Audio codec — Quantum Audio codec 9.8 Critical 2024-05-23
CVE-2024-26139 OpenCTI Authenticated Privilege Escalation — opencti 8.3 High 2024-05-23
CVE-2024-32969 vantage6 collaboration admins can extend their influence by expanding the collaboration — vantage6 2.7 Low 2024-05-23
CVE-2024-20261 Cisco Firepower Threat Defense 安全漏洞 — Cisco Firepower Threat Defense Software 5.8 Medium 2024-05-22
CVE-2024-0453 AI ChatBot <= 5.3.4 - Missing Authorization via openai_file_delete_callback — WPBot – AI ChatBot for Live Support, Lead Generation, AI Services 5.0 Medium 2024-05-22

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