GWC Home Page communicate version and revision information
Moderate severity
GitHub Reviewed
Published
Jun 10, 2025
in
geoserver/geoserver
•
Updated Jun 10, 2025
Description
Published to the GitHub Advisory Database
Jun 10, 2025
Reviewed
Jun 10, 2025
Published by the National Vulnerability Database
Jun 10, 2025
Last updated
Jun 10, 2025
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
geoserver/geoserver#8189
GeoWebCache/geowebcache#1344
GeoWebCache/geowebcache#1345
References