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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2052 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-2024-11915 RRAddons for Elementor <= 1.1.0 - Authenticated (Contributor+) Post Disclosure — RRAddons for Elementor 4.3 Medium 2025-01-11
CVE-2024-42169 HCL MyXalytics is affected by insecure direct object references — DRYiCE MyXalytics 7.1 High 2025-01-11
CVE-2024-12472 Post Duplicator <= 2.36 - Authenticated (Contributor+) Protected Post Disclosure — Post Duplicator 4.3 Medium 2025-01-11
CVE-2024-10215 WPBookit <= 1.6.4 - Unauthenticated Arbitrary User Password Change — WPBookit 9.8 Critical 2025-01-09
CVE-2024-12131 WP Job Portal – A Complete Recruitment System for Company or Job Board website <= 2.2.5- Authenticated (Subscriber+) Insecure Direct Object Reference — WP Job Portal – AI-Powered Recruitment System for Company or Job Board website 4.3 Medium 2025-01-07
CVE-2024-12132 WP Job Portal – A Complete Recruitment System for Company or Job Board website <= 2.2.4 - Authenticated (Subscriber+) Insecure Direct Object Reference — WP Job Portal – AI-Powered Recruitment System for Company or Job Board website 4.3 Medium 2025-01-03
CVE-2024-13040 Quanta Computer QOCA aim - Authorization Bypass — QOCA aim 8.8 High 2024-12-31
CVE-2024-52294 khoj has an IDOR in subscription management that allows unauthorized subscription modifications — khoj 4.3 Medium 2024-12-30
CVE-2024-12335 Avada Builder <= 3.11.12 - Authenticated (Contributor+) Protected Post Disclosure — Avada (Fusion) Builder 4.3 Medium 2024-12-25
CVE-2024-12103 Content No Cache: prevent specific content from being cached <= 0.1.2 - Unauthenticated Private Content Disclosure — Content No Cache | Serve uncached partial content even when you add it to a page that is fully cached. 5.3 Medium 2024-12-24
CVE-2024-10797 Full Screen Menu for Elementor <= 1.0.7 - Authenticated (Contributor+) Post Disclosure — Full Screen Menu for Elementor 4.3 Medium 2024-12-21
CVE-2024-4464 Synology Media Server 安全漏洞 — Media Server 7.5 High 2024-12-18
CVE-2024-12061 Events Addon for Elementor <= 2.2.3 - Authenticated (Contributor+) Post Disclosure — Events Addon for Elementor 4.3 Medium 2024-12-18
CVE-2024-9819 IDOR in NextGEO's NG Analyser — NG Analyser 6.5 Medium 2024-12-17
CVE-2024-10690 Shortcodes for Elementor <= 1.0.4 - Authenticated (Contributor+) Post Disclosure — Shortcodes for Elementor 4.3 Medium 2024-12-14
CVE-2024-12447 Get Post Content Shortcode <= 0.4 - Insecure Direct Object Reference to Authenticated (Contributor+) Sensitive Information Disclosure via post_content Shortcode — Get Post Content Shortcode 4.3 Medium 2024-12-14
CVE-2024-12309 Rate My Post – Star Rating Plugin by FeedbackWP <= 4.2.4 - Unauthenticated Voting On Scheduled Posts — Rate My Post – Star Rating Plugin by FeedbackWP 5.3 Medium 2024-12-13
CVE-2024-11275 WP Timetics- AI-powered Appointment Booking Calendar and Online Scheduling Plugin <= 1.0.27 - Missing Authorization to Authenticated (Subscriber+) Arbitrary User Deletion — Timetics – Appointment Booking & Scheduling 4.3 Medium 2024-12-13
CVE-2024-11181 Greenshift – animation and page builder blocks <= 9.9.9.3 - Authenticated (Contributor+) Post Disclosure — Greenshift – animation and page builder blocks 4.3 Medium 2024-12-12
CVE-2024-12059 ElementInvader Addons for Elementor <= 1.3.1 - Missing Authorization to Arbitrary Options Read — ElementInvader Addons for Elementor 4.3 Medium 2024-12-12
CVE-2024-12483 Dromara UJCMS User ID id authorization — UJCMS 3.7 Low 2024-12-11
CVE-2024-12305 Object-Level Access Control Vulnerability Allows Unauthorized Access to Student Grades in Unifiedtransform — Unifiedtransform 4.3 Medium 2024-12-09
CVE-2024-10689 XLTab – Accordions and Tabs for Elementor Page Builder <= 1.4 - Authenticated (Contributor+) Post Disclosure — XLTab – Accordions and Tabs for Elementor Page Builder 4.3 Medium 2024-12-06
CVE-2024-10692 PowerPack Elementor Addons (Free Widgets, Extensions and Templates) <= 2.8.1 - Authenticated (Contributor+) Post Disclosure — PowerPack Addons for Elementor (Free Widgets, Extensions and Templates) 4.3 Medium 2024-12-06
CVE-2024-10777 AnyWhere Elementor <= 1.2.11 - Authenticated (Contributor+) Post Disclosure — Dynific Addons for Elementor (formerly AnyWhere Elementor) 4.3 Medium 2024-12-05
CVE-2024-10787 LA-Studio Element Kit for Elementor <= 1.4.4 - Authenticated (Contributor+) Post Disclosure — LA-Studio Element Kit for Elementor 4.3 Medium 2024-12-04
CVE-2024-12099 Dollie Hub – Build Your Own WordPress Cloud Platform <= 6.2.0 - Authenticated (Contributor+) Post Disclosure — Dollie AI – Connect 4.3 Medium 2024-12-04
CVE-2024-42422 Dell NetWorker 安全漏洞 — NetWorker 8.3 High 2024-12-03
CVE-2024-12062 Charity Addon for Elementor <= 1.3.3 - Authenticated (Contributor+) Post Disclosure — Charity Addon for Elementor 4.3 Medium 2024-12-03
CVE-2024-38827 Spring Security Authorization Bypass for Case Sensitive Comparisons — Spring Security 4.8 Medium 2024-12-02

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