don't allow directory browsing on grtp.co
The web server for grtp.co was configured to show directory listings for the /v1/ and /v2/ paths, allowing anyone to see the files inside those folders. An attacker could use this to find source code or other useful information for planning further attacks.
- Disclosed after under an hour
Hello guys,
Details: The web server is configured to display the list of files contained in this directory. As a result of a misconfiguration - end user / attacker able to see content of the folders with systemically important files According to yours Scope (any other software we publish) - I found that one of sites: grtp.co is vulnerable to Directory listening
Vulnerable place: http://grtp.co/v1/ http://grtp.co/v2/
PoC:

Impact: Exposing the contents of a directory can lead to an attacker gaining access to source code or providing useful information for the attacker to devise exploits, such as creation times of files or any information that may be encoded in file names. The directory listing may also compromise private or confidential data.
Remediation:
- Configure your web server to prevent directory listings for all paths beneath the web root;
- Place into each directory a default file (such as index.htm) that the web server will display instead of returning a directory listing.
Let me know if you have any question.
Thanks for your attention, Stas
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 web server was left with directory listing enabled and no default index file in those directories.
Impact
Exposing directory contents could let an attacker access source code or gather information useful for crafting exploits, and may compromise private or confidential data.
What the attacker needed
None
The fix
The web server should be configured to prevent directory listings for all paths, and each directory should contain a default file such as index.htm.
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.
When a web server does not have a default page (like index.html) for a folder, it can show a list of all files in that folder instead. This is called directory listing or directory browsing. Here, the server showed such lists for two folders, which could let anyone see files that were not meant to be public.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.