Ability to control the filename when uploading a logo or favicon as admin in the theming settings
Package
Server
(Nextcloud)
Affected versions
>= 24.0.0, >= 25.0.0
Patched versions
24.0.10, 25.0.4
Server
(Nextcloud Enterprise)
>= 23.0.0, >= 24.0.0, >= 25.0.0
23.0.14, 24.0.10, 25.0.4
Impact
An admin was able to upload files with a provided file name into the appdata directory. Since admins of Nextcloud have remote code execution by default, there is no increased risk.
Patches
It is recommended that the Nextcloud Server is upgraded to 24.0.10 or 25.0.4
It is recommended that the Nextcloud Enterprise Server is upgraded to 23.0.14 or 24.0.10 or 25.0.4
Workarounds
References
For more information
If you have any questions or comments about this advisory: