CVE-2024-24749

7.5 HIGH
Published: July 01, 2024 Modified: November 04, 2025

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/GeoWebCache/geowebcache/pull/1211
Source: security-advisories@github.com
Issue Tracking
https://github.com/geoserver/geoserver/security/advisories/GHSA-jhqx-5v5g-mpf3
Source: security-advisories@github.com
Patch Vendor Advisory
http://seclists.org/fulldisclosure/2024/Feb/13
Source: af854a3a-2127-422b-91ae-364da2661108
https://github.com/GeoWebCache/geowebcache/pull/1211
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
https://github.com/geoserver/geoserver/security/advisories/GHSA-jhqx-5v5g-mpf3
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory

7 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
0.3%
52th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

geoserver microsoft