CVE-2024-34711 Details
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.
A vulnerability in GeoServer prior to version 2.25.0 allows unauthorized attackers to perform XML External Entity (XEE) attacks by exploiting improper URI validation. This vulnerability enables attackers to send GET requests to any HTTP server, potentially scanning internal networks for information that could be further exploited. Additionally, attackers could read limited .xsd files from the system. By default, GeoServer uses the PreventLocalEntityResolver class from GeoTools to filter out malicious URIs in XML entities before they are resolved. However, the default regex validation allows for exploitation by leaving a chance to request any HTTP server or limited file. GeoServer versions 2.25.0 and greater have improved this validation by defaulting to the use of ENTITY_RESOLUTION_ALLOWLIST, eliminating the need for manual configuration.
Users can upgrade to GeoServer version 2.25.0 or later, which defaults to a more secure ENTITY_RESOLUTION_ALLOWLIST. For versions prior to 2.25.0, the ENTITY_RESOLUTION_ALLOWLIST can be manually defined to limit external schema locations. The GeoServer user guide provides details on how to add additional locations if needed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities | [email protected] | Product |
| https://github.com/geoserver/geoserver/security/advisories/GHSA-mc43-4fqr-c965 | [email protected] | MitigationThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| osgeo geoserver | < 2.25.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | Initial Analysis | [email protected] |
| Jun 10, 2025 | New CVE Received | [email protected] |