PT-2024-5226 · Eclipse+1 · Jetty+1

Kai5174

·

Published

2024-02-12

·

Updated

2024-12-18

·

CVE-2024-24749

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions: GeoServer versions prior to 2.23.5 and 2.24.3
Description: The issue is related to the GeoWebCache ByteStreamController class, where it is possible to bypass existing input validation and read arbitrary classpath resources with specific file name extensions. This can potentially allow an attacker to gain administrator privileges, especially if the GeoServer is deployed as a web archive using the embedded data directory. However, production environments are unlikely to be using the embedded data directory due to maintenance difficulties.
Recommendations: For versions prior to 2.23.5 and 2.24.3, update to version 2.23.5 or 2.24.3 to resolve the issue. As a temporary workaround, consider changing from a Windows environment to a Linux environment or from Apache Tomcat to Jetty application server. Additionally, disable anonymous access to the embedded GeoWebCache administration and status pages by navigating to Security > Authentication Page, locating the Filter Chains heading, selecting the web filter filter chain, removing /gwc/rest/web/** from the pattern, and saving the changes.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

BDU:2024-05791
CVE-2024-24749
GHSA-JHQX-5V5G-MPF3

Affected Products

Apache Tomcat
Jetty