llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Maven · org.geoserver.web:gs-web-app

GHSA-MC43-4FQR-C965

GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)

Parche disponible
Descargar PNG JSON
CVSS
—
critical
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión2.25.0
Exposición527 dDesde la divulgación, 10 jun 2025, 9:13 a. m.
Detección524 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Monitoreo
Detectada
10 jun 25
17 nov 26
19 nov 26
10 jun 25
20 oct 25
1 mar 26
11 jul 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-MC43-4FQR-C965 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

### Summary
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. Attacker can abuse this to scan internal networks and gain information about them then exploit further. Moreover, attacker can read limited `.xsd` file on system.

### Details
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.

Impact

An unauthenticated attacker can:
1. Scan internal network to gain insight about it and exploit further.
2. SSRF to endpoint ends with `.xsd`.
3. Read limited `.xsd` file on system.

Mitigation
  1. Define the system property ``ENTITY_RESOLUTION_ALLOWLIST`` to limit the supported external schema locaitons.
  2. The built-in allow list covers the locations required for the operation of OGC web services: ``www.w3.org``,``schemas.opengis.net``,``www.opengis.net``,``inspire.ec.europa.eu/schemas``.
  3. The user guide https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities provides details on how to add additional locations (this is required for app-schema plugin where a schema is supplied to define an output format).
Resolution
  1. GeoServer 2.25.0 and greater default to the use of ``ENTITY_RESOLUTION_ALLOWLIST`` and does not require you to provide a system property.
  2. The use of ``ENTITY_RESOLUTION_ALLOWLIST`` is still supported if you require additional schema locations to be supported beyond the built-in allow list.
  3. GeoServer 2.25.1 change ``ENTITY_RESOLUTION_ALLOWLIST `` no longer supports regular expressions
References
  • External Entities Resolution https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities (GeoServer User Guide)

### Credits
* Le Mau Anh Phong from VNG Security Response Center & VNUHCM - University of Information Technology

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida
org.geoserver.web:gs-web-app · org.geoserver.main:gs-main< 2.25.0
2.25.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Mavenorg.geoserver.web:gs-web-app
Corregida 2.25.0 — —
Mavenorg.geoserver.main:gs-main
Corregida 2.25.0 — —
Versiones corregidas2.25.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-34711
Otrahttps://github.com/geoserver/geoserver/security/advisories/GHSA-mc43-4fqr-c965
Otrahttps://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities
Otrahttps://github.com/geoserver/geoserver

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.