Описание
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
Ссылки
- https://github.com/geoserver/geoserver/security/advisories/GHSA-jm79-7xhw-6f6f
- https://nvd.nist.gov/vuln/detail/CVE-2024-38524
- https://github.com/GeoWebCache/geowebcache/issues/1344
- https://github.com/GeoWebCache/geowebcache/pull/1345
- https://github.com/geoserver/geoserver/pull/8189
- https://osgeo-org.atlassian.net/browse/GEOS-11677
Пакеты
org.geoserver.web:gs-web-app
>= 2.26.0, < 2.26.2
2.26.2
org.geoserver.web:gs-web-app
< 2.25.6
2.25.6
org.geoserver:gs-gwc
>= 2.26.0, < 2.26.2
2.26.2
org.geoserver:gs-gwc
< 2.25.6
2.25.6
Связанные уязвимости
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.
Уязвимость компонента GeoWebCache программного обеспечения для администрирования и публикации геоданных на сервере OSGeo GeoServer, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации