Reflected File Download

Severity: Low
Summary#

Invicti detected a possible reflected file download which might enable attackers to gain complete control over a website user's machine by virtually downloading a file from a trusted domain.

This is a vulnerability in the browsers that only affects Microsoft Windows systems.

Impact#

An attacker can craft a URL on the target website that can execute commands on the website visitor's computer if the visitor accepts the download.

For a Reflected File Download attack to be successful:

  1. Attacker controlled input needs to be reflected in the response.
  2. Attacker should be able to change the URL of the vulnerable site to an executable file extension resulting a file download on the website user's browser.
Remediation#
  • Add Content-Disposition header with filename attribute in the HTTP response:
    Content-Disposition: attachment; filename=f.txt

Build your resistance to threats. And save hundreds of hours each month.

Get a demo See how it works