CVE-2023-42439 GeoNode SSRF Bypass to return internal host data

High 7.5 Published Updated

Attackers can bypass SSRF controls to read data from internal network services via URL parsing tricks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-42439?

CVE-2023-42439 is a high-severity server-side request forgery vulnerability in geonode, published on 15 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data. A SSRF vulnerability exists starting in version 3.2.0, bypassing existing controls on the software. This can allow a user to request internal services for a full read SSRF, returning any data from the internal network. The application is using a whitelist, but the whitelist can be bypassed. The bypass will trick the application that the first host is a whitelisted address, but the browser will use `@` or `%40` as a credential to the host geoserver on port 8080, this will return the data to that host on the response. Version 4.1.3.post1 is the first available version that contains a patch.

Weakness: CWE-918

Which versions are affected by CVE-2023-42439?

3 open source packages ship an affected version, including geonode and GeoNode. It affects 1 product.

PackageAffectedFixed in
geonode PyPIFrom 3.2.0None
geonode PyPIFrom 3.2.04.1.3.post1
GeoNode PyPIFrom 3.2.04.1.3.post1

Products include Geosolutionsgroup Geonode.

How do I fix CVE-2023-42439?

Upgrade geonode to 4.1.3.post1 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2023-42439 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-42439 exists.

Sources

Also known as GHSA-pxg5-h34r-7q8p, PYSEC-2023-176.

Is CVE-2023-42439 in your software?

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

Check your SBOMs for free