Lucene search

K
hackeroneCtulhuH1:1781751
HistoryNov 22, 2022 - 8:46 p.m.

Nextcloud: Ability to control the filename when uploading a logo or favicon on theming

2022-11-2220:46:30
ctulhu
hackerone.com
11
nextcloud
theming
filename control
logo
favicon
attacker
path disclosure
webapp
bug bounty
security issue

EPSS

0.002

Percentile

53.8%

Summary:

Hello,

When uploading a logo or favicon the filename can be controlled by attacker since the key can be modified which serves as the filename.

{F2044799}

{F2044800}

{F2044798}

Due to an error the path is also disclosed

{F2044802}

Steps To Reproduce:

[add details for how we can reproduce the issue]

  1. go to http://localhost/settings/admin/theming
  2. upload a logo or favicon
  3. intercept the request using burp
  4. modify the key

Impact

The attacker can upload any files directly in the webapp and path disclosure. Combining both information can be useful in later attacks.

EPSS

0.002

Percentile

53.8%