Improper URI Validation in GeoServer by GeoTools
CVE-2024-34711
What is CVE-2024-34711?
GeoServer, an open-source platform for sharing and editing geospatial data, has a vulnerability due to improper URI validation that can be exploited through XML External Entities (XEE) attacks. This flaw allows unauthorized attackers to craft specially designed requests that could interact with any HTTP server. Although GeoServer utilizes the PreventLocalEntityResolver class from GeoTools to safeguard against malicious URIs, the validation regex does not adequately block certain attack vectors. As a result, attackers can use this vulnerability to scan internal networks, potentially leading to the revelation of sensitive information, further escalating their foothold on the compromised systems. It is crucial to ensure proper configurations to manage entity resolution effectively.
Affected Version(s)
geoserver < 2.25.0