Skip to content
Info disclosure Disclosed report Beginner

DoD internal documents are leaked to the public

A publicly reachable zip file contained internal DoD documents, including personal details such as names, email addresses, phone numbers and signatures. Anyone who found the file could download and redistribute it.

br0sck Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 30 days
  • Disclosed after 41 days

Hello Team,

I found a zip file containing documents about DoD. From what I looked at are documents for new soldiers who are starting out, but I didn't just find these files but several others like advice, commander files, plans, certificates and others.

███ ██████ █████████

In some of the files I found information such as name, surname, email, phone number and even signatures. Files like these shouldn't be exposed to the public.

██████████ █████████ █████ █████

Here is a list of the folders and documents that exist inside this zip file (it's quite big):

█████

Impact

  • Anyone can download these files and leak them to the public
  • Plan something against a specific person for a crime

System Host(s)

████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Open in your browser the URL https://█████

  2. Look for the file called "████" and download it

  3. Extract the file and look at the documents

I found some certificates in the Formats folder, in the Welcome folder there is someone's phone number, command files are in the Commander Files folder.

Suggested Mitigation/Remediation Actions

  • Change the location of this zip file and the others
  • Block viewing of files in this folder

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

The target is a U.S. Department of Defence web property. The feature involved is a publicly reachable zip archive that holds internal documents. Normally such an archive should sit behind authentication and authorisation, so that only the intended audience can download it. Here the archive was reachable directly by URL, and its contents were readable by anyone who downloaded it.

The report is classified as Information Disclosure with medium severity. No CVSS score is given.

Setup

The report describes no accounts, roles, tools or versions. The only precondition is a browser and the ability to download and extract a zip file.

Finding it

The researcher came across a zip file containing documents about the DoD. On inspection, the archive held material for new soldiers who are starting out, plus several other categories: advice, commander files, plans, certificates and others.

Some of the files contained personal information: name, surname, email address, phone number and even signatures. The researcher's position is that files like these should not be exposed to the public.

The report lists the folders and documents inside the archive, describing it as quite big, but the listing itself is redacted in the published text.

Exploitation

Step 1: Open the URL

HTTP
https://█████

The researcher opened the URL in a browser. The host is redacted in the published report, so the exact path to the archive is not visible.

Step 2: Download the archive

The researcher looked for the file called "████" and downloaded it. The file name is redacted.

Step 3: Extract and read

The researcher extracted the archive and looked at the documents. Inside, the material was organised into folders. The report names three examples:

  • the Formats folder contains certificates;
  • the Welcome folder contains someone's phone number;
  • the Commander Files folder contains command files.

Beyond those, the archive held documents for new soldiers, advice, plans and other certificates. The full folder and document listing is redacted.

Root cause

The report does not describe the server configuration or the code behind the URL. What it shows is an archive of internal documents that is downloadable by anyone who knows or finds the URL. The report does not state the cause. Its remediation suggestions are to move the zip file and the others, and to block viewing of files in that folder. The report's own remediation suggestions point the same way: move the zip file and the others, and block viewing of files in that folder.

Why existing defences did not stop it is not stated. The report gives no detail on directory listing, authentication or link discovery.

Impact

The report lists two consequences:

  • anyone can download these files and leak them to the public;
  • someone could plan something against a specific person for a crime, given the personal data in the archive.

The exposed data includes names, surnames, email addresses, phone numbers and signatures. The researcher frames the exposure as a risk to the individuals named in the documents, not only to the organisation. The report does not quantify how many people are affected or how the URL would be discovered by an attacker.

Fix

The report proposes two remediation actions:

  • change the location of this zip file and the others;
  • block viewing of files in this folder.

Variants to test

  • Guess or enumerate archive names in web-accessible directories and check whether a download starts without authentication. A positive result is an HTTP 200 with Content-Type for a zip archive and a non-trivial Content-Length.
  • Check whether directory listing is enabled on folders that hold exports, backups or document bundles. A positive result is an index page listing file names.
  • Look for archives referenced in client-side code, sitemaps or robots files, then request them directly. A positive result is a downloadable archive containing internal material.
  • Test whether the same folder serves individual documents as well as the archive. A positive result is a direct document download that bypasses whatever gate protects the rest of the site.

Hunting notes

This kind of bug tends to hide in static file locations: export folders, backup directories, document bundles and anything an administrator uploaded by hand. During recon, the signals are archive extensions in URLs, references to zip or document files in JavaScript and sitemaps, and folders that return listings. The researcher demonstrated impact by extracting the archive and describing the categories of internal material inside it, including personal data such as names, email addresses, phone numbers and signatures, and by naming three folders and what each contained. That concrete content, rather than the mere existence of a downloadable file, is what makes the disclosure case.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 9 min read.

What happened, in plain words

A security researcher found a zip file on a U.S. Department of Defence website that anyone on the internet could download. A zip file is a single file that works like a cardboard box: it holds many other files inside it, squashed down to take up less space, and you open it with a tool that unpacks the contents. The researcher downloaded the archive from a public URL without describing any login step.

When the researcher unpacked it, the contents turned out to be internal DoD material: documents for new soldiers who are starting out, advice, commander files, plans, certificates and more. Some of those documents contained personal details about real people, including names, surnames, email addresses, phone numbers and even signatures. Signatures matter because they are often used to prove that a person agreed to something, so a copy in the wrong hands can be misused.

The report is filed as an Information Disclosure issue of medium severity. Information Disclosure simply means that information which should have stayed private was reachable by people who should not have it. No CVSS score is given; CVSS is a standard scoring system that tries to put a number on how bad a security flaw is.

The rest of this article walks through exactly what the researcher did, in the same order as the report, and explains each idea from scratch along the way.

Context

The target is a U.S. Department of Defence web property. A web property is simply a site or service that lives on the internet and is run by an organisation. The feature involved here is a zip archive, a bundle of files, that sits at a public web address and holds internal documents.

Normally an archive like this should sit behind authentication and authorisation. Authentication is the site asking "who are you?" and checking your answer, the way a bouncer checks your name against a guest list. Authorisation is the next question, "are you allowed in here?", the way the same bouncer checks whether your name is on the list for this particular room. Here neither question was asked: the archive was reachable directly by its URL, and anyone who downloaded it could read everything inside. A URL is the address you type into a browser, like a street address for a page or file.

The report is classified as Information Disclosure with medium severity. No CVSS score is given.

Setup

The report describes no accounts, roles, tools or versions. The only precondition is a browser and the ability to download and extract a zip file. Extracting means unpacking the box so you can open the individual files inside.

Finding it

The researcher came across a zip file containing documents about the DoD. On inspection, the archive held material for new soldiers who are starting out, plus several other categories: advice, commander files, plans, certificates and others.

Some of the files contained personal information: name, surname, email address, phone number and even signatures. The researcher's position is that files like these should not be exposed to the public.

The report lists the folders and documents inside the archive, describing it as quite big, but the listing itself is redacted in the published text. Redacted means the platform or the researcher blacked the detail out before publishing, usually to avoid spreading the sensitive material further.

Exploitation

Exploitation here just means carrying out the steps that show the problem is real. There is no trickery involved: the researcher simply visited an address and downloaded a file, the same way you would download a holiday photo.

Step 1: Open the URL

HTTP
https://█████

This is the address the researcher opened in a browser. The https:// part tells the browser to use a secure, encrypted connection to the server, the same padlock connection you see on banking sites. The rest of the address is redacted, so the exact path to the archive is not visible in the published report.

Step 2: Download the archive

The researcher looked for the file called "████" and downloaded it. The file name is redacted. Downloading is the browser saving a copy of the file onto your own computer. The file name is redacted.

Step 3: Extract and read

The researcher extracted the archive and looked at the documents. Inside, the material was organised into folders. The report names three examples:

  • the Formats folder contains certificates;
  • the Welcome folder contains someone's phone number;
  • the Commander Files folder contains command files.

A folder is just a container inside the archive, the same as a folder on your desktop. Beyond those, the archive held documents for new soldiers, advice, plans and other certificates. The full folder and document listing is redacted.

Root cause

Root cause means the underlying reason the problem exists, as opposed to the symptom you see. The report does not describe the server configuration or the code behind the URL. What it shows is an archive of internal documents that is downloadable by anyone who knows or finds the URL.

The report does not state the cause. Its remediation suggestions are to move the zip file and the others, and to block viewing of files in that folder. A web-accessible location is a folder on the server that the web server will happily hand out to anyone who asks for a file in it, like a shop shelf rather than a locked cupboard. Access control is the mechanism that decides who may open what.

The report's own remediation suggestions point the same way: move the zip file and the others, and block viewing of files in that folder. Remediation means the fix.

Why existing defences did not stop it is not stated. The report gives no detail on directory listing, authentication or link discovery. Directory listing is a server setting that, when switched on, shows a browsable list of every file in a folder, like a shop with no doors showing all its stock; authentication is the login check described earlier; link discovery is how someone finds a URL, whether by guessing, by reading it in a page, or by finding it in a search engine.

Impact

Impact means the harm that follows if the flaw is left alone. The report lists two consequences:

  • anyone can download these files and leak them to the public;
  • someone could plan something against a specific person for a crime, given the personal data in the archive.

The exposed data includes names, surnames, email addresses, phone numbers and signatures. The researcher frames the exposure as a risk to the individuals named in the documents, not only to the organisation. The report does not quantify how many people are affected or how the URL would be discovered by an attacker.

Fix

The report proposes two remediation actions:

  • change the location of this zip file and the others;
  • block viewing of files in this folder.

Changing the location means moving the archive somewhere it is not publicly reachable, or putting it behind a login. Blocking viewing of files in the folder means telling the web server to refuse requests for anything in that directory.

Variants to test

Variants to test means other versions of the same idea that a tester could try, to see whether the same kind of mistake appears elsewhere. Each one below is described with what a positive result looks like.

  • Guess or enumerate archive names in web-accessible directories and check whether a download starts without authentication. Enumerate means trying a list of likely names one after another, such as backup.zip or documents.zip. A positive result is an HTTP 200 with Content-Type for a zip archive and a non-trivial Content-Length. HTTP 200 is the status code a server sends to mean "here you go, success". Content-Type is a label the server attaches saying what kind of file it is sending, and Content-Length says how big it is; a non-trivial length means it is a real file, not an empty placeholder.
  • Check whether directory listing is enabled on folders that hold exports, backups or document bundles. A positive result is an index page listing file names, meaning the server shows you the contents of the folder instead of refusing.
  • Look for archives referenced in client-side code, sitemaps or robots files, then request them directly. Client-side code is the instructions a browser runs on your own machine, which anyone can read; a sitemap is a file that lists a site's pages for search engines; a robots file tells search engines which parts of a site not to crawl, and ironically often points at the interesting parts. Requesting the archive directly means typing its address in the browser rather than clicking a link.
  • Test whether the same folder serves individual documents as well as the archive. A positive result is a direct document download that bypasses whatever gate protects the rest of the site. Bypasses means gets around; the gate here is the login or permission check that the rest of the site uses.

Hunting notes

Hunting notes are tips for someone searching for this kind of bug on other sites. This kind of bug tends to hide in static file locations: export folders, backup directories, document bundles and anything an administrator uploaded by hand. Static means the server just hands the file over as stored, without running any program to decide whether you may have it.

During recon, which is the information-gathering phase before testing, the signals are archive extensions in URLs, references to zip or document files in JavaScript and sitemaps, and folders that return listings. An extension is the tail end of a file name, such as .zip, that hints at the file type.

The researcher demonstrated impact by extracting the archive and describing the categories of internal material inside it, including personal data such as names, email addresses, phone numbers and signatures, and by naming three folders and what each contained. That concrete content, rather than the mere existence of a downloadable file, is what makes the disclosure case.

Glossary

  • Access control: the mechanism that decides who is allowed to open or use something.
  • Archive: a single file that bundles many files together, often compressed; a zip file is one kind.
  • Authentication: the process of proving who you are, usually with a username and password.
  • Authorisation: the process of deciding whether an identified person is allowed to do a particular thing.
  • Client-side code: instructions that run in your own browser rather than on the server, and which anyone can read.
  • Content-Length: a header in a web response stating the size of the file being sent.
  • Content-Type: a header in a web response stating what kind of file is being sent.
  • CVSS: a standard scoring system for rating the severity of a security flaw.
  • Directory listing: a server setting that shows a browsable list of all files in a folder.
  • Enumerate: to try a list of likely names or values one after another.
  • Exploitation: carrying out the steps that prove a security flaw is real and has an effect.
  • Extract: to unpack an archive so the individual files inside can be opened.
  • HTTP 200: the status code a server returns to mean the request succeeded.
  • Impact: the harm that results if a flaw is not fixed.
  • Information Disclosure: a flaw where information that should be private can be seen by people who should not see it.
  • Link discovery: the process of finding a URL, by guessing, reading pages, or using search engines.
  • Recon: the information-gathering phase before testing, where you learn about a target.
  • Redacted: blacked out or removed from a published text, usually to avoid spreading sensitive detail.
  • Remediation: the fix applied to close a security flaw.
  • Robots file: a file that tells search engines which parts of a site not to crawl.
  • Root cause: the underlying reason a problem exists, as opposed to the symptom.
  • Sitemap: a file that lists a site's pages for search engines.
  • Static file: a file the server hands over exactly as stored, without running a program to decide.
  • URL: the address of a page or file on the internet, typed into a browser.
  • Web-accessible: reachable by anyone who requests it over the web.
  • Zip file: a common kind of archive that bundles and compresses files into one.

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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.