CVE-2023-25162 Nextcloud Server vulnerable to SSRF via filter bypass due to lax checking on IPs
Attackers can bypass IP filters to perform SSRF and read sensitive metadata, particularly on AWS-hosted Nextcloud servers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-25162?
CVE-2023-25162 is a medium-severity server-side request forgery vulnerability in Nextcloud Nextcloud Server, published on 13 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Nextcloud Server prior to 24.0.8 and 23.0.12 and Nextcloud Enterprise server prior to 24.0.8 and 23.0.12 are vulnerable to server-side request forgery (SSRF). Attackers can leverage enclosed alphanumeric payloads to bypass IP filters and gain SSRF, which would allow an attacker to read crucial metadata if the server is hosted on the AWS platform. Nextcloud Server 24.0.8 and 23.0.2 and Nextcloud Enterprise Server 24.0.8 and 23.0.12 contain a patch for this issue. No known workarounds are available.
Weakness: CWE-918
Which versions are affected by CVE-2023-25162?
It affects 1 product.
Products include Nextcloud Nextcloud Server.
How do I fix CVE-2023-25162?
No fix has been published for CVE-2023-25162 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2023-25162 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25162 exists.
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-mqrx-grp7-244m.