CVE-2024-24749
highPriorität · verfolgen · 30EPSS 0.008 · 55. PerzentilEURUUSEPSS · bewertet 2026-10-27
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.23.5 and 2.24.3, if GeoServer is deployed in the Windows operating system using an Apache Tomcat web application server, it is possible to bypass existing input validation in the GeoWebCache ByteStreamController class and read arbitrary classpath resources with specific file name extensions. If GeoServer is also deployed as a web archive using the data directory embedded in the `geoserver.war` file (rather than an external data directory), it will likely be possible to read specific resources to gain administrator privileges. However, it is very unlikely that production environments will be using the embedded data directory since, depending on how GeoServer is deployed, it will be erased and re-installed (which would also reset to the default password) either every time the server restarts or every time a new GeoServer WAR is installed and is therefore difficult to maintain. An external data directory will always be used if GeoServer is running in standalone mode (via an installer or a binary). Versions 2.23.5 and 2.24.3 contain a patch for the issue. Some workarounds are available. One may change from a Windows environment to a Linux environment; or change from Apache Tomcat to Jetty application server. One may also disable anonymous access to the embeded GeoWebCache administration and status pages.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–high · 6.9–7.5
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (10)
Betroffene Produkte und Versionsbereiche.
Advisories (1)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-jhqx-5v5g-mpf3Classpath resource disclosure in GWC Web Resource API on Windows / Tomcat2024-07-01ghsa · osvUS
### Impact If GeoServer is deployed in the Windows operating system using an Apache Tomcat web application server, it is possible to bypass existing input validation in the GeoWebCache ByteStreamController class and read arbitrary classpath resources with specific file name extensions. If GeoServer is also deployed as a web archive using the data directory embedded in the geoserver.war file (rather than an external data directory), it will likely be possible to read specific resources to gain administrator privileges. However, it is very unlikely that production environments will be using the embedded data directory since, depending on how GeoServer is deployed, it will be erased and re-installed (which would also reset to the default password) either every time the server restarts or every time a new GeoServer WAR is installed and is therefore difficult to maintain. An external data directory will always be used if GeoServer is running in standalone mode (via an installer or a binary). ### Patches https://github.com/GeoWebCache/geowebcache/pull/1211 ### Workarounds Change environment: * Change from Windows operating system. This vulnerability depends on Windows file paths so Linux and Mac OS are not vulnerable. * Change from Apache Tomcat application server. Jetty and WildFly are confirmed to not be vulnerable. Other application servers have not been tested and may be vulnerable. Disable anonymous access to the embeded GeoWebCache administration and status pages: 1. Navigate to **Security > Authentication** Page 2. Locate **Filter Chains** heading 3. Select the ``web`` filter filter chain (ant pattern ``/web/**,/gwc/rest/web/**,/``) 4. Remove ``,/gwc/rest/web/**`` from the pattern (so that ``/web/**,/`` is left). 5. Save the changes ### References * CVE-Pending
auch bekannt als (4)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (12)
Externe Belege — Patches, Meldungen, Analysen.
- https://cxsecurity.com/cveshow/CVE-2024-24749/cnnvd
- https://geoserver.org/Patchcnnvd
- https://github.com/GeoWebCache/geowebcache/commit/c7f76bd8a1d67c3b986146e7a5e0b14dd64a8fefcnnvd
- https://github.com/GeoWebCache/geowebcache/pull/1211cnnvd
- https://github.com/geoserver/geoserver/security/advisories/GHSA-jhqx-5v5g-mpf3cnnvd
- https://github.com/GeoWebCache/geowebcache/commit/c7f76bd8a1d67c3b986146e7a5e0b14dd64a8fefenisa_euvd
- https://github.com/GeoWebCache/geowebcache/pull/1211enisa_euvd
- https://github.com/geoserver/geoserver/security/advisories/GHSA-jhqx-5v5g-mpf3enisa_euvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan