Skip to content
OpenAdvisories
High · 7.5 GHSA-68cf-j696-wvv9

GeoServer vulnerable to SSRF in TestWfsPost for specific targets, e.g. PHP + Nginx

Published Jun 10, 2025 · Assigned by GHSA

Description

### Summary

Missing checks allow for SSRF to specific targets using the TestWfsPost enpoint.

### Mitigation

To manage the proxy base value as a system administrator, use the parameter ``PROXY_BASE_URL`` to provide a non-empty value that cannot be overridden by the user interface or incoming request.[thomsmith](https://github.com/thomsmith).

### Resolution

The TestWfsPost has been replaced in GeoServer 2.25.2 and GeoServer 2.24.4 with a JavaScript [Demo Requests](https://docs.geoserver.org/latest/en/user/configuration/demos/index.html#demo-requests) page to test OGC Web Services.

### References

* [CVE-2024-29198](https://github.com/geoserver/geoserver/security/advisories/GHSA-5gw5-jccf-6hxw) Unauthenticated SSRF via TestWfsPost

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.geoserver:gs-wfs >= 1.0.0, < 2.24.4 2.24.4 GHSA-68cf-j696-wvv9
Maven org.geoserver:gs-wfs >= 2.25.0, < 2.25.2 2.25.2 GHSA-68cf-j696-wvv9

References