Exposed CDN access token allows modification of all newly uploaded Snapmatic photos
A CDN access token was exposed in a response, and it remained valid for a short time after a photo upload. An attacker could use it to modify newly uploaded Snapmatic photos during that window.
- Disclosed after 4 months
Summary by the program
In this report, the researcher reported an exposure of CDN access token that allows an attacker to modify newly uploaded photo in GTA5 Snapmatics. The access token retained validity for a brief interval subsequent to the upload process, thereby providing a window of opportunity for content modification. This issue has been resolved by removing CDN fields from the response.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application returned CDN access credentials in a response instead of keeping them server-side, and those credentials stayed valid briefly after upload.
Impact
An attacker could modify newly uploaded Snapmatic photos, but only during the brief period the token remained valid.
What the attacker needed
Access to the upload response; act within the token's short validity
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you upload a photo, the service gives your browser a temporary key so it can send the file to a content delivery network (CDN), which is a network of servers that store and serve files. That key was visible in a response and stayed usable for a short time after the upload. Anyone who saw it could change photos that had just been uploaded.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.