GHSA-h86g-x8mm-78m5

Suggest an improvement
Source
https://github.com/advisories/GHSA-h86g-x8mm-78m5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-h86g-x8mm-78m5/GHSA-h86g-x8mm-78m5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h86g-x8mm-78m5
Aliases
Published
2025-06-10T19:16:18Z
Modified
2025-06-10T19:57:14Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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

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"
}
References

Affected packages

Maven / org.geoserver.web:gs-web-app

Package

Name
org.geoserver.web:gs-web-app
View open source insights on deps.dev
Purl
pkg:maven/org.geoserver.web/gs-web-app

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.26.0
Fixed
2.26.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-h86g-x8mm-78m5/GHSA-h86g-x8mm-78m5.json"

Maven / org.geoserver.web:gs-web-app

Package

Name
org.geoserver.web:gs-web-app
View open source insights on deps.dev
Purl
pkg:maven/org.geoserver.web/gs-web-app

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.25.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-h86g-x8mm-78m5/GHSA-h86g-x8mm-78m5.json"

Maven / org.geoserver:gs-rest

Package

Name
org.geoserver:gs-rest
View open source insights on deps.dev
Purl
pkg:maven/org.geoserver/gs-rest

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.26.0
Fixed
2.26.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-h86g-x8mm-78m5/GHSA-h86g-x8mm-78m5.json"

Maven / org.geoserver:gs-rest

Package

Name
org.geoserver:gs-rest
View open source insights on deps.dev
Purl
pkg:maven/org.geoserver/gs-rest

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.25.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-h86g-x8mm-78m5/GHSA-h86g-x8mm-78m5.json"