param allows any external resource to be downloadable | https://████████
A download parameter accepted an arbitrary external URL, so the page would fetch and serve content from an attacker-controlled server. An attacker could trick a user into downloading malicious files from a trusted-looking page.
- Triaged in 13 hours
- Fixed in 5 months
- Disclosed after 5 months
Description: The following param allows an attacker to trick people into downloading malicious files, scripts and other payloads.
https://██████████?url=https://<MaliciousURL>
PoC
- I will show you how the page looks normally without any changes. If you directly access https://███ you will be shown the following page. You can click on 'Click to download' but nothing happens.
█████
- I replace the download param with the url param and entered my attacking vps server ip address as the URL and execute.
█████
- On my attacking vps server (The black console) you can see that i have received the request from my personal computers ip address showing that it is 100% possible to perform this attack.
https://██████████?url=https://████/poc
████████
Impact
If an attacker abuses this vulnerability he/she will be able to compromise accounts, computers and identities of people. Potentially Military staff if the attacker had bad intentions.
Step-by-step Reproduction Instructions
- Navigate to https://███████
- Click on 'Click to download'
- Replace download with url
- Type in a url and click download
Product, Version, and Configuration (If applicable)
Suggested Mitigation/Remediation Actions
Dev needs to add validation to the url param so that it doesn't allow external resources to be downloadable.
Resources:
The only article i can find pertaining to this type of vulnerability
https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html
Impact
If an attacker abuses this vulnerability he/she will be able to compromise accounts, computers and identities of people. Potentially Military staff if the attacker had bad intentions.
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 url parameter was passed to a server-side fetch or redirect without validating that it pointed to an allowed internal resource.
Impact
An attacker could make victims download malicious files from a trusted page, potentially compromising their accounts or computers.
What the attacker needed
Victim clicks a crafted link
How it was found
- Navigate to the download page.
- Click the 'Click to download' button.
- Replace the download parameter with a url parameter.
- Enter an external URL and click download.
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 web page had a setting that told it where to download a file from. The page did not check that the address was its own, so someone could point it at their own server. That means a victim could download a harmful file while thinking it came from the trusted site.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.