SurveyKing before 1.13.0 Unauthenticated File Download via /api/public/preview
javahuang SurveyKing
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| javahuang SurveyKing |
| No fix yet |
Original description
SurveyKing before 1.13.0 contains a missing authorization vulnerability that allows unauthenticated attackers to download any stored file by id through GET /api/public/preview/{attachmentId}. Attackers who know or derive time-ordered snowflake file ids can bypass shared, owner, and project checks in FileServiceImpl.loadFile to read private survey attachments and respondent uploads.
From the CVE record · VulnCheck