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-2020-24441 Improper Access Control in Adobe Acrobat Reader for Android — Acrobat Reader 5.5 Medium2020-11-12
CVE-2020-3592 Cisco SD-WAN vManage Software Authorization Bypass Vulnerability — Cisco SD-WAN vManage 6.5 Medium2020-11-06
CVE-2020-3284 Cisco IOS XR Software Enhanced Preboot eXecution Environment Unsigned Code Execution Vulnerability — Cisco IOS XR Software 9.8 -2020-11-06
CVE-2020-24433 Adobe Acrobat Reader DC Local Privilege Escalation via Installer Component — Acrobat Reader 7.8 High2020-11-05
CVE-2020-25662 Linux kernel 信息泄露漏洞 — kernel 5.3 Medium2020-11-05
CVE-2020-3564 Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software FTP Inspection Bypass Vulnerability — Cisco Adaptive Security Appliance (ASA) Software 7.5 -2020-10-21
CVE-2020-3565 Cisco Firepower Threat Defense Software TCP Intercept Bypass Vulnerability — Cisco Firepower Threat Defense Software 5.8 Medium2020-10-21
CVE-2020-10139 Acronis Cyber Backup 访问控制错误漏洞 — True Image 2021 7.8 High2020-10-21
CVE-2020-10138 Acronis Cyber Backup 访问控制错误漏洞 — Cyber Backup 7.8 High2020-10-21
CVE-2020-1666 Junos OS Evolved: 'console log-out-on-disconnect' fails to terminate session on console cable disconnection — Junos OS Evolved 6.6 Medium2020-10-16
CVE-2020-8182 Nextcloud 访问控制错误漏洞 — Nextcloud Deck 7.6 -2020-10-05
CVE-2020-3396 Cisco IOS XE Software IOx Guest Shell USB SSD Namespace Protection Privilege Escalation Vulnerability — Cisco IOS XE Software 6.8 Medium2020-09-24
CVE-2020-3418 Cisco IOS XE Wireless Controller Software for the Catalyst 9000 Family Improper Access Control Vulnerability — Cisco IOS XE Software 4.7 -2020-09-24
CVE-2020-3503 Cisco IOS XE Software Guest Shell Unauthorized File System Access Vulnerability — Cisco IOS XE Software 6.0 Medium2020-09-24
CVE-2020-3524 Cisco IOS XE ROM Monitor Software Vulnerability — Cisco IOS XE ROMMON Software 7.6 -2020-09-24
CVE-2020-8028 salt-api is accessible to every user on SUSE Manager Server — SUSE Linux Enterprise Module for SUSE Manager Server 4.1 9.3 Critical2020-09-17
CVE-2020-7531 施耐德 SCADAPack 授权问题漏洞 — SCADAPack 7x Remote Connect V3.6.3.574 and prior. 7.3 -2020-09-16
CVE-2020-3522 Cisco Data Center Network Manager Authorization Bypass Vulnerability — Cisco Data Center Network Manager 6.3 Medium2020-08-26
CVE-2020-16241 Philips SureSigns VS4 Improper Access Control — SureSigns VS4 6.3 Medium2020-08-21
CVE-2020-3412 Cisco Webex Meetings Scheduled Meeting Template Creation Vulnerability — Cisco Webex Meetings 4.3 Medium2020-08-17
CVE-2020-3413 Cisco Webex Meetings Scheduled Meeting Template Deletion Vulnerability — Cisco Webex Meetings 4.3 Medium2020-08-17
CVE-2020-3448 Cisco Cyber Vision Center Software Access Control Bypass Vulnerability — Cisco Cyber Vision 5.3 -2020-08-17
CVE-2020-5396 JMX Insecure Default Configuration in GemFire — VMware Tanzu GemFire for VMs 9.8 -2020-07-31
CVE-2020-10731 OpenStack openstack-tripleo-heat-templates 访问控制错误漏洞 — nova_libvirt container provided by the Red Hat OpenStack Platform 8.8 -2020-07-31
CVE-2020-10930 NETGEAR R6700 安全漏洞 — R6700 6.5 -2020-07-28
CVE-2020-8207 Citrix Systems Workspace App 授权问题漏洞 — Citrix Workspace App for Windows 8.8 -2020-07-24
CVE-2020-15102 Improper access control on dashboard form in PrestaShop — dashproducts 6.5 Medium2020-07-21
CVE-2020-3144 Cisco RV110W, RV130, RV130W, and RV215W Routers Authentication Bypass Vulnerability — Cisco RV130W Wireless-N Multifunction VPN Router Firmware 9.8 -2020-07-16
CVE-2020-10288 RVD#3327: No authentication required for accesing ABB IRC5 FTP server — IRB140 9.8 -2020-07-15
CVE-2020-14499 Advantech Iview 安全漏洞 — Advantech iView 9.1 -2020-07-15

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