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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2050 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 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.
Mitigations (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.
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 ID Title CVSS Severity Published
CVE-2025-58627 WordPress Miraculous Core Plugin plugin < 2.0.9 - Insecure Direct Object References (IDOR) vulnerability — Miraculous Core Plugin 9.8 Critical 2025-11-06
CVE-2025-11690 IDOR vulnerability in the CFMOTO RIDE API — RIDE 8.5 High 2025-11-04
CVE-2025-0987 IDOR in CB Project's CVLand — CVLand 9.9 Critical 2025-11-03
CVE-2025-12623 fushengqian fuint Authentication Token ClientSignController.java authorization — fuint 3.1 Low 2025-11-03
CVE-2025-6574 Service Finder Bookings < 6.1 - Authenticated (Subscriber+) Privilege Escalation via Account Takeover — Service Finder Bookings 8.8 High 2025-11-01
CVE-2025-5949 Service Finder Bookings <= 6.0 - Authenticated (Subscriber+) Privilege Escalation via change_candidate_password — Service Finder Bookings 8.8 High 2025-11-01
CVE-2025-64283 WordPress RTMKit plugin <= 1.6.7 - Insecure Direct Object References (IDOR) vulnerability — RTMKit 6.5 Medium 2025-10-29
CVE-2025-12351 Inadequate access control measure allows unauthorized users to access restricted administrative functions — S35 3M/5M/8M/Pinhole/Kit Camera 6.8 Medium 2025-10-27
CVE-2025-12288 Bdtask Pharmacy Management System User Profile edit_user authorization — Pharmacy Management System 4.3 Medium 2025-10-27
CVE-2025-12283 code-projects Client Details System authorization — Client Details System 4.3 Medium 2025-10-27
CVE-2025-34293 GN4 Publishing System Insecure Direct Object Reference (IDOR) Information Disclosure — GN4 Publishing System 8.8 - 2025-10-24
CVE-2025-11957 Devolutions Server 安全漏洞 — Server 8.1AI High AI 2025-10-22
CVE-2025-49952 WordPress Houzez theme <= 4.2.5 - Insecure Direct Object References (IDOR) vulnerability — Houzez 6.5 Medium 2025-10-22
CVE-2025-6833 All in One Time Clock Lite – Tracking Employee Time Has Never Been Easier <= 2.0 - Insecure Direct Object Reference to Authenticated (Subscriber+) Arbitrary Clocking In/Out — All in One Time Clock Lite – Tracking Employee Time Has Never Been Easier 4.3 Medium 2025-10-22
CVE-2025-10570 Flexible Refund and Return Order for WooCommerce <= 1.0.38 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Order Refund — Flexible Refund and Return Order for WooCommerce 4.3 Medium 2025-10-22
CVE-2025-8884 IDOR in VHS Electronic Software's ACE Center — ACE Center 5.5 Medium 2025-10-20
CVE-2025-11519 Image optimization service by Optimole <= 4.1.0 - Insecure Direct Object Reference to Authenticated (Author+) Media Offload — Optimole – Optimize Images in Real Time 4.3 Medium 2025-10-18
CVE-2025-11741 WPC Smart Quick View for WooCommerce <= 4.2.5 - Insecure Direct Object Reference to Unauthenticated Private Product Exposure — WPC Smart Quick View for WooCommerce 5.3 Medium 2025-10-18
CVE-2025-11517 Event Tickets and Registration <= 5.26.5 - Unauthenticated Ticket Payment Bypass — Event Tickets and Registration 7.5 High 2025-10-18
CVE-2025-11895 Binary MLM Plan <= 5.0 - Authenticated (Subscriber+) Insecure Direct Object Reference — Binary MLM Plan 4.3 Medium 2025-10-17
CVE-2024-56143 Strapi Allows Unauthorized Access to Private Fields via parms.lookup — strapi 8.2 High 2025-10-16
CVE-2025-9559 Pega Platform versions 8.7.5 to Infinity 24.2.2 are affected by a Insecure Direct Object Reference issue in a user interface component that can only be used to read data — Pega Infinity 6.5 Medium 2025-10-16
CVE-2025-41020 Insecure direct object reference (IDOR) vulnerability in Sergestec's Exito — Exito 6.5AI Medium AI 2025-10-16
CVE-2025-10742 Truelysell Core <= 1.8.6 - Unauthenticated Arbitrary User Password Change — Truelysell Core 9.8 Critical 2025-10-16
CVE-2025-11176 Quick Featured Images <= 13.7.2 - Insecure Direct Object Reference to Image Manipulation — Quick Featured Images 4.3 Medium 2025-10-15
CVE-2025-40773 Siemens SiPass integrated 安全漏洞 — SiPass integrated 3.5 Low 2025-10-14
CVE-2025-62252 Liferay Portal和Liferay DXP 安全漏洞 — Portal 6.5AI Medium AI 2025-10-13
CVE-2025-62241 Liferay DXP 安全漏洞 — DXP 4.3AI Medium AI 2025-10-13
CVE-2025-62242 Liferay Portal和Liferay DXP 安全漏洞 — Portal 4.3AI Medium AI 2025-10-13
CVE-2025-62244 Liferay Portal和Liferay DXP 安全漏洞 — Portal 6.5AI Medium AI 2025-10-13

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