Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-639 (通过用户控制密钥绕过授权机制) — Vulnerability Class 1073

1073 vulnerabilities classified as CWE-639 (通过用户控制密钥绕过授权机制). AI Chinese analysis included.

CWE-639 represents an authorization bypass weakness where systems fail to validate that a user is permitted to access a resource identified by a user-controlled key. Attackers typically exploit this by manipulating identifiers, such as changing a numeric user ID in a URL or API parameter, to retrieve or modify another user’s private data. This insecure direct object reference allows unauthorized access without requiring authentication bypasses. Developers prevent this vulnerability by implementing robust server-side authorization checks that verify the requesting user’s permissions against the requested resource, rather than trusting client-supplied identifiers. Additionally, using indirect references or opaque tokens instead of predictable, sequential keys can mitigate the risk of enumeration and unauthorized access attempts.

MITRE CWE Description
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. Retrieval of a user record occurs in the system based on some key value that is under user control. The key would typically identify a user-related record stored in the system and would be used to lookup that record for presentation to the user. It is likely that an attacker would have to be an authenticated user in the system. However, the authorization process would not properly check the data access operation to ensure that the authenticated user performing the operation has sufficient entitlements to perform the requested data access, hence bypassing any other authorization checks present in the system. For example, attackers can look at places where user specific data is retrieved (e.g. search screens) and determine whether the key for the item being looked up is controllable externally. The key may be a hidden field in the HTML form field, might be passed as a URL parameter or as an unencrypted cookie variable, then in each of these cases it will be possible to tamper with the key value. One manifestation of this weakness is when a system uses sequential or otherwise easily-guessable session IDs that would allow one user to easily switch to another user's session and read/modify their data.
Common Consequences (3)
Access ControlBypass Protection Mechanism
Access control checks for specific user data or functionality can be bypassed.
Access ControlGain Privileges or Assume Identity
Horizontal escalation of privilege is possible (one user can view/modify information of another user).
Access ControlGain 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.
Mitigations (3)
Architecture and DesignFor each and every data access, ensure that the user has sufficient privilege to access the record that is being requested.
Architecture and Design, ImplementationMake 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 DesignUse 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.
Examples (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 IDTitleCVSSSeverityPublished
CVE-2025-5681 IDOR in Turtek Software's Eyotek — Eyotek 6.5 Medium2025-07-21
CVE-2025-1469 IDOR in Turtek Software's Eyotek — Eyotek 7.5 High2025-07-21
CVE-2024-13175 IDOR in Vidco Software's VOC TESTER — VOC TESTER 5.5 Medium2025-07-18
CVE-2025-4855 Support Board <= 3.8.0 - Unauthenticated Authorization Bypass due to Use of Default Secret Key — Support Board 9.8 Critical2025-07-08
CVE-2025-6942 Delinea Secret Server 安全漏洞 — Secret Server 3.8 Low2025-07-02
CVE-2025-49135 CVAT missing validation for in-progress backup upload names — cvat 6.5AIMediumAI2025-06-25
CVE-2025-3091 MB connect line: Authorization bypass in mbCONNECT24/mymbCONNECT24 — mbCONNECT24 7.5 High2025-06-24
CVE-2025-49978 WordPress JobSearch plugin < 3.0.6 - Insecure Direct Object References (IDOR) Vulnerability — JobSearch 4.3 Medium2025-06-20
CVE-2025-49995 WordPress Download Attachments plugin <= 1.3.1 - Insecure Direct Object References (IDOR) vulnerability — Download Attachments 5.3 Medium2025-06-20
CVE-2025-6329 ScriptAndTools Real Estate Management System User Delete userdelete.php authorization — Real Estate Management System 5.4 Medium2025-06-20
CVE-2025-5195 Authorization Bypass Through User-Controlled Key in GitLab — GitLab 4.3 Medium2025-06-12
CVE-2024-45329 Fortinet FortiPortal 安全漏洞 — FortiPortal 3.9 Medium2025-06-10
CVE-2025-40661 Insecure Direct Object Reference (IDOR) vulnerability in DM Corporative CMS — DM Corporative CMS 6.5AIMediumAI2025-06-10
CVE-2025-40660 Insecure Direct Object Reference (IDOR) vulnerability in DM Corporative CMS — DM Corporative CMS 6.5AIMediumAI2025-06-10
CVE-2025-40659 Insecure Direct Object Reference (IDOR) vulnerability in DM Corporative CMS — DM Corporative CMS 6.5AIMediumAI2025-06-10
CVE-2025-40658 Insecure Direct Object Reference (IDOR) vulnerability in DM Corporative CMS — DM Corporative CMS 6.5AIMediumAI2025-06-10
CVE-2025-4691 Free Booking Plugin for Hotels, Restaurants and Car Rentals – eaSYNC Booking <= 1.3.21 - Insecure Direct Object Reference to Sensitive Information Exposure — eaSYNC Booking – Hotels, Restaurants & Car Rentals 5.3 Medium2025-05-31
CVE-2025-40650 Insecure Direct Object Reference (IDOR) in Clickedu — Clickedu 4.3AIMediumAI2025-05-26
CVE-2025-5182 Summer Pearl Group Vacation Rental Management Platform Listing authorization — Vacation Rental Management Platform 4.3 Medium2025-05-26
CVE-2025-20114 Cisco Unified Intelligence Center Insecure Direct Object Reference Vulnerability — Cisco Unified Contact Center Express 4.3 Medium2025-05-21
CVE-2025-24969 iTop portal user can see any other contact's picture — iTop 5.0 Medium2025-05-14
CVE-2024-52601 iTop portal Insecure Direct Object Reference vulnerability — iTop 6.5 Medium2025-05-14
CVE-2025-3769 Latepoint <= 5.1.92 - Unauthenticated Insecure Direct Object Reference — LatePoint – Calendar Booking Plugin for Appointments and Events 5.3 Medium2025-05-14
CVE-2024-8988 PeepSo Core: File Uploads <= 6.4.6.0 - Insecure Direct Object Reference to Unauthenticated Sensitive Information Exposure via file_download — PeepSo Core: File Uploads 5.3 Medium2025-05-14
CVE-2025-3605 Frontend Login and Registration Blocks <= 1.1.1 - Unauthenticated Privilege Escalation via Account Takeover — Login, Registration and Lost Password Blocks 9.8 Critical2025-05-09
CVE-2025-3811 WPBookit <= 1.0.2 - Insecure Direct Object Reference to Unauthenticated Privilege Escalation via Email Update — WPBookit 9.8 Critical2025-05-09
CVE-2025-3810 WPBookit <= 1.0.2 - Insecure Direct Object Reference to Unauthenticated Privilege Escalation via Account Takeover — WPBookit 9.8 Critical2025-05-09
CVE-2025-20214 Cisco IOS XE 安全漏洞 — Cisco IOS XE Software 4.3 Medium2025-05-07
CVE-2025-3853 WPshop 2 – E-Commerce 2.0.0 - 2.6.0 - Insecure Direct Object Reference to Authenticated (Subscriber+) Arbitrary User Key Generation — WPshop 2 – E-Commerce 6.5 Medium2025-05-07
CVE-2025-3281 User Registration & Membership – Custom Registration Form, Login Form, and User Profile <= 4.2.1 - Insecure Direct Object Reference to Unauthenticated Limited User Deletion — User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder 5.3 Medium2025-05-06

Vulnerabilities classified as CWE-639 (通过用户控制密钥绕过授权机制) represent 1073 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.