Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-5gw5-jccf-6hxw

HIGH

GeoServer Vulnerable to Unauthenticated SSRF via TestWfsPost

Also known asCVE-2024-29198
Published
Jun 10, 2025
Updated
Jun 10, 2025
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed

EPSS Exploitation Probability

via FIRST.org ↗
1.9%probability of exploitation in next 30 days
Lower Risk77th percentile-4.58%
0.00%4.20%8.39%12.6%5.1%1.9%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

4 pkgs affected
org.geoserver:gs-wfsorg.geoserver.web:gs-apporg.geoserver:gs-wfsorg.geoserver.web:gs-app

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Summary

It possible to achieve Service Side Request Forgery (SSRF) via the Demo request endpoint if Proxy Base URL has not been set.

Details

A unauthenticated user can supply a request that will be issued by the server. This can be used to enumerate internal networks and also in the case of cloud instances can be used to obtain sensitive data.

Mitigation

  1. When using GeoServer with a proxy, manage the proxy base value as a system administrator, use the application property PROXY_BASE_URL to provide a non-empty value that cannot be overridden by the user interface or incoming request.

  2. When using GeoServer directly without a proxy, block all access to TestWfsPost by editing the web.xml file. Adding this block right before the end:

       <security-constraint>
            <web-resource-collection>
                <web-resource-name>BlockDemoRequests</web-resource-name>
                <url-pattern>/TestWfsPost/*</url-pattern>
            </web-resource-collection>
            <auth-constraint>
                <role-name>BLOCKED</role-name>
            </auth-constraint>
        </security-constraint>
    

Resolution

Upgrading to GeoServer 2.24.4, or 2.25.2, removes the TestWfsPost servlet resolving this issue.

The demo request page functionality is now implemented directly in the browser.

Reference

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.geoserver:gs-wfs2.0.0&&< 2.24.42.24.4
Mavenorg.geoserver.web:gs-app2.0.0&&< 2.24.42.24.4
Mavenorg.geoserver:gs-wfs2.25.0&&< 2.25.22.25.2
Mavenorg.geoserver.web:gs-app2.25.0&&< 2.25.22.25.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.geoserver:gs-wfs. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.geoserver:gs-wfs to 2.24.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-5gw5-jccf-6hxw is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-5gw5-jccf-6hxw is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-5gw5-jccf-6hxw. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Summary It possible to achieve Service Side Request Forgery (SSRF) via the Demo request endpoint if Proxy Base URL has not been set. ### Details A unauthenticated user can supply a request that will be issued by the server. This can be used to enumerate internal networks and also in the case of cloud instances can be used to obtain sensitive data. ### Mitigation 1. When using GeoServer with a proxy, manage the proxy base value as a system administrator, use the application property ``PROXY_BASE_URL`` to provide a non-empty value that cannot be overridden by the user interface or incom
O3 Security · Impact-Aware SCA

Is GHSA-5gw5-jccf-6hxw in your dependencies?

O3 detects GHSA-5gw5-jccf-6hxw across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.