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

目标: 1000 元 · 已筹: 1310

100%

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

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

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

MITRE CWE 官方描述
CWE:CWE-284 访问控制不当 英文:产品未对来自未授权实体的资源访问进行限制,或限制不正确。 访问控制涉及使用多种保护机制,例如:Authentication(证明实体的身份)、Authorization(确保给定实体可以访问资源)以及 Accountability(跟踪已执行的活动)。当任何机制未应用或失效时,攻击者可以通过获取特权、读取敏感信息、执行命令、逃避检测等方式破坏产品的安全性。存在两种可能导致访问控制弱点的具体行为:Specification(规范):为用户或资源明确指定了不正确的特权、权限、所有权等(例如,将密码文件设置为所有用户可写,或将管理员能力授予访客用户)。此操作可由程序或管理员执行。Enforcement(执行):机制中存在错误,导致其无法正确执行指定的访问控制要求(例如,允许用户指定自己的特权,或允许语法不正确的 ACL 产生不安全的设置)。此问题发生在程序本身内部,即其并未实际执行管理员指定的预期安全策略。
常见影响 (1)
OtherVaries by Context
缓解措施 (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…
代码示例 (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-4704 WordPress plugin Royal Elementor Addons 安全漏洞 — Royal Addons for Elementor – Addons and Templates Kit for Elementor 5.4 Medium2023-01-10
CVE-2022-4708 WordPress plugin Royal Elementor Addons 安全漏洞 — Royal Addons for Elementor – Addons and Templates Kit for Elementor 4.3 Medium2023-01-10
CVE-2022-4711 WordPress plugin Royal Elementor Addons 安全漏洞 — Royal Addons for Elementor – Addons and Templates Kit for Elementor 4.3 Medium2023-01-10
CVE-2022-4702 WordPress plugin Royal Elementor Addons 安全漏洞 — Royal Addons for Elementor – Addons and Templates Kit for Elementor 5.4 Medium2023-01-10
CVE-2022-4700 WordPress plugin Royal Elementor Addons 安全漏洞 — Royal Addons for Elementor – Addons and Templates Kit for Elementor 5.4 Medium2023-01-10
CVE-2022-4709 WordPress plugin Royal Elementor Addons 安全漏洞 — Royal Addons for Elementor – Addons and Templates Kit for Elementor 4.3 Medium2023-01-10
CVE-2023-0017 SAP NetWeaver AS 访问控制错误漏洞 — NetWeaver AS for Java 9.4 Critical2023-01-10
CVE-2023-0012 SAP Host Agent 访问控制错误漏洞 — Host Agent (Windows) 6.4 Medium2023-01-10
CVE-2023-21752 Microsoft Windows 安全漏洞 — Windows 10 Version 22H2 7.1 High2023-01-10
CVE-2023-21750 Microsoft Windows 安全漏洞 — Windows 10 Version 1809 7.1 High2023-01-10
CVE-2023-21742 Microsoft SharePoint 安全漏洞 — Microsoft SharePoint Enterprise Server 2016 8.8 High2023-01-10
CVE-2023-21531 Microsoft Azure 安全漏洞 — Azure Service Fabric 8.2 7.0 High2023-01-10
CVE-2023-22473 Nextcloud Talk 访问控制错误漏洞 — security-advisories 2.1 Low2023-01-09
CVE-2022-23508 Weave GitOps 安全漏洞 — weave-gitops 8.9 High2023-01-09
CVE-2014-125054 RedditOnRails 访问控制错误漏洞 — RedditOnRails 4.3 Medium2023-01-07
CVE-2021-4300 Halcyon 安全漏洞 — Halcyon 6.3 Medium2023-01-04
CVE-2022-34672 NVIDIA Control Panel 安全漏洞 — vGPU software (guest driver) - Windows, NVIDIA Cloud Gaming (guest driver) 7.8 High2022-12-30
CVE-2022-4807 memos 访问控制错误漏洞 — usememos/memos 4.3 -2022-12-28
CVE-2022-4809 memos 访问控制错误漏洞 — usememos/memos 4.3 -2022-12-28
CVE-2022-4810 memos 访问控制错误漏洞 — usememos/memos 4.3 -2022-12-28
CVE-2022-4814 memos 访问控制错误漏洞 — usememos/memos 4.3 -2022-12-28
CVE-2022-41654 Ghost CMS访问控制错误漏洞 — Ghost 8.1 -2022-12-23
CVE-2022-44565 Ubiquiti airMAX和airFiber安全漏洞 — UISP Wireless 5.3 -2022-12-23
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 Medium2022-12-22
CVE-2022-3186 Dataprobe iBoot-PDU 安全漏洞 — iBoot-PDU FW 8.6 High2022-12-21
CVE-2022-28173 Hikvision DS-3WF0AC-2NT和DS-3WF01C-2N/O 安全漏洞 — DS-3WF0AC-2NT 9.1 Critical2022-12-21
CVE-2022-38546 Zyxel NBG7510 安全漏洞 — NBG7510 firmware 5.3 Medium2022-12-21

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