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

目标: 1000 元 · 已筹: 1310

100%

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

CWE-284 访问控制不恰当 类弱点 2142 条 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-2017-6866 Siemens XHQ 4和5 安全漏洞 — XHQ 4 (All versions before V4.7.1.3), XHQ 5 (All versions before V5.0.0.2) 6.5 -2017-08-07
CVE-2017-7928 Schweitzer Engineering Laboratories SEL-3620和SEL-3622 Security Gateway 安全漏洞 — Schweitzer Engineering Laboratories, Inc. SEL-3620 and SEL-3622 9.6 -2017-08-07
CVE-2017-7918 Cambium Networks ePMP 访问控制错误漏洞 — Cambium Networks ePMP 6.8 -2017-06-21
CVE-2017-8438 Elastic X-Pack Security 权限许可和访问控制漏洞 — X-Pack Security 8.8 -2017-06-05
CVE-2017-6016 LCDS - Leao Consultoria e Desenvolvimento de Sistemas LTDA ME LAquis SCADA 访问控制错误漏洞 — LCDS Leao Consultoria e Desenvolvimento de Sistemas LTDA ME LAquis SCADA 7.8 -2017-05-19
CVE-2016-9368 Eaton xComfort Ethernet Communication Interface 访问控制错误漏洞 — Eaton xComfort Ethernet Communication Interface 7.5 -2017-03-14
CVE-2014-2365 Advantech WebAccess 安全漏洞 — WebAccess 8.1 -2014-07-19
CVE-2012-6435 Rockwell Automation ControlLogix 远程拒绝服务漏洞 — 1756-ENBT, 1756-EWEB, 1768-ENBT, 1768-EWEB communication modules 9.8 -2013-01-24
CVE-2012-6439 Rockwell Automation ControlLogix 远程拒绝服务漏洞 — 1756-ENBT, 1756-EWEB, 1768-ENBT, 1768-EWEB communication modules 9.8 -2013-01-24
CVE-2012-6442 Rockwell Automation ControlLogix 拒绝服务漏洞 — 1756-ENBT, 1756-EWEB, 1768-ENBT, 1768-EWEB communication modules 9.8 -2013-01-24
CVE-2012-6068 CoDeSys 安全绕过漏洞 — CODESYS Control Runtime embedded 9.8 Critical2013-01-21
CVE-2009-2631 SSL VPN 安全漏洞 — Adaptive Security Appliance Web SSL VPN 5.3 -2009-12-04

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