CWE-285 授权机制不恰当 类弱点 1059 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-285 属于权限控制缺陷,指系统在访问资源或执行操作时未正确执行授权检查。攻击者常通过篡改请求参数或绕过前端限制,以非授权身份访问敏感数据或执行特权操作。开发者应实施严格的基于角色的访问控制,在服务器端对所有请求进行细粒度权限验证,确保仅允许合法用户执行相应操作,从而杜绝越权风险。
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']);sub DisplayPrivateMessage { my($id) = @_; my $Message = LookupMessageObject($id); print "From: " . encodeHTML($Message->{from}) . "<br>\n"; print "Subject: " . encodeHTML($Message->{subject}) . "\n"; print "<hr>\n"; print "Body: " . encodeHTML($Message->{body}) . "\n"; } my $q = new CGI; # For purposes of this example, assume that CWE-309 and # CWE-523 do not apply. if (! AuthenticateUser($q->param('username'), $q->param('password'))) { ExitError("invalid username or password"); } my $id = $q->param('id'); DisplayPrivateMessage($id);| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2017-0896 | Zulip Server 安全漏洞 — Zulip Server | 4.3 | - | 2017-06-02 |
| CVE-2017-7484 | PostgreSQL 信息泄露漏洞 — PostgreSQL | 7.5 | - | 2017-05-12 |
| CVE-2017-0892 | Nextcloud Server 安全漏洞 — Nextcloud Server | 6.5 | - | 2017-05-08 |
| CVE-2017-0894 | Nextcloud Server 信息泄露漏洞 — Nextcloud Server | 5.3 | - | 2017-05-08 |
| CVE-2017-0895 | Nextcloud Server 信息泄露漏洞 — Nextcloud Server | 4.3 | - | 2017-05-08 |
| CVE-2017-2686 | Siemens RUGGEDCOM ROX I 信息泄露漏洞 — RUGGEDCOM ROX I All versions | 6.5 | - | 2017-03-29 |
| CVE-2017-2689 | Siemens RUGGEDCOM ROX I 安全漏洞 — RUGGEDCOM ROX I All versions | 8.8 | - | 2017-03-29 |
| CVE-2016-9464 | Nextcloud Server 安全漏洞 — Nextcloud Server Nextcloud Server before 9.0.54 and 10.0.0 | 4.3 | - | 2017-03-28 |
| CVE-2014-2349 | Emerson DeltaV 权限许可和访问控制漏洞 — DeltaV | 6.0 | - | 2014-05-22 |
CWE-285(授权机制不恰当) 是常见的弱点类别,本平台收录该类弱点关联的 1059 条 CVE 漏洞。