Lucene search

K
hackeroneBohwazH1:1690510
HistorySep 03, 2022 - 5:44 p.m.

Nextcloud: the complete server installation path is visible in cloud/user endpoint

2022-09-0317:44:27
bohwaz
hackerone.com
17
nextcloud
server
installation path
data exposure
bug bounty

EPSS

0.001

Percentile

30.9%

https://github.com/nextcloud/server/issues/33883

When doing a GET request on /ocs/v1.php/cloud/user?format=json the server returns user data, including one containing the full local server path:

            "storageLocation": "/home/bohwaz/www/tmp/nextcloud/data/bohwaz",

This is not a big security issue (as you need to be logged-in to get that response), but this is data that an attacker shouldn’t be able to know easily.

This happens on a brand new install after using the web installer.

Impact

Sensitive internal info

EPSS

0.001

Percentile

30.9%