CVE-2025–55911 — ClipBucket 5.5.2 Build #90 — SSRF via upload/actions/file_downloader.php
The file parameter in upload/actions/file_downloader.php does not validate target URLs, so an authenticated low-privileged user can make the server request internal hosts or cloud metadata endpoints. This could allow internal service enumeration and metadata disclosure.
Published on medium.com
Hello — my name is Mukundsinh Solanki, from Gujarat, India. I am a Penetration Tester with 8+ years’ experience in discovering and helping remediate security issues across web, mobile, and network applications.
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 application does not validate or restrict the URLs supplied in the file parameter, allowing requests to internal and metadata endpoints.
Impact
An authenticated low-privileged user could enumerate internal services, potentially disclose cloud metadata or API keys, and pivot into internal services.
What the attacker needed
Valid authenticated session cookie; low-privileged account
The fix
The file parameter should be restricted to an allowlist of safe hosts, block private IP ranges, loopback, link-local, and cloud metadata addresses, and disallow the file:// scheme.
How it was found
- Obtain a valid authenticated session cookie for a non-privileged account.
- Send a POST request to /upload/actions/file_downloader.php with the file parameter set to an internal URL.
- Observe whether the server attempts to connect to the internal host or port.
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.
Server-Side Request Forgery (SSRF) is when a website is tricked into making a request to a location the attacker chooses, such as an internal server that is not reachable from the internet. Here, a logged-in user can give the application a web address, and the server will try to fetch it, even if it points to a private or internal system.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.