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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

1594 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-2024-10121 wfh45678 Radar Interface authorization — Radar 7.3 High2024-10-18
CVE-2024-9263 WP Timetics- AI-powered Appointment Booking Calendar and Online Scheduling Plugin <= 1.0.25 - Insecure Direct Object Reference to Unauthenticated Arbitrary User Password/Email Reset/Account Takeover — Timetics – Appointment Booking & Scheduling 9.8 Critical2024-10-17
CVE-2024-9215 Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors <= 4.7.1 - Insecure Direct Object Reference to Authenticated (Author+) Arbitrary User Email Update and Account Takeover — Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors 8.8 High2024-10-17
CVE-2024-9862 Miniorange OTP Verification with Firebase <= 3.6.0 - Unauthenticated Arbitrary User Password Change — Miniorange OTP Verification with Firebase 9.8 Critical2024-10-17
CVE-2024-8040 Authorization Bypass Through User-Controlled Key vulnerability affecting 3DSwym in 3DSwymer on Release 3DEXPERIENCE R2024x — 3DSwymer 7.7 High2024-10-16
CVE-2023-7286 ACF Quick Edit Fields <= 3.2.2 - Authenticated (Contributor+) Insecure Direct Object Reference — ACF Quick Edit Fields 6.5 Medium2024-10-16
CVE-2024-49388 Acronis Cyber Protect 安全漏洞 — Acronis Cyber Protect 16 8.2 -2024-10-15
CVE-2024-9687 WP 2FA with Telegram <= 3.0 - Authenticated (Subscriber+) Authentication Bypass — AuthPress 8.8 High2024-10-15
CVE-2024-47495 Junos OS Evolved: In a dual-RE scenario a locally authenticated attacker with shell privileges can take over the device. — Junos OS Evolved 6.7 Medium2024-10-11
CVE-2024-7041 IDOR in open-webui/open-webui — open-webui/open-webui 4.3AIMediumAI2024-10-09
CVE-2024-9554 Sovell Smart Canteen System Password Reset suanfa.py Check_ET_CheckPwdz201 authorization — Smart Canteen System 3.7 Low2024-10-06
CVE-2024-47316 WordPress Salon Booking Wordpress Plugin plugin <= 10.9 - Insecure Direct Object References (IDOR) vulnerability — Salon booking system 4.3 Medium2024-10-05
CVE-2024-47657 Improper Access Control Vulnerability — Net Back Office 6.5 -2024-10-04
CVE-2024-20513 Cisco AnyConnect VPN 安全漏洞 — Cisco Meraki MX Firmware 5.8 Medium2024-10-02
CVE-2024-39319 aimeos/ai-controller-frontend has IDOR vulnerability in account profile page — ai-controller-frontend--AI2024-09-26
CVE-2024-8290 WCFM – Frontend Manager for WooCommerce along with Bookings Subscription Listings Compatible <= 6.7.12 - Insecure Direct Object Reference to Account Takeover/Privilege Escalation — WCFM – Frontend Manager for WooCommerce 8.8 High2024-09-25
CVE-2024-8485 REST API TO MiniProgram <= 4.7.1 - Unauthenticated Arbitrary User Email Update and Privilege Escalation via Account Takeover — REST API TO MiniProgram 9.8 Critical2024-09-25
CVE-2024-8791 Donation Forms by Charitable – Donations Plugin & Fundraising Platform for WordPress <= 1.8.1.14 - Insecure Direct Object Reference to Account Takeover and Privilege Escalation — Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More 9.8 Critical2024-09-24
CVE-2024-45806 Potential manipulate `x-envoy` headers from external sources in envoy — envoy 6.5 Medium2024-09-19
CVE-2024-45614 Header normalization allows for client to clobber proxy set headers in Puma — puma 5.4 Medium2024-09-19
CVE-2024-46982 Cache Poisoning in next.js — next.js 7.5 High2024-09-17
CVE-2024-45605 Improper authorization on deletion of user issue alert notifications in sentry — sentry 6.5 Medium2024-09-17
CVE-2024-45606 Improper authorization on muting of alert rules in sentry — sentry 7.1 High2024-09-17
CVE-2024-6685 Authorization Bypass Through User-Controlled Key in GitLab — GitLab 3.1 Low2024-09-16
CVE-2022-3459 WooCommerce Multiple Free Gift <= 1.2.3 - Insufficient Server-Side Validation to Arbitrary Gift Adding — WooCommerce Multiple Free Gift 5.3 Medium2024-09-14
CVE-2024-6087 Improper Access Control in lunary-ai/lunary — lunary-ai/lunary 8.8AIHighAI2024-09-13
CVE-2024-3306 IDOR in Utarit Information's SoliClub — SoliClub 9.1AICriticalAI2024-09-12
CVE-2024-3305 IDOR in Utarit Information's SoliClub — SoliClub 7.5AIHighAI2024-09-12
CVE-2024-45786 Improper Authorization Vulnerability — Mutual Fund Distribution Product (aiM-Star) 6.5AIMediumAI2024-09-11
CVE-2023-44254 Fortinet FortiAnalyzer和FortiManager 安全漏洞 — FortiAnalyzer 4.7 Medium2024-09-10

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