Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Osgeo | Geoserver | < 2.25.0 |
Related Weaknesses (CWE)
References
- https://docs.geoserver.org/latest/en/user/production/config.html#production-confProduct
- https://github.com/geoserver/geoserver/security/advisories/GHSA-mc43-4fqr-c965MitigationThird Party Advisory
FAQ
What is CVE-2024-34711?
CVE-2024-34711 is a vulnerability with a CVSS score of 9.3 (CRITICAL). 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 En...
How severe is CVE-2024-34711?
CVE-2024-34711 has been rated CRITICAL with a CVSS base score of 9.3/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-34711?
Check the references section above for vendor advisories and patch information. Affected products include: Osgeo Geoserver.