HexBrain

U.S. Dept Of Defense · Report #685344

Local File Disclosure on the ████████ (https://████/) leads to the source code disclosure & DB credentials leak

Validstatus
highseverity
15upvotes
12 Jan 2021disclosed

How it was found

Description

I discovered another LFD on the https://████/ (virtual host on the █████ IP)

POC

https://█████/file.ashx?path=web.config will download the website configuration file. It exposes different DB credentials than in previous reports: ███

Similarly, attacker able to get content of any server-side file, such as source code of application: https://███/file.ashx?path=index.aspx

Impact

Source code & sensitive configuration data leakage. Attacker can use it to compromise the resource.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original