VDB
Sign up
HIGH7.5

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-wfs

Details

### 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

Maven/org.geoserver:gs-wfs
Introduced in: 1.0.0Fixed in: 2.24.4
Fix# pom.xml: bump <version>2.24.4</version> for org.geoserver:gs-wfs
Maven/org.geoserver:gs-wfs
Introduced in: 2.25.0Fixed in: 2.25.2
Fix# pom.xml: bump <version>2.25.2</version> for org.geoserver:gs-wfs

References