CVE-2026-101870 in EUSurvey
Summary
by MITRE • 11/24/2026
EUSurvey through 1.6, prior to commit e7066cc, contains an authorization bypass vulnerability in the public POST /editcontribution/{code} endpoint that allows unauthenticated attackers to overwrite another respondent's submitted answers. The handler in ContributionController selects the survey and answer set from body parameters by numeric contribution ID and never checks that the private edit code in the URL matches that contribution, so an attacker who knows a contribution ID can replace its saved answers without the respondent's edit link.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/28/2026
The vulnerability identified in EUSurvey versions prior to 1.6 represents a critical authorization bypass flaw within the application logic of the public POST /editcontribution/{code} endpoint. This security defect stems from an inconsistent implementation of access control mechanisms, specifically where the server-side handler fails to validate that the private edit code provided in the URL path corresponds to the specific contribution record being modified. In secure web applications, when a resource is accessed via a unique identifier such as a numeric ID passed in the request body or parameters, it is imperative that any additional authentication tokens or secret codes included in the URI are rigorously verified against the metadata of that specific resource instance. The ContributionController logic described retrieves the survey and answer set based solely on the numeric contribution ID extracted from the body parameters while completely ignoring the private edit code present in the URL path. This architectural oversight creates a scenario where the integrity check is effectively nullified, allowing any actor who can guess or obtain a valid numeric contribution identifier to manipulate the associated data without possessing the required secret token.
From an operational perspective, this vulnerability allows unauthenticated attackers to overwrite another respondent's submitted answers with arbitrary content. The impact extends beyond simple data modification; it compromises the confidentiality and integrity of survey responses which are often intended for sensitive decision-making processes in governmental or organizational contexts. An attacker does not need valid credentials or prior interaction with the application other than knowing a contribution ID, which may be discoverable through enumeration attacks if IDs follow predictable sequential patterns. This capability undermines the fundamental trust model of the survey platform, as respondents believe their submissions are secured by unique edit links that only they possess. The ability to silently alter responses can lead to significant misinformation, skewed analytics, and potential legal or compliance issues for organizations relying on accurate data collection from this system.
This flaw is best classified under CWE-284 Improper Access Control, as the application fails to enforce proper authorization checks before granting access to sensitive operations. Specifically, it aligns with CWE-639 Authorization Bypass Through User-Controlled Key, where the attacker uses a user-controlled key (the numeric contribution ID) to bypass security restrictions that should be enforced by another factor (the private edit code). In terms of offensive cyber tactics, this vulnerability facilitates actions consistent with MITRE ATT&CK technique T1078 Valid Accounts or more broadly T1190 Exploit Public-Facing Application, as it allows an external actor to manipulate data within a public-facing service without valid authentication. The lack of binding between the resource identifier and the access token is a classic example of broken object level authorization principles being violated in practice.
To mitigate this vulnerability, developers must ensure that every request modifying sensitive resources performs a strict validation step where the secret edit code provided in the URL path is compared against the stored value associated with the numeric contribution ID retrieved from the database or application state. If these values do not match exactly, the server should reject the request immediately and return an appropriate error status indicating insufficient privileges rather than proceeding with the update operation. Additionally implementing rate limiting on this endpoint can help mitigate brute-force attempts to discover valid contribution IDs if they are sequential. Upgrading to version 1.6 or later is essential as it contains commit de1145c which addresses this logic flaw by enforcing proper correlation between the URL parameter and the resource being modified, thereby restoring the intended security boundary for user-submitted data.