Skip to content

EUSurvey wave (14 GHSAs): survey import writes a runnable JSP outside the storage dir

Source: 2026-11-24T00:31Z GitHub advisory wave plus the researcher's full technical writeup (Jose Lomeli, VulnCheck-assisted disclosure, published Nov 20). Primary entries: GHSA-f3xf-wmp6-83mr / CVE-2026-101862 (import traversal to JSP RCE, critical 9.9), GHSA-4qj4-rwh9-5553 / CVE-2026-101869 (unauthenticated SQLi via public result filter names), GHSA-cw28-pc6x-24mx / CVE-2026-101872 (blind ORDER BY SQLi via dashboard sort), GHSA-v23r-mghv-hh6p / CVE-2026-101864 (password-reset link valid after use), GHSA-5vx5-mc6j-27wf / CVE-2026-101866 (unbound draft save leaks private invitation tokens), GHSA-v88v-rpp3-q67m / CVE-2026-101870, GHSA-x6m3-wr5v-92pc / CVE-2026-101868, GHSA-hjqf-w7vr-pcc8 / CVE-2026-101871, GHSA-6732-rfvh-9xch / CVE-2026-101863, GHSA-2fqx-c2x2-9825 / CVE-2026-101867, GHSA-67wv-mcc6-p42w / CVE-2026-101874, GHSA-hgf8-xvgj-r9cc / CVE-2026-101876, GHSA-x29g-qxq2-2x45 / CVE-2026-101877, GHSA-pm65-7pr5-rcfm / CVE-2026-101873.

Wave in one line: the European Commission's open-source survey platform shipped a 14-finding batch where the public participant surface never checks that the survey, participation group, and invitation IDs in one request belong to each other, filter parameter names become SQL column expressions on an unauthenticated page, and a Form Manager zip import writes files anywhere the Tomcat user can write, including a runnable JSP.

EUSurvey (github.com/EUSurvey/EUSURVEY) hosts public consultations for most EU Directorates-General and is deployable by any organisation; 10 of the 14 vulnerable code paths ship in the 2014 source package, so the deployed population skews old. CVE-2026-101865 and CVE-2026-101875 are withheld until 2026-12-14: re-check this page then.

Authorized validation only

Run everything against a disposable local instance you control with synthetic surveys, accounts, and responses. The RCE leg writes into a Tomcat webapp directory: lab only, disposable tree, marker JSP that prints an inert token. Never probe live have-your-say or government consultations, never read real respondent data or invitation tokens from real participants, never overwrite another tenant's files.

What changed

Advisory Endpoint Boundary Operator value
GHSA-f3xf-wmp6-83mr / CVE-2026-101862 POST /noform/management/importSurvey Zip entry names used as file paths with no canonicalization; JSP accepted; lowest Form Manager role reaches it Archive-name traversal to webshell-class write, 12-year-old code path
GHSA-4qj4-rwh9-5553 / CVE-2026-101869 GET /publication/{shortname} Text after filter in a parameter name becomes the SQL column expression; values are bound, identifiers are not Unauthenticated SQLi on a public page with a row-presence boolean oracle
GHSA-cw28-pc6x-24mx / CVE-2026-101872 GET /dashboard/surveys Unrecognized sort value spliced into native-query ORDER BY Timing-based blind extraction from a sort parameter
GHSA-v23r-mghv-hh6p / CVE-2026-101864 GET/POST /auth/reset/ Reset code row has no used/revoked state, age-only check, issuing new links leaves old ones live Reset-link reuse for full ATO for 24h from issuance
GHSA-5vx5-mc6j-27wf / CVE-2026-101866 POST /runner/draft/runner Draft looked up by invitation alone; survey/group supplied independently and never cross-checked Anonymous draft overwrite + private invitation-token theft
GHSA-v88v-rpp3-q67m / CVE-2026-101870 POST /editcontribution/{code} Answer set selected by body contribution numeric ID Anonymous overwrite of another respondent's submission
GHSA-x6m3-wr5v-92pc / CVE-2026-101868 GET /preparepublishedcontribution/{id} Response PDF served by sequential DB ID with no participation check Unauthenticated read of private responses by ID enumeration
GHSA-hjqf-w7vr-pcc8 / CVE-2026-101871 POST /runner/delphiUpdate Handler checks survey exists + is Delphi but skips the closed-state check its siblings enforce Anonymous submissions to closed consultations (record integrity)
GHSA-6732-rfvh-9xch / CVE-2026-101863 POST /forms/bulkchange Bulk route accepts arbitrary survey IDs + privilege values, executor applies them Any authenticated user takes over or deletes any survey
GHSA-2fqx-c2x2-9825 / CVE-2026-101867 GET /settings/shareEdit/{shareId}, POST /settings/shares Ownership check denies only when a compound condition is fully true, logic error lets it pass Cross-user read/modify of contact shares
GHSA-67wv-mcc6-p42w / CVE-2026-101874 GET /exports/checkNew Handler trusts a browser-supplied user ID for export polling Cross-user export-name disclosure, notification suppression
GHSA-hgf8-xvgj-r9cc / CVE-2026-101876 PDF export path Question titles saved through the editor rendered as raw markup by the server-side PDF renderer Authenticated blind SSRF to internal services
GHSA-x29g-qxq2-2x45 / CVE-2026-101877 GET /pdf/survey/{surveyId} Checks that invitation and participation exist, not that they belong to this survey Cross-survey download of restricted questionnaire PDFs
GHSA-pm65-7pr5-rcfm / CVE-2026-101873 POST /runner/delphiUpdate explanations Stored without sanitization, rendered to other users Stored XSS participant-to-admin

Replayable validation boundaries

1. Multi-ID public flows: prove the binding, not the existence

Six legs in this wave (draft save, edit contribution, contribution PDF, closed Delphi, cross-survey PDF, export polling) share one defect shape: the request carries survey, participationGroup, and invitation (or contribution, shareId, userId) and the server checks each object exists but never that they belong together. The normal invitation flow in RunnerController does check group membership, activity, and survey derivation; the draft-save sibling simply skips those lines.

Operator rules:

  1. On any public or participant-facing flow that accepts two or more IDs from the same request, build the pairwise binding table: for each ID pair (survey-invitation, invitation-group, group-survey, contribution-survey, share-owner, user-export), submit a valid tuple then swap exactly one element to a foreign-but-valid value and record the decision. "200 where you expected 403" on the swapped row is the whole finding.
  2. Enumerate sibling handlers of a checked endpoint. When you find one route that validates (the intended invitation flow), grep for other routes that load the same objects (draft, export, preview, re-render). The unchecked sibling is the classic miss; here the closed-state check existed on the main runner but not on delphiUpdate.
  3. Sequential integer IDs on any response-serving route (/preparepublishedcontribution/{id}) are an enumeration oracle even when every other control holds: request id+1 from an anonymous session and diff against an authenticated baseline.
  4. Tokens that appear in resume links (draft resume URL carrying the invitation UUID) are credentials. Any flow that echoes a resume link back to a caller who merely supplied the numeric invitation ID converts an authz bug into bearer-token theft; check what the success response renders, not just the status code.

2. Filter and sort names are identifier positions: unauthenticated SQLi on the public results page

ReportingService binds filter values as named parameters but builds the column expression from the text after filter in the parameter name (filter{questionId}|{uid}from style), concatenating Q<uid-without-dashes> into the WHERE clause when the question lookup misses. The attacker therefore controls raw SQL in an identifier position from an anonymous GET, and the oracle is elegant: the public results page includes or omits a public row depending on a boolean condition about a private survey's reporting table (TD<surveyUid> naming scheme, respondent email, invitation ID, contribution codes all reachable through the reporting datasource).

This is the filter-key grammar family already canonized on the Kimai/FacturaScripts page (VoAPI search[...], FacturaScripts filter[...] parentheses) with two new axes:

  1. The public results page is the injection surface. Bug-hunters habitually test SQLi behind auth; here the vulnerable consumer is the published results feature that must be anonymous to exist. On any app with a "publish results/share/report" feature, run the identifier-position battery there first: parameter names containing |, quotes, parens, --, and (SELECT ...) shapes, and note which characters change status, row presence, or timing.
  2. Row-presence is a bit. The reporter proved extraction by flipping a condition about a synthetic private answer and observing the public row appear/disappear. In reports, tabulate condition-vs-response exactly like that: it survives triage far better than a raw error dump, and it works when the app suppresses all errors.
  3. The dashboard sort leg is the second half of the rule: unrecognized sort values go straight into native-query ORDER BY, so test sort parameters with (SELECT CASE WHEN (condition) THEN colA ELSE colB END) timing shapes even when values elsewhere are bound.

3. Reset codes without a consumed state

OneTimePasswordResetCode carries UUID, user ID, and timestamp, nothing else. checkValid() compares age only; the successful POST never consumes or deletes the row, and requesting a new code never invalidates old ones. Proof shape from the writeup: replay an already-used link with a third password and observe the 302 to passwordsaved, then confirm login accepts password three and rejects password two.

Durable probes for every password-reset flow, regardless of product: (a) reuse after successful change; (b) reuse after supersession (request link two, use link one); (c) lifetime from issuance vs from request; (d) whether the flow terminates sessions. The missing used_at/consumed column is greppable in any source-available app; on closed-source, the (a)+(b) pair takes two minutes in a lab and remains an under-tested ATO primitive, worse when mail forwarding or mailbox access is the attacker's only foothold.

4. Importer trust: zip entry names are paths and the payload is the "data"

The survey importer iterates ZipArchiveEntry names, treats *.fil entries as name.replace(".fil","") + storage folder + / + name with no normalize()/getCanonicalPath()/prefix check, and writes anything the account can create (existing files are skipped, new paths anywhere are fine). JSP is a permitted entry type, Form Management (the lowest survey-management privilege) is the only gate.

Rules for any import/restore/backup feature on this page's archive-extraction genealogy (July 28 extraction page):

  1. Entry-name trust differs from entry-count trust: fuzzers that prove "zip slip detected" usually stop at ../; test suffix-recognized entries (*.fil, *.sql, *.jsp, *.war) because the handler's type branch decides how the name is built, and the dangerous branch is the one that treats the name as an identifier/path rather than a display string.
  2. Score by renderer, not just write: write-anywhere becomes RCE only because the product serves JSP from the write range (unpacked WAR/writable docroot). Where the docroot is read-only, still report file-creation-as-service-account and enumerate other writable sinks (cron dirs, config dirs, plugin folders that load later).
  3. Age is exposure evidence: the researcher traced 10 of 14 findings to the 2014 source package. On open-source deployments, git log -S (or the release archive) for the vulnerable call site gives you a deployed-population likelihood statement for the report.

5. Server-side renderers are SSRF sinks hiding as formatting

Blind SSRF came from question titles saved through the editor later rendered as raw markup during PDF export: the renderer fetches http(s) resources server-side, so stored "display" content turns the export button into an internal port scanner. On any product with PDF/image/thumbnail export: feed every stored text field an owned-callback <img src=http://your-callback/leg-name> battery and watch the callback log per leg; the validate-at-save vs render-at-export gap is the usual cause, and blind is enough when the renderer leaks timing or fetch-error strings.

Reporting notes

  • Lead with the binding table or decision table for each leg; the EUSurvey batch was accepted because each finding shipped endpoint, controller, and code-quoted root cause. The row-presence oracle table is the model for blind SQLi evidence without error output.
  • Redact real respondent PII, invitation UUIDs, and contribution codes; use synthetic surveys with marker answers (EUSURVEY-CANARY-*) only.
  • Keep the withheld-CVE watch: CVE-2026-101865 and CVE-2026-101875 details land 2026-12-14; if the researcher's repo or VulnCheck publishes them, fold into this page rather than creating a duplicate.