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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-639 通过用户控制密钥绕过授权机制 类漏洞列表 2041

CWE-639 通过用户控制密钥绕过授权机制 类弱点 2041 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-639 属于授权绕过漏洞,指系统依赖用户可控的键值检索数据时,未验证该键值是否属于当前请求用户。攻击者通过篡改标识符(如ID),直接访问其他用户的数据记录。开发者应避免使用直接暴露的键值,转而采用间接引用或会话上下文验证,确保每次数据访问前严格校验资源归属权,从而防止越权访问。

MITRE CWE 官方描述
CWE:CWE-639 通过用户可控密钥绕过授权(Authorization Bypass Through User-Controlled Key) 英文:系统的授权功能未能阻止用户通过修改标识数据的密钥值,从而获取其他用户的数据或记录。 系统中基于某个受用户控制的密钥值来检索用户记录。该密钥通常用于标识系统中存储的与用户相关的记录,并用于查找该记录以呈现给用户。攻击者很可能需要是系统中的已认证用户。然而,授权过程未能正确检查数据访问操作,以确保执行该操作的已认证用户拥有执行所请求数据访问的足够权限,从而绕过了系统中存在的任何其他授权检查。例如,攻击者可以查看检索特定用户数据的位置(例如搜索界面),并确定正在查找的项目的密钥是否可外部控制。该密钥可能是 HTML 表单中的隐藏字段,也可能作为 URL 参数或未加密的 Cookie 变量传递,在这些情况下,都有可能篡改密钥值。这种弱点的一种表现形式是,当系统使用顺序生成或易于猜测的会话 ID(Session IDs)时,允许一个用户轻松切换到另一个用户的会话并读取/修改其数据。
常见影响 (3)
Access Control Bypass Protection Mechanism
Access control checks for specific user data or functionality can be bypassed.
Access Control Gain Privileges or Assume Identity
Horizontal escalation of privilege is possible (one user can view/modify information of another user).
Access Control Gain Privileges or Assume Identity
Vertical escalation of privilege is possible if the user-controlled key is actually a flag that indicates administrator status, allowing the attacker to gain administrative access.
缓解措施 (3)
Architecture and Design For each and every data access, ensure that the user has sufficient privilege to access the record that is being requested.
Architecture and Design, Implementation Make sure that the key that is used in the lookup of a specific user's record is not controllable externally by the user or that any tampering can be detected.
Architecture and Design Use encryption in order to make it more difficult to guess other legitimate values of the key or associate a digital signature with the key so that the server can verify that there has been no tampering.
代码示例 (1)
The following code uses a parameterized statement, which escapes metacharacters and prevents SQL injection vulnerabilities, to construct and execute a SQL query that searches for an invoice matching the specified identifier [1]. The identifier is selected from a list of all invoices associated with the current authenticated user.
... conn = new SqlConnection(_ConnectionString); conn.Open(); int16 id = System.Convert.ToInt16(invoiceID.Text); SqlCommand query = new SqlCommand( "SELECT * FROM invoices WHERE id = @id", conn); query.Parameters.AddWithValue("@id", id); SqlDataReader objReader = objCommand.ExecuteReader(); ...
Bad · C#
CVE ID 标题 CVSS 风险等级 Published
CVE-2023-44249 Fortinet FortiManager 安全漏洞 — FortiManager 4.1 Medium 2023-10-10
CVE-2023-42455 Wazuh 安全漏洞 — wazuh-kibana-app 8.8 High 2023-10-09
CVE-2023-2544 Universitat Politècnica de València PEIX 安全漏洞 — UPV PEIX 5.3 Medium 2023-10-03
CVE-2023-32669 BuddyBoss 安全漏洞 — BuddyBoss 5.4 Medium 2023-10-03
CVE-2023-4101 IDM Sistemas QSige 安全漏洞 — QSige 8.8 High 2023-10-03
CVE-2023-4099 IDM Sistemas QSige 安全漏洞 — QSige 7.6 High 2023-10-03
CVE-2023-44206 Acronis Cyber Protect 安全漏洞 — Acronis Cyber Protect 15 9.1 - 2023-09-27
CVE-2023-44205 Acronis Cyber Protect 安全漏洞 — Acronis Cyber Protect 15 7.5 - 2023-09-27
CVE-2023-44154 Acronis Cyber Protect 安全漏洞 — Acronis Cyber Protect 15 9.1 - 2023-09-27
CVE-2023-4934 Usta AYBS 安全漏洞 — AYBS 8.8 High 2023-09-27
CVE-2023-4213 WordPress plugin Simplr Registration Form Plus+ 安全漏洞 — Simplr Registration Form Plus+ 8.8 High 2023-09-13
CVE-2023-41368 SAP S4 HANA 安全漏洞 — S4 HANA ABAP (Manage checkbook apps) 2.7 Low 2023-09-12
CVE-2023-4587 ZKTeco ZEM800 安全漏洞 — ZEM800 8.3 High 2023-09-04
CVE-2023-2173 WordPress plugin BadgeOS 安全漏洞 — BadgeOS 6.5 Medium 2023-08-31
CVE-2023-2172 WordPress plugin BadgeOS 安全漏洞 — BadgeOS 4.3 Medium 2023-08-31
CVE-2023-0689 WordPress plugin Metform Elementor Contact Form Builder 安全漏洞 — MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor 4.3 Medium 2023-08-31
CVE-2023-38201 Keylime 安全漏洞 — Red Hat Enterprise Linux 9 6.5 Medium 2023-08-25
CVE-2023-32078 Gravitl Netmaker 安全漏洞 — netmaker 7.5 High 2023-08-24
CVE-2023-2958 Origin Software ATS Pro 安全漏洞 — ATS Pro 9.8 Critical 2023-07-17
CVE-2023-3700 Easy!Appointments 访问控制错误漏洞 — alextselegidis/easyappointments 6.3 Medium 2023-07-17
CVE-2023-2190 GitLab 安全漏洞 — GitLab 6.5 Medium 2023-07-13
CVE-2023-3105 WordPress Plugin LearnDash LMS 安全漏洞 — LearnDash LMS 8.8 High 2023-07-12
CVE-2023-30956 Palantir Foundry Issues 安全漏洞 — com.palantir.comments:comments 5.3 Medium 2023-07-10
CVE-2023-30960 Palantir Foundry job-tracker 安全漏洞 — com.palantir.foundry.jobtracker:job-tracker 4.3 Medium 2023-07-10
CVE-2023-37242 Huawei HarmonyOS 安全漏洞 — HarmonyOS 9.8 - 2023-07-06
CVE-2023-3063 WordPress Plugin SP Project & Document Manager 安全漏洞 — SP Project & Document Manager 8.8 High 2023-06-30
CVE-2023-23679 WordPress plugin JS Help Desk – Best Help Desk & Support 安全漏洞 — JS Help Desk 4.6 Medium 2023-06-23
CVE-2023-26428 Open-Xchange OX App Suite 安全漏洞 — OX App Suite 6.5 Medium 2023-06-20
CVE-2023-34000 WordPress Plugin WooCommerce Stripe Payment Gateway 安全漏洞 — WooCommerce Stripe Payment Gateway 7.5 High 2023-06-14
CVE-2023-3048 TMT Lockcell 安全漏洞 — Lockcell 9.8 Critical 2023-06-13

CWE-639(通过用户控制密钥绕过授权机制) 是常见的弱点类别,本平台收录该类弱点关联的 2041 条 CVE 漏洞。