{"id":"GHSA-qmfx-75ff-8mw6","aliases":["GHSA-qmfx-75ff-8mw6","GO-2022-0407"],"related":[],"kind":"vulnerability","state":"published","title":"Listing of upload directory contents possible","summary":"There's an security issue in prosody-filer versions **< 1.0.1** which leads to unwanted directory listings of download directories. \n\nAn 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)\n\nVersion 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"There's an security issue in prosody-filer versions **< 1.0.1** which leads to unwanted directory listings of download directories. \n\nAn 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)\n\nVersion 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Listing of upload directory contents possible in github.com/ThomasLeister/prosody-filer","format":"markdown","source":"go"}],"published":"2021-05-27T18:41:00.000Z","modified":"2026-03-03T04:52:10.128Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.1"}],"ecosystem":"Go","package":"github.com/ThomasLeister/prosody-filer","purl":"pkg:golang/github.com/ThomasLeister/prosody-filer","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.1"}],"ecosystem":"Go","package":"github.com/ThomasLeister/prosody-filer","purl":"pkg:golang/github.com/ThomasLeister/prosody-filer","source":"go"}],"references":[{"url":"https://github.com/ThomasLeister/prosody-filer/security/advisories/GHSA-qmfx-75ff-8mw6","tags":["advisory","web"],"sources":["ghsa","go"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qmfx-75ff-8mw6","url":"https://github.com/advisories/GHSA-qmfx-75ff-8mw6","licence":"CC-BY-4.0","modified":"2024-08-21T15:27:05.528Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0407","url":"https://pkg.go.dev/vuln/GO-2022-0407","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:10.128Z"}],"updatedAt":"2026-11-25T22:56:23.091Z"}