CVE-2024-52515 Nextcloud Server has incomplete sanitization of SVG files allows to embed other images into previews
MediumCVSS 6.5
EPSS 0.70%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nextcloud server | >= 24.0.0, < 24.0.12.15; >= 25.0.0, < 25.0.13.10; >= 26.0.0, < 26.0.13.4; >= 27.0.0, < 27.1.10 +2 more | 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10, 28.0.6, 29.0.1 | Fixed |
| Nextcloud security-advisories | = >= 27.0.0, < 27.1.10; = >= 28.0.0, < 28.0.6; = >= 29.0.0, < 29.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = >= 29.0.0, < 29.0.1 | No fix listed |
| Nextcloud security-advisories | = >= 28.0.0, < 28.0.6 | No fix listed |
| Nextcloud security-advisories | = >= 27.0.0, < 27.1.10 | No fix listed |
| nextcloud server | >= 24.0.0, < 24.0.12.15 | 24.0.12.15 |
| nextcloud server | >= 25.0.0, < 25.0.13.10 | 25.0.13.10 |
| nextcloud server | >= 26.0.0, < 26.0.13.4 | 26.0.13.4 |
| nextcloud server | >= 27.0.0, < 27.1.10 | 27.1.10 |
| nextcloud server | >= 28.0.0, < 28.0.6 | 28.0.6 |
| nextcloud server | >= 29.0.0, < 29.0.1 | 29.0.1 |
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236 vendor-advisory
- https://github.com/nextcloud/server/pull/45340 issue-tracking
- https://github.com/nextcloud/server/commit/7e1c30f82a63fbea8c269e0eec38291377f32604 patch
- https://hackerone.com/reports/2484499 issue-tracking