CVE-2025-27505 GeoServer Missing Authorization on REST API Index
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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 API security handles rest and its subpaths but not rest with an extension (e.g., rest.html). The REST API index can disclose whether certain extensions are installed. This vulnerability is fixed in 2.26.3 and 2.25.6. As a 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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.geoserver.web/gs-web-app(Maven) | < 2.25.6; >= 2.26.0, < 2.26.3 | 2.25.6, 2.26.3 | Fixed |
| org.geoserver/gs-rest(Maven) | < 2.25.6; >= 2.26.0, < 2.26.3 | 2.25.6, 2.26.3 | Fixed |
| osgeo geoserver | < 2.25.6; >= 2.26.0, < 2.26.3 | 2.25.6, 2.26.3 | Fixed |
| geoserver | = < 2.25.6; = >= 2.26.0, < 2.26.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.geoserver.web/gs-web-app(Maven) | >= 2.26.0, < 2.26.3 | 2.26.3 |
| org.geoserver.web/gs-web-app(Maven) | < 2.25.6 | 2.25.6 |
| org.geoserver/gs-rest(Maven) | >= 2.26.0, < 2.26.3 | 2.26.3 |
| org.geoserver/gs-rest(Maven) | < 2.25.6 | 2.25.6 |
| geoserver | = >= 2.26.0, < 2.26.3 | No fix listed |
| geoserver | = < 2.25.6 | No fix listed |
| osgeo geoserver | < 2.25.6 | 2.25.6 |
| osgeo geoserver | >= 2.26.0, < 2.26.3 | 2.26.3 |
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5 third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/geoserver/geoserver/pull/8170 patch
- github.com product
- https://osgeo-org.atlassian.net/browse/GEOS-11664 issue-tracking patch
- https://osgeo-org.atlassian.net/browse/GEOS-11776 permissions-required
- github.com