Headline
CVE-2023-48306: DNS pin middleware can be tricked into DNS rebinding allowing SSRF
Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Server and starting in version 22.0.0 and prior to versions 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Enterprise Server, the DNS pin middleware was vulnerable to DNS rebinding allowing an attacker to perform SSRF as a final result. Nextcloud Server 25.0.11, 26.0.6, and 27.1.0 and Nextcloud Enterprise Server 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, and 27.1.0 contain patches for this issue. No known workarounds are available.
Package
Server (Nextcloud)
Affected versions
>= 25.0.0, >= 26.0.0, >= 27.0.0
Patched versions
25.0.11, 26.0.6, 27.1.0
Server (Nextcloud Enterprise)
>= 22.0.0, >= 23.0.0, >= 24.0.0, >= 25.0.0, >= 26.0.0, >= 27.0.0
22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6, 27.1.0
Description
Impact
The DNS pin middleware was vulnerable to DNS rebinding allowing an attacker to perform SSRF as a final result.
Patches
It is recommended that the Nextcloud Server is upgraded to 25.0.11, 26.0.6 or 27.1.0
It is recommended that the Nextcloud Enterprise Server is upgraded to 22.2.10.16, 23.0.12.11, 24.0.12.7, 25.0.11, 26.0.6 or 27.1.0
Workarounds
- No workaround available
References
- HackerOne
- PullRequest
For more information
If you have any questions or comments about this advisory:
- Create a post in nextcloud/security-advisories
- Customers: Open a support ticket at portal.nextcloud.com