CVE-2024-38524: GWC Home Page communicate version and revision information
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
Other sources
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.
— MITRE
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2024-38524?
CVE-2024-38524 is considered a high severity vulnerability as it exposes sensitive version information that can aid attackers in exploiting the system.
How do I fix CVE-2024-38524?
To mitigate CVE-2024-38524, upgrade to at least version 2.26.2 of org.geoserver:gs-gwc or org.geoserver.web:gs-web-app.
What software is affected by CVE-2024-38524?
CVE-2024-38524 affects org.geoserver:gs-gwc version up to 2.25.6 and versions 2.26.0 up to 2.26.2, and org.geoserver.web:gs-web-app version up to 2.25.6 and versions 2.26.0 up to 2.26.2.
What information is exposed in CVE-2024-38524?
CVE-2024-38524 exposes sensitive version and revision information about GeoWebCache software on the home page.
Is CVE-2024-38524 a zero-day vulnerability?
CVE-2024-38524 is not classified as a zero-day vulnerability, but it represents a known risk due to the exposure of sensitive software information.