Read the docs
TI-2024-16266 Aliases CVE-2024-24749GHSA-jhqx-5v5g-mpf3

Classpath resource disclosure in GWC Web Resource API on Windows / Tomcat

Priority MEDIUM 40CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00756 55th percentileScored 2026-11-07
Fix Fixed geoserver (geoserver): 2.23.5, 2.24.3org.geoserver.web:gs-web-app (Maven): 2.23.5, 2.24.3+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
geoservergeoserverbefore 2.23.5; 2.24.0 to before 2.24.32.23.5, 2.24.3Patch availableCNA
—org.geoserver.web:gs-web-app (Maven)before 2.23.52.23.5Patch availableGHSA-jhqx-5v5g-mpf3
—org.geoserver.web:gs-web-app (Maven)2.24.0 to before 2.24.32.24.3Patch availableGHSA-jhqx-5v5g-mpf3
—org.geoserver:gs-gwc (Maven)before 2.23.52.23.5Patch availableGHSA-jhqx-5v5g-mpf3
—org.geoserver:gs-gwc (Maven)2.24.0 to before 2.24.32.24.3Patch availableGHSA-jhqx-5v5g-mpf3
  • geoserver Vendorgeoserver Affected before 2.23.5; 2.24.0 to before 2.24.3 Fixed in 2.23.5, 2.24.3 Patch available CNA
  • org.geoserver.web:gs-web-app (Maven) Vendor— Affected before 2.23.5 Fixed in 2.23.5 Patch available GHSA-jhqx-5v5g-mpf3
  • org.geoserver.web:gs-web-app (Maven) Vendor— Affected 2.24.0 to before 2.24.3 Fixed in 2.24.3 Patch available GHSA-jhqx-5v5g-mpf3
  • org.geoserver:gs-gwc (Maven) Vendor— Affected before 2.23.5 Fixed in 2.23.5 Patch available GHSA-jhqx-5v5g-mpf3
  • org.geoserver:gs-gwc (Maven) Vendor— Affected 2.24.0 to before 2.24.3 Fixed in 2.24.3 Patch available GHSA-jhqx-5v5g-mpf3

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*before 2.23.5; 2.24.0 to before 2.24.3Vulnerablegeoserver
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*not specified by NVDRunning onMicrosoft
  • cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* Versions before 2.23.5; 2.24.0 to before 2.24.3 Vulnerable ·geoserver
  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft

Remediation

  • Fix · CNA geoserver (geoserver) Fixed in 2.23.5, 2.24.3
  • Fix · GHSA-jhqx-5v5g-mpf3 org.geoserver.web:gs-web-app (Maven) Fixed in 2.23.5 Advisory →
  • Fix · GHSA-jhqx-5v5g-mpf3 org.geoserver.web:gs-web-app (Maven) Fixed in 2.24.3 Advisory →
  • Fix · GHSA-jhqx-5v5g-mpf3 org.geoserver:gs-gwc (Maven) Fixed in 2.23.5 Advisory →
  • Fix · GHSA-jhqx-5v5g-mpf3 org.geoserver:gs-gwc (Maven) Fixed in 2.24.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-24749
  2. 2026-10-03 Alias added: GHSA-jhqx-5v5g-mpf3

References

  • TI-2024-24187 Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-36149 GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-17518 GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code… CVSS 3.1CRITICAL 9.8
  • TI-2023-28098 GeoServer arbitrary file upload vulnerability in REST Coverage Store API CVSS 3.1HIGH 7.2
  • TI-2024-15662 GeoServer Stored Cross-Site Scripting (XSS) vulnerability in GWC Seed Form CVSS 3.1MEDIUM 4.8
  • TI-2023-28099 GeoServer Stored Cross-Site Scripting (XSS) vulnerability in REST Resources API CVSS 3.1MEDIUM 4.8
See all 16 →

Sources