Skip to content
OpenAdvisories
High GHSA-qmfx-75ff-8mw6 GO-2022-0407

Listing of upload directory contents possible

Published May 27, 2021 · Updated Aug 21, 2024 · Assigned by GHSA

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 packages

EcosystemPackageAffectedFixedRecord
Go github.com/ThomasLeister/prosody-filer < 1.0.1 1.0.1 GHSA-qmfx-75ff-8mw6

References