cbcvebase.
CVE-2025-27505
published 2025-06-10

CVE-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
VendorProductVersion rangeFixed in
geoservergeoserver< 2.25.62.25.6
geoservergeoserver
osgeogeoserver< 2.25.62.25.6
osgeogeoserver>= 2.26.0 < 2.26.32.26.3

Detection & IOCsextracted from sources · hover to see the quote

url/rest.html
url/geoserver/rest.html
otherGeoserver Configuration API
otherabout/status
  • 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.