GHSA-qmfx-75ff-8mw6 Listing of upload directory contents possible
An attacker can list uploaded files by accessing directory URLs, exposing user data without authentication.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-qmfx-75ff-8mw6?
GHSA-qmfx-75ff-8mw6 is a vulnerability in github.com/ThomasLeister/prosody-filer, published on 27 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
There's an security issue in prosody-filer versions < 1.0.1 which leads to unwanted directory listings of download directories.
An attacker is able to list previous uploads of a certain user by shortening the URL and accessing a URL subdirectors other than /upload/ (or the corresponding user defined root dir)
Version 1.0.1 and later fix this problem and allow only direct file access if the full path is known. Directory listings are blocked entirely.
Which versions are affected by GHSA-qmfx-75ff-8mw6?
3 open source packages ship an affected version, including github.com/ThomasLeister/prosody-filer.
| Package | Affected | Fixed in |
|---|---|---|
github.com/ThomasLeister/prosody-filer Go | All versions | 1.0.1 |
github.com/ThomasLeister/prosody-filer Go | All versions | 1.0.1 |
github.com/ThomasLeister/prosody-filer Go | All versions | 1.0.1 |
How do I fix GHSA-qmfx-75ff-8mw6?
Upgrade github.com/ThomasLeister/prosody-filer to 1.0.1 or later.
Is GHSA-qmfx-75ff-8mw6 being exploited?
There is no known exploitation of GHSA-qmfx-75ff-8mw6 in the wild and no public exploit code.
Sources
Also known as GO-2022-0407.