CVE-2023-42439 GeoNode SSRF Bypass to return internal host data
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.
| Package | Affected | Fixed in |
|---|---|---|
geonode PyPI | From 3.2.0 | None |
geonode PyPI | From 3.2.0 | 4.1.3.post1 |
GeoNode PyPI | From 3.2.0 | 4.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.
Other vulnerabilities in geonode
- CVE-2023-40017 Geonode Server Side Request Forgery vulnerability
- CVE-2023-28442 Geoserver for GeoNode sensitive information leak
- CVE-2023-26043 XML External Entity (XXE) injection in GeoServer style upload functionality
- CVE-2024-27091 GeoNode stored XSS to full account takeover
- CVE-2026-39921 GeoNode < 4.4.5, 5.0.2 SSRF via Document Upload
Sources
Also known as GHSA-pxg5-h34r-7q8p, PYSEC-2023-176.