Skip to content
Path traversal Disclosed report Beginner

Arbitary file download vulnerability on a DoD website

The DotNetNuke EventsCalendar module on a DoD website was vulnerable to arbitrary file download. An attacker could craft a URL to download sensitive files from the web application or system.

alyssa_herrera Follow

Originally disclosed on HackerOne

  • Triaged in 1 hour
  • Fixed in 25 days
  • Disclosed after 44 days

Summary by the program

A DoD website was misconfigured in a manner that could have allowed an attacker to collect sensitive information about the web application or system. @psychomantis was able to demonstrate this vulnerability by crafting a specially formatted URL. Thank you for notifying us of this vulnerability!

Summary by the researcher

This website used DotNetNuke EventsCalendar which is prone to an arbitrary-file-download vulnerability. An example of what this looks like is this, website.com/desktopmodules/eventscalendar/downloaddoc.aspx We can exploit this by appending ?f=/downloaddoc.aspx so it'd look like this, website.com/desktopmodules/eventscalendar/downloaddoc.aspx?f=/downloaddoc.aspx

The original report as published on HackerOne, by alyssa_herrera. 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 downloaddoc.aspx page accepted a file path from the 'f' parameter without validating or restricting it to an intended directory.

Impact

An attacker could collect sensitive information about the web application or system by downloading arbitrary files.

What the attacker needed

Access to the website

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 file download feature on a website did not check which files it was allowed to serve. By changing a value in the web address, someone could ask the server for any file it could reach, including private ones. This is called arbitrary file download.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by alyssa_herrera

View all

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

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.