CVE-2024-29198 GeoServer Vulnerable to Unauthenticated SSRF via TestWfsPost
Attackers can perform Server-Side Request Forgery via the TestWfsPost endpoint if Proxy Base URL is unset, potentially accessing internal resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-29198?
CVE-2024-29198 is a high-severity server-side request forgery vulnerability in geoserver, published on 10 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. It possible to achieve Service Side Request Forgery (SSRF) via the Demo request endpoint if Proxy Base URL has not been set. Upgrading to GeoServer 2.24.4, or 2.25.2, removes the TestWfsPost servlet resolving this issue.
Weakness: CWE-918
Which versions are affected by CVE-2024-29198?
8 open source packages ship an affected version, including org.geoserver.web:gs-app and org.geoserver:gs-wfs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.geoserver.web:gs-app Maven | From 2.0.0 | 2.24.4 |
org.geoserver.web:gs-app Maven | From 2.0.0 | 2.24.4 |
org.geoserver.web:gs-app Maven | From 2.25.0 | 2.25.2 |
org.geoserver.web:gs-app Maven | From 2.25.0 | 2.25.2 |
org.geoserver:gs-wfs Maven | From 2.0.0 | 2.24.4 |
org.geoserver:gs-wfs Maven | From 2.0.0 | 2.24.4 |
2 more packages
org.geoserver:gs-wfs Maven | From 2.25.0 | 2.25.2 |
org.geoserver:gs-wfs Maven | From 2.25.0 | 2.25.2 |
Products include Osgeo Geoserver.
How do I fix CVE-2024-29198?
Upgrade org.geoserver.web:gs-app to a fixed version for your release line: 2.24.4 or 2.25.2.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2024-29198 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29198 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in geoserver
- CVE-2023-25157 Unfiltered SQL Injection Vulnerabilities in Geoserver
- CVE-2024-34711 GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)
- CVE-2023-41339 Unsecured WMS dynamic styling sld=<url> parameter affords blind unauthenticated SSRF in GeoServer
- CVE-2023-43795 WPS Server Side Request Forgery in GeoServer
- CVE-2025-30145 GeoServer has an Infinite Loop Vulnerability in Jiffle process
Sources
Also known as GHSA-5gw5-jccf-6hxw.