GHSA-qmfx-75ff-8mw6 json
Listing of upload directory contents possible
published 5y ago modified 8mo ago also GO-2022-0407
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/ThomasLeister/prosody-filer 1.0.1
Is GHSA-qmfx-75ff-8mw6 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/ThomasLeister/prosody-filer | <1.0.1 |
1.0.1 |
References
Sources
- GitHub Advisory GHSA-qmfx-75ff-8mw6
- OSV GO-2022-0407
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.