CVE Catalog

CVE-2024-34711

CriticalCVSS 9.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

26th percentile - higher than 26% of all known CVEs

Summary

GeoServer contains an improper URI validation vulnerability that enables an unauthenticated attacker to perform XML External Entities (XXE) attacks and send GET requests to any HTTP server. The default URI filtering based on a regular expression can be bypassed, allowing scanning of internal networks and information gathering. Versions 2.25.0 and later default to using the ENTITY_RESOLUTION_ALLOWLIST.

Risk Assessment

An attacker could exploit this to scan internal networks and gather information to facilitate further attacks. This may lead to data exposure or escalation to other vulnerabilities.

Recommendation

Update GeoServer to version 2.25.0 or later, which defaults to the ENTITY_RESOLUTION_ALLOWLIST. If updating is not possible, consider manually configuring stricter URI validation rules.

Other vulnerabilities in GeoServer

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS