GeoServer Missing Authorization on REST API Index
### Summary It is possible to bypass the default REST API security and access the index page. ### Details The REST API security handles `rest` and its subpaths but not `rest` with an extension (e.g., `rest.html`). ### Impact The REST API index can disclose whether certain extensions are installed. ### Workaround In `${GEOSERVER_DATA_DIR}/security/config.xml`, change the paths for the `rest` filter to `/rest.*,/rest/**` and change the paths for the `gwc` filter to `/gwc/rest.*,/gwc/rest/**` and restart GeoServer. ### References https://osgeo-org.atlassian.net/browse/GEOS-11664 https://osgeo-org.atlassian.net/browse/GEOS-11776 https://github.com/geoserver/geoserver/pull/8170
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-27505US | —OT elevated | — | ||
GeoServer is an open source server that allows users to share and edit geospatial data. It is possible to bypass the default REST API security and access the index page. The REST A… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/geoserver/geoserverPACKAGE
- https://github.com/geoserver/geoserver/pull/8170WEB
- https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27505ADVISORY
- https://osgeo-org.atlassian.net/browse/GEOS-11664WEB
- https://osgeo-org.atlassian.net/browse/GEOS-11776WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan