Lucene search

K
hackeroneNursodaH1:719426
HistoryOct 21, 2019 - 10:54 p.m.

Nextcloud: File-drop content is visible through the gallery app

2019-10-2122:54:00
nursoda
hackerone.com
16

EPSS

0.001

Percentile

47.8%

I set up a file-drop on NC 17 (btw, according to https://nextcloud.com/security/ NC17 is not covered - but it should be once it’s released!): created folder, set share as upload-only. I access that folder as https://cloud.domain.com/s/randompath - fine: I get the upload interface and cannot see what’s in the folder. I (or anyone else) upload(s) something. Still fine. Now I use https://cloud.domain.com/apps/gallery/s/randompath and see everything that gallery can display. In my case, it was an upload folder for pictures, so everything is displayed (and can be downloaded, even if I set “hide download”!).

Impact

Access all media files uploaded to a (not so secure) file-drop (https://nextcloud.com/file-drop/) folder. Could be critical in, say, a hospital, police, etc.