Skip to content
SSRF Disclosed report Beginner

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.

x3ph_ Follow

Originally disclosed on HackerOne

  • 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

  1. 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.

█████

  1. I replace the download param with the url param and entered my attacking vps server ip address as the URL and execute.

█████

  1. 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

  1. Navigate to https://███████
  2. Click on 'Click to download'
  3. Replace download with url
  4. 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.

The original report as published on HackerOne, by x3ph_. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Navigate to the download page.
  2. Click the 'Click to download' button.
  3. Replace the download parameter with a url parameter.
  4. 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.

More by x3ph_

View all

5 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.