GHSA-qmfx-75ff-8mw6
JSON

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 packageVersionsReported by
github.com/ThomasLeister/prosody-filer (Go)before 1.0.1GitHub 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

SourceRecordLicence
GitHub Advisory DatabaseGHSA-qmfx-75ff-8mw6 changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0407 changed 2026-03-03CC-BY-4.0