From Image Upload to Admin Panel: How a Simple SSRF Led to Massiv
The image upload feature accepted a user-supplied URL and fetched it server-side, causing SSRF. By probing internal services reachable through that SSRF, the researcher found an unauthenticated admin panel whose push-notification test tool returned full user profiles, exposing PII for the platform's user base.
Published on medium.com
Some vulnerabilities start with complex exploit chains. Others start with a profile picture upload.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the image upload trusted a user-controlled URL and fetched it server-side without validation, and an internal admin interface was exposed without authentication.
Impact
An attacker could reach an unauthenticated admin panel and retrieve comprehensive personal data, including emails, linked social accounts with OAuth tokens, device tokens and wallet information, for any user on the platform.
What the attacker needed
A free account; ability to intercept requests; out-of-band interaction server
The fix
The organisation remediated the issue the same day, and the write-up recommends validating and sandboxing user-supplied URLs and protecting internal admin interfaces with authentication, network segmentation and monitoring.
How it was found
- Sign up and complete onboarding, then start an image upload with an intercepting proxy running.
- Notice the upload request body contains a URL rather than file data.
- Replace that URL with a Collaborator endpoint and forward the request.
- Observe multiple callbacks from different source addresses and user agents.
- Scan the responding addresses and ports, finding an admin panel on an unusual port.
- Open the admin panel without credentials and use its push-notification test tool with a user ID, which returns full profile data.
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 write-up has not been written yet. The Original tab links to the source.
When you upload a picture, the app usually takes the file directly. Here it instead took a web address and asked its own servers to download the image from that address. Because the servers could reach internal machines that outsiders cannot, the researcher used this to find an admin page with no password, which then leaked personal data about users.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.