CVE-2024-52515 Nextcloud Server has incomplete sanitization of SVG files allows to embed other images into previews
Attackers can read arbitrary files via manipulated SVG previews if the SVG provider is enabled, requiring an upgrade to Nextcloud Server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-52515?
CVE-2024-52515 is a medium-severity path traversal vulnerability in Nextcloud Nextcloud Server, published on 15 Nov 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Nextcloud Server is a self hosted personal cloud system. After an admin enables the default-disabled SVG preview provider, a malicious user could upload a manipulated SVG file referencing paths. If the file would exist the preview of the SVG would preview the other file instead. It is recommended that the Nextcloud Server is upgraded to 27.1.10, 28.0.6 or 29.0.1 and Nextcloud Enterprise Server is upgraded to 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10, 28.0.6 or 29.0.1.
Weakness: CWE-706
Which versions are affected by CVE-2024-52515?
It affects 1 product.
Products include Nextcloud Nextcloud Server.
How do I fix CVE-2024-52515?
No fix has been published for CVE-2024-52515 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-52515 being exploited?
There is no known exploitation of CVE-2024-52515 in the wild and no public exploit code.
Other vulnerabilities in Nextcloud Nextcloud Server
- CVE-2021-32802 Preview generation used third-party library not suited for user-generated content in Nextcloud server
- CVE-2023-26482 Scope of workflow operations is not validated in nextcloud server
- CVE-2018-3775 Auth bypass in Nextcloud Server
- CVE-2023-35172 Nextcloud Server password reset endpoint is not brute force protected
- CVE-2023-32320 Nextcloud Server's brute force protection allows someone to send more requests than intended
Sources
Also known as GHSA-5m5g-hw8c-2236.