ghsa-h86g-x8mm-78m5
Vulnerability from github
Published
2025-06-10 19:16
Modified
2025-06-10 19:16
Severity ?
VLAI Severity ?
Summary
GeoServer Missing Authorization on REST API Index
Details
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
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.geoserver.web:gs-web-app" }, "ranges": [ { "events": [ { "introduced": "2.26.0" }, { "fixed": "2.26.3" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.geoserver.web:gs-web-app" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.25.6" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.geoserver:gs-rest" }, "ranges": [ { "events": [ { "introduced": "2.26.0" }, { "fixed": "2.26.3" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.geoserver:gs-rest" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.25.6" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-27505" ], "database_specific": { "cwe_ids": [ "CWE-862" ], "github_reviewed": true, "github_reviewed_at": "2025-06-10T19:16:18Z", "nvd_published_at": "2025-06-10T15:15:23Z", "severity": "MODERATE" }, "details": "### Summary\nIt is possible to bypass the default REST API security and access the index page.\n\n### Details\nThe REST API security handles `rest` and its subpaths but not `rest` with an extension (e.g., `rest.html`).\n\n### Impact\nThe REST API index can disclose whether certain extensions are installed.\n\n### Workaround\nIn `${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.\n\n### References\nhttps://osgeo-org.atlassian.net/browse/GEOS-11664 \nhttps://osgeo-org.atlassian.net/browse/GEOS-11776 \nhttps://github.com/geoserver/geoserver/pull/8170", "id": "GHSA-h86g-x8mm-78m5", "modified": "2025-06-10T19:16:18Z", "published": "2025-06-10T19:16:18Z", "references": [ { "type": "WEB", "url": "https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-27505" }, { "type": "WEB", "url": "https://github.com/geoserver/geoserver/pull/8170" }, { "type": "PACKAGE", "url": "https://github.com/geoserver/geoserver" }, { "type": "WEB", "url": "https://osgeo-org.atlassian.net/browse/GEOS-11664" }, { "type": "WEB", "url": "https://osgeo-org.atlassian.net/browse/GEOS-11776" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "type": "CVSS_V3" } ], "summary": "GeoServer Missing Authorization on REST API Index" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…