CVE-2024-34711

Critical

Description

GeoServer is an open source server that allows users to share and edit geospatial data. An improper URI validation vulnerability exists that enables an unauthorized attacker to perform XML External Entities (XEE) attack, then send GET request to any HTTP server. By default, GeoServer use PreventLocalEntityResolver class from GeoTools to filter out malicious URIs in XML entities before resolving them. The URI must match the regex (?i)(jar:file|http|vfs)[^?#;]*\\.xsd. But the regex leaves a chance for attackers to request to any HTTP server or limited file. Attacker can abuse this to scan internal networks and gain information about them then exploit further. GeoServer 2.25.0 and greater default to the use of ENTITY_RESOLUTION_ALLOWLIST and does not require you to provide a system property.

SeverityCritical
CVSS9.3
Exploit probability—
ProductOsgeo Geoserver
PublishedJun 10, 2025
First seenJun 10, 2025

How to fix

Update
  • osgeo geoserver2.25.0 or later
  • org.geoserver.web:gs-web-app2.25.0 or later
  • org.geoserver.main:gs-main2.25.0 or later

Affected products

ProductAffected versionsFixed in
osgeo geoserverv < 2.25.02.25.0
org.geoserver.web:gs-web-appMavenv < 2.25.02.25.0
org.geoserver.main:gs-mainMavenv < 2.25.02.25.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-34711 · Osgeo Geoserver · Dark Radar