CVE-2025-27505
published 2025-06-10CVE-2025-27505: 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…
PriorityP180medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
1.02%
59.1th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| geoserver | geoserver | < 2.25.6 | 2.25.6 |
| geoserver | geoserver | — | — |
| osgeo | geoserver | < 2.25.6 | 2.25.6 |
| osgeo | geoserver | >= 2.26.0 < 2.26.3 | 2.26.3 |
Detection & IOCsextracted from sources · hover to see the quote
- →Probe for unauthenticated access to the GeoServer REST API index by requesting /rest.html or /geoserver/rest.html and checking for HTTP 200 with body strings 'Geoserver Configuration API' and 'about/status'. ↗
- →The bypass works because the REST API security filter matches /rest and /rest/** but NOT /rest with an extension (e.g., rest.html), allowing unauthenticated access to the index page. ↗
- →Use FOFA query 'app="geoserver"' or Shodan query 'http.title:"geoserver"' to identify exposed GeoServer instances for mass scanning. ↗
- ·As a workaround, the REST filter path in ${GEOSERVER_DATA_DIR}/security/config.xml must be changed to '/rest.*,/rest/**' and the GWC filter path to '/gwc/rest.*,/gwc/rest/**' to block extension-based bypasses; a GeoServer restart is required. ↗
- ·Affected versions are GeoServer prior to 2.26.3 and 2.25.6; the vulnerability is fixed in those releases. ↗
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vulncheck5.3MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
GeoServer Missing Authorization on REST API Index
osv·2025-06-10
CVE-2025-27505 [MEDIUM] GeoServer Missing Authorization on REST API Index
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
GHSA
GeoServer Missing Authorization on REST API Index
ghsa·2025-06-10
CVE-2025-27505 [MEDIUM] CWE-862 GeoServer Missing Authorization on REST API Index
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
VulnCheck
OSGeo GeoServer Missing Authorization
vulncheck·2025·CVSS 5.3
CVE-2025-27505 [MEDIUM] OSGeo GeoServer Missing Authorization
OSGeo GeoServer Missing Authorization
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.
Affected: OSGeo GeoServer
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or
No detection rules found.
Nuclei
GeoServer - Missing Authorization on REST API Index
nuclei·CVSS 5.3
CVE-2025-27505 [MEDIUM] GeoServer - Missing Authorization on REST API Index
GeoServer - Missing Authorization on REST API Index
GeoServer contains a missing authorization vulnerability that allows unauthorized access to the REST API Index page, potentially exposing sensitive configuration information.
Template:
id: CVE-2025-27505
info:
name: GeoServer - Missing Authorization on REST API Index
author: securitytaters
severity: medium
description: |
GeoServer contains a missing authorization vulnerability that allows unauthorized access to the REST API Index page, potentially exposing sensitive configuration information.
impact: |
Unauthenticated users can access the GeoServer REST API Index page, potentially exposing sensitive configuration information and available API endpoints.
remediation: |
Upgrade to the latest GeoServer version that implements proper auth
No writeups or analysis indexed.
2025-06-10
Published
Exploited in the wild