U.S. Dept Of Defense · Report #686343
[██████████] — Directory traversal via `/aerosol-bin/███████/display_directory_████_t.cgi`
How it was found
Description
On the domain https://█████████, there is a vulnerable endpoint that lets an attacker preview and browse the whole server including all the server's critical directories such as etc , var, cache etc. located in the root directory of this Linux web server.
This vulnerable endpoint is found on many pages across this web app including:
https://www.██████████/aerosol-bin/██████/█████.html_t.cgi?date=20070301
Proof of concept
Please visit the following URLs for the POC:
███
█████
██████
Fix
To fix this issue, the DIR parameter must be properly validated to show only data in the directories that is supposed to be public and must not go above public folders (public_html) in any case.
Impact
This vulnerability can reveal all the information about the web server including any libraries installed, any sensitive directories, potentially allowing an attacker to leverage this to compromise the web server.
Thanks, Usama