GHSA-68cf-j696-wvv9
GeoServer vulnerable to SSRF in TestWfsPost for specific targets, e.g. PHP + Nginx
Quick fix
GHSA-68cf-j696-wvv9 — org.geoserver:gs-wfs: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.24.4</version> for org.geoserver:gs-wfsDetails
### 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
Are you affected?
Enter the version of the package you're using.
Affected packages
1.0.0Fixed in: 2.24.4# pom.xml: bump <version>2.24.4</version> for org.geoserver:gs-wfs2.25.0Fixed in: 2.25.2# pom.xml: bump <version>2.25.2</version> for org.geoserver:gs-wfs