CVE-2023-25162 Nextcloud Server vulnerable to SSRF via filter bypass due to lax checking on IPs

Medium 5.3 Published Updated

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.

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-mqrx-grp7-244m.

Is CVE-2023-25162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free