high
Listing of upload directory contents possible
- Severity
- high rating by GitHub
- Published
- Last changed
- Also known as
- GO-2022-0407
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/ThomasLeister/prosody-filer (Go) | before 1.0.1 | GitHub Advisory Database, Go Vulnerability Database |
What each source says
GitHub Advisory Database
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.
Go Vulnerability Database
Listing of upload directory contents possible in github.com/ThomasLeister/prosody-filer
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-qmfx-75ff-8mw6 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0407 changed 2026-03-03 | CC-BY-4.0 |