Nextcloud · Report #1781751
Ability to control the filename when uploading a logo or favicon on theming
Validstatus
lowseverity
6upvotes
10 Apr 2023disclosed
Summary
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-ch7f-px7m-hg25
How it was found
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]
- go to
http://localhost/settings/admin/theming - upload a logo or favicon
- intercept the request using burp
- 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.