CVE-2024-38524
JSON

5.3medium

GWC Home Page communicate version and revision information

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.78% (higher than 52% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jm79-7xhw-6f6f

Description

GeoServer is an open source server that allows users to share and edit geospatial data. org.geowebcache.GeoWebCacheDispatcher.handleFrontPage(HttpServletRequest, HttpServletResponse) has no check to hide potentially sensitive information from users except for a hidden system property to hide the storage locations that defaults to showing the locations. This vulnerability is fixed in 2.26.2 and 2.25.6.

Affected

Product or packageVersionsReported by
geoserver geoserver>= 2.26.0, < 2.26.2, < 2.25.6CVE List
org.geoserver.web:gs-web-app (Maven)from 2.26.0 before 2.26.2, before 2.25.6GitHub Advisory Database
org.geoserver:gs-gwc (Maven)from 2.26.0 before 2.26.2, before 2.25.6GitHub Advisory Database
osgeo geoserverbefore 2.25.6, from 2.26.0 before 2.26.2NVD

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

GeoServer is an open source server that allows users to share and edit geospatial data. org.geowebcache.GeoWebCacheDispatcher.handleFrontPage(HttpServletRequest, HttpServletResponse) has no check to hide potentially sensitive information from users except for a hidden system property to hide the storage locations that defaults to showing the locations. This vulnerability is fixed in 2.26.2 and 2.25.6.

GitHub Advisory Database
Summary

The GeoWebCache home page includes version and revision information about the software in use. This information is sensitive from a security point of view because it allows software used by the server to be easily identified.

Details

org.geowebcache.GeoWebCacheDispatcher.handleFrontPage(HttpServletRequest, HttpServletResponse) has no check to hide potentially sensitive information from users except for a hidden system property to hide the storage locations that defaults to showing the locations.

PoC

Just open http://localhost:8080/geoserver/gwc/

Impact

In addition to exposing the version and revision information, the home page will expose the config file and storage locations which may expose the system's temp directory location and whether or not GeoServer is running in a Windows operating system. The approximate server start time and some basic GWC usage information is also exposed.

References

https://osgeo-org.atlassian.net/browse/GEOS-11677 https://github.com/geoserver/geoserver/pull/8189 https://github.com/GeoWebCache/geowebcache/issues/1344 https://github.com/GeoWebCache/geowebcache/pull/1345

NVD (es)

GeoServer es un servidor de código abierto que permite a los usuarios compartir y editar datos geoespaciales. org.geowebcache.GeoWebCacheDispatcher.handleFrontPage(HttpServletRequest, HttpServletResponse) no cuenta con ninguna comprobación para ocultar información potencialmente confidencial a los usuarios, excepto por una propiedad oculta del sistema que oculta las ubicaciones de almacenamiento y las muestra por defecto. Esta vulnerabilidad se corrigió en las versiones 2.26.2 y 2.25.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-38524 changed 2025-06-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-jm79-7xhw-6f6f changed 2025-06-10CC-BY-4.0
NVDCVE-2024-38524 changed 2026-06-17Public domain