Advisory

GHSA-qmfx-75ff-8mw6

Also known as: GO-2022-0407

Summary

Listing of upload directory contents possible

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-27 18:41 UTC
Modified
2024-08-21 15:27 UTC

Affected packages and fixes

github.com/ThomasLeister/prosody-filer

Go · All systems

Affected

  • introduced 0, fixed 1.0.1 (semver)

Fixed versions

1.0.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences