XSS on https://uploads-prod.reticulum.io
The file upload service allowed SVG files to be uploaded and served directly, so an attacker could upload an SVG containing script that executes when opened. This could be used to make a victim's browser inaccessible to the upload domain via cookie bombing.
- Fixed in 4 months
- Paid in 4 months
- Disclosed after 4 months
Steps:
1. Go to https://hubs.mozilla.com/ and join any room
2. Go to chat and upload attached SVG file
3. Open uploaded SVG file and observe an XSS
Uploading SVG is allowed, and therefore execute script on the page.
https://uploads-prod.reticulum.io/files/1fdf9306-eade-4079-b162-a28a619692b3.svg?token=cc7f494ccddd037838a843ef6cd273bd
This can be used to make victim inaccessible to https://uploads-prod.reticulum.io/ via cookie bombing.
We could have used AppCache to steal victim's uploaded files, but sadly, AppCache just got deprecated in Chrome 94 :(
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
Impact
An attacker could run script in the context of the upload domain, which could be used to make the victim's browser inaccessible to that domain via cookie bombing; stealing uploaded files via AppCache was considered but is no longer possible in recent Chrome.
What the attacker needed
A Hubs account; victim opens the uploaded SVG
How it was found
- Join any room on the Hubs site.
- In the chat, upload an SVG file.
- Open the uploaded SVG file and observe the script executing.
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.
A website let people upload SVG image files and then showed them directly in the browser. SVG files can contain code, so when someone opened the uploaded file, that code ran as if it were part of the website. This is called cross-site scripting (XSS), where an attacker's code runs in a victim's browser under the website's trust.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.