目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-284 访问控制不恰当 类漏洞列表 2614

CWE-284 访问控制不恰当 类弱点 2614 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-284 属于访问控制缺陷漏洞,指产品未正确限制或完全未限制非授权主体对资源的访问。攻击者通常通过绕过身份验证或权限检查,直接访问敏感数据或执行特权操作。开发者应避免此类问题,需严格实施身份认证与授权机制,确保仅合法用户能访问特定资源,并记录操作日志以增强可追溯性,从而有效防止未授权访问。

MITRE CWE 官方描述
CWE:CWE-284 访问控制不当 英文:产品未对来自未授权实体的资源访问进行限制,或限制不正确。 访问控制涉及使用多种保护机制,例如:Authentication(证明实体的身份)、Authorization(确保给定实体可以访问资源)以及 Accountability(跟踪已执行的活动)。当任何机制未应用或失效时,攻击者可以通过获取特权、读取敏感信息、执行命令、逃避检测等方式破坏产品的安全性。存在两种可能导致访问控制弱点的具体行为:Specification(规范):为用户或资源明确指定了不正确的特权、权限、所有权等(例如,将密码文件设置为所有用户可写,或将管理员能力授予访客用户)。此操作可由程序或管理员执行。Enforcement(执行):机制中存在错误,导致其无法正确执行指定的访问控制要求(例如,允许用户指定自己的特权,或允许语法不正确的 ACL 产生不安全的设置)。此问题发生在程序本身内部,即其并未实际执行管理员指定的预期安全策略。
常见影响 (1)
Other Varies by Context
缓解措施 (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…
代码示例 (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 标题 CVSS 风险等级 Published
CVE-2022-4684 memos 访问控制错误漏洞 — usememos/memos 5.4 - 2022-12-23
CVE-2022-4689 memos 访问控制错误漏洞 — usememos/memos 5.4 - 2022-12-23
CVE-2022-4724 Rdiffweb 访问控制错误漏洞 — ikus060/rdiffweb 7.5 - 2022-12-23
CVE-2022-23513 Pi-hole 访问控制错误漏洞 — AdminLTE 5.3 Medium 2022-12-22
CVE-2022-3186 Dataprobe iBoot-PDU 安全漏洞 — iBoot-PDU FW 8.6 High 2022-12-21
CVE-2022-28173 Hikvision DS-3WF0AC-2NT和DS-3WF01C-2N/O 安全漏洞 — DS-3WF0AC-2NT 9.1 Critical 2022-12-21
CVE-2022-38546 Zyxel NBG7510 安全漏洞 — NBG7510 firmware 5.3 Medium 2022-12-21
CVE-2022-4567 OpenEMR 访问控制错误漏洞 — openemr/openemr 4.3 - 2022-12-17
CVE-2022-38355 DAIKIN SVMPC1和DAIKIN SVMPC2 安全漏洞 — SVMPC1 7.5 High 2022-12-13
CVE-2022-45936 Siemens Mendix Email Connector 安全漏洞 — Mendix Email Connector 8.1 - 2022-12-13
CVE-2022-45937 部分Siemens产品 安全漏洞 — APOGEE PXC Compact (BACnet) 8.8 High 2022-12-13
CVE-2022-46354 Siemens SCALANCE Series 安全漏洞 — SCALANCE X204RNA (HSR) 7.5 - 2022-12-13
CVE-2022-46664 Mendix Workflow Commons 访问控制错误漏洞 — Mendix Workflow Commons 8.1 High 2022-12-13
CVE-2022-41261 SAP Solution Manager 安全漏洞 — Solution Manager (Diagnostic Agent) 6.0 Medium 2022-12-12
CVE-2022-39894 SAMSUNG Mobile devices 安全漏洞 — Samsung Mobile Devices 4.0 Medium 2022-12-08
CVE-2022-39895 SAMSUNG Mobile devices 安全漏洞 — Samsung Mobile Devices 4.0 Medium 2022-12-08
CVE-2022-39896 SAMSUNG Mobile devices 安全漏洞 — Samsung Mobile Devices 4.0 Medium 2022-12-08
CVE-2022-39898 SAMSUNG Mobile devices 安全漏洞 — Samsung Mobile Devices 4.0 Medium 2022-12-08
CVE-2022-39900 SAMSUNG Mobile devices 安全漏洞 — Samsung Mobile Devices 4.6 Medium 2022-12-08
CVE-2022-39906 SAMSUNG Mobile devices 安全漏洞 — Samsung Mobile Devices 2.3 Low 2022-12-08
CVE-2022-39910 SAMSUNG Pass 安全漏洞 — Samsung Pass 3.9 Low 2022-12-08
CVE-2022-39915 SAMSUNG Mobile devices 安全漏洞 — Samsung Calendar 3.3 Low 2022-12-08
CVE-2022-35843 Fortinet FortiOS授权问题漏洞 — FortiOS 7.7 High 2022-12-06
CVE-2022-41970 Nextcloud 安全漏洞 — security-advisories 2.6 Low 2022-12-01
CVE-2022-4229 Book Store Management System 访问控制错误漏洞 — Book Store Management System 7.3 High 2022-11-30
CVE-2022-38377 Fortinet FortiAnalyzer和FortiManager 安全漏洞 — FortiManager 4.1 Medium 2022-11-25
CVE-2022-4087 iPXE 安全漏洞 — iPXE 2.6 Low 2022-11-21
CVE-2022-41135 WordPress plugin Modula 安全漏洞 — Modula Image Gallery (WordPress plugin) 6.5 Medium 2022-11-18
CVE-2022-24038 Karmasis Infraskope Agent 访问控制错误漏洞 — Infraskope SIEM+ 6.5 Medium 2022-11-18
CVE-2022-24036 Karmasis Infraskope Agent 访问控制错误漏洞 — Infraskope SIEM+ 8.6 High 2022-11-16

CWE-284(访问控制不恰当) 是常见的弱点类别,本平台收录该类弱点关联的 2614 条 CVE 漏洞。