目标达成 感谢每一位支持者 — 我们达成了 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-1658 Jupiter Theme 访问控制错误漏洞 — Jupiter 5.4 Medium 2022-06-13
CVE-2022-1656 JupiterX Core 安全漏洞 — Jupiter X Core 5.4 Medium 2022-06-13
CVE-2022-30745 Samsung mobile 安全漏洞 — Quick Share 4.0 Medium 2022-06-07
CVE-2022-30715 Samsung mobile 安全漏洞 — Samsung Mobile Devices 4.0 Medium 2022-06-07
CVE-2022-31024 Nextcloud 访问控制错误漏洞 — security-advisories 6.5 Medium 2022-06-02
CVE-2022-1261 Honeywell Matrikon OPC Server 访问控制错误漏洞 — Matrikon OPC Server 5.8 Medium 2022-05-26
CVE-2021-41834 JFrog Artifactory 安全漏洞 — Artifactory 5.3 Medium 2022-05-23
CVE-2022-29160 Nextcloud 访问控制错误漏洞 — security-advisories 2.8 Low 2022-05-20
CVE-2020-4107 HCL Technologies HCL Domino 安全漏洞 — HCL Domino 8.8 High 2022-05-19
CVE-2021-45730 JFrog Artifactory 安全漏洞 — Artifactory 6.0 Medium 2022-05-19
CVE-2021-35249 SolarWinds Serv-U FTP Server 访问控制错误漏洞 — Serv-U 4.3 Medium 2022-05-17
CVE-2022-1753 Envato WoWonder 安全漏洞 — WoWonder 5.4 Medium 2022-05-17
CVE-2022-28184 NVIDIA GPU Display Driver 安全漏洞 — NVIDIA GPU Display Driver 7.1 High 2022-05-17
CVE-2021-27444 Rusavtomatika Weintek EasyWeb cMT 安全漏洞 — cMT-SVR-1xx/2xx 9.8 Critical 2022-05-16
CVE-2022-1553 Publify 安全漏洞 — publify/publify 4.9 - 2022-05-16
CVE-2022-0574 Publify 安全漏洞 — publify/publify 7.1 - 2022-05-16
CVE-2022-22282 SonicWall SMA1000 series 安全漏洞 — SonicWall SMA1000 9.8 - 2022-05-13
CVE-2021-33013 mySCADA myPRO 访问控制错误漏洞 — myPRO 8.2 High 2022-05-13
CVE-2022-21182 InHand Networks InRouter Series 安全漏洞 — InRouter302 8.8 - 2022-05-12
CVE-2019-25060 WordPress plugin WPGraphQL 访问控制错误漏洞 — WPGraphQL 5.3 - 2022-05-09
CVE-2022-1631 Microweber 安全漏洞 — microweber/microweber 8.8 - 2022-05-09
CVE-2022-20780 Cisco Enterprise NFV Infrastructure Software 代码问题漏洞 — Cisco Enterprise NFV Infrastructure Software 9.9 Critical 2022-05-04
CVE-2022-20779 Cisco Enterprise NFV Infrastructure Software 输入验证错误漏洞 — Cisco Enterprise NFV Infrastructure Software 9.9 Critical 2022-05-04
CVE-2022-20777 Cisco Enterprise NFV Infrastructure Software 安全漏洞 — Cisco Enterprise NFV Infrastructure Software 9.9 Critical 2022-05-04
CVE-2022-28780 Samsung SMR 安全漏洞 — Samsung Mobile Devices 5.0 Medium 2022-05-03
CVE-2022-29417 WordPress plugin ShortPixel Adaptive Images 安全漏洞 — ShortPixel Adaptive Images (WordPress plugin) 4.3 Medium 2022-04-25
CVE-2022-0541 WordPress和WordPress plugin 安全漏洞 — flo-launch 9.1 - 2022-04-25
CVE-2022-20732 Cisco Virtualized Infrastructure Manager 访问控制错误漏洞 — Cisco Virtualized Infrastructure Manager 7.8 High 2022-04-21
CVE-2021-43986 FANUC ROBOGUIDE 访问控制错误漏洞 — ROBOGUIDE 6.0 Medium 2022-04-20
CVE-2021-26627 EDrhyme QCP 200W 授权问题漏洞 — QCP 200W 7.5 High 2022-04-19

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