CVE-2024-36401OSGeo GeoServer
Ejecución remota de código sin autenticación en GeoServer y GeoTools
Crítica 9.8 KEV Sin autenticaciónEPSS alto
Seguir: esta CVE · OSGeo · OSGeo GeoServer Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 84
- CVSS 3.1
- 9.8
- EPSS
- 99.8% probabilidad de explotación en 30 días · percentil 100
- Requiere autenticación
- No
- En el KEV desde
- 15 jul 2024
- Plazo de CISA
- 5 ago 2024
- Uso en ransomware
- Sin datos
- Publicada
- 1 jul 2024
- Actualizada
- 30 nov 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: activa · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
GeoServer y GeoTools evalúan inseguramente nombres de propiedades como expresiones XPath, permitiendo ejecución remota de código sin autenticación en todas las instancias. Los atacantes pueden explotar solicitudes OGC (WFS GetFeature, WMS GetMap, WPS Execute, etc.) con entrada especialmente elaborada. CISA confirmó esta vulnerabilidad como explotada activamente.
Ver el texto original de NVD (en inglés)
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2, multiple OGC request parameters allow Remote Code Execution (RCE) by unauthenticated users through specially crafted input against a default GeoServer installation due to unsafely evaluating property names as XPath expressions.
The GeoTools library API that GeoServer calls evaluates property/attribute names for feature types in a way that unsafely passes them to the commons-jxpath library which can execute arbitrary code when evaluating XPath expressions. This XPath evaluation is intended to be used only by complex feature types (i.e., Application Schema data stores) but is incorrectly being applied to simple feature types as well which makes this vulnerability apply to **ALL** GeoServer instances. No public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic and WPS Execute requests. This vulnerability can lead to executing arbitrary code.
Versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2 contain a patch for the issue. A workaround exists by removing the `gt-complex-x.y.jar` file from the GeoServer where `x.y` is the GeoTools version (e.g., `gt-complex-31.1.jar` if running GeoServer 2.25.1). This will remove the vulnerable code from GeoServer but may break some GeoServer functionality or prevent GeoServer from deploying if the gt-complex module is needed.
Explotación confirmada por CISA
OSGeo GeoServer GeoTools contains an improper neutralization of directives in dynamically evaluated code vulnerability due to unsafely evaluating property names as XPath expressions. This allows unauthenticated attackers to conduct remote code execution via specially crafted input.
Acción que pide CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Qué hacer
Hay parche · versiones corregidas: 2.22.6, 2.23.6, 2.24.4, 2.25.2
Actualiza GeoServer a versión 2.22.6, 2.23.6, 2.24.4 o 2.25.2 según tu rama. Como mitigación temporal, elimina el archivo gt-complex-x.y.jar del directorio de GeoServer.
- Aplica la actualización de seguridad del fabricante para GeoServer.
- CISA la confirmó como explotada: trátala como urgente. El plazo para agencias federales de EE. UU. venció el 5 de agosto de 2024.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
- Revisa los registros en busca de señales de explotación previa.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Maven | org.geoserver.web:gs-web-app |
≥ 2.24.0 < 2.24.4 |
2.24.4 |
— |
| Maven | org.geoserver.web:gs-web-app |
≥ 2.25.0 < 2.25.2 |
2.25.2 |
— |
| Maven | org.geoserver.web:gs-web-app |
≥ 2.23.0 < 2.23.6 |
2.23.6 |
— |
| Maven | org.geoserver.web:gs-web-app |
< 2.22.6 |
2.22.6 |
— |
| Maven | org.geoserver:gs-wfs |
≥ 2.24.0 < 2.24.4 |
2.24.4 |
— |
| Maven | org.geoserver:gs-wfs |
≥ 2.25.0 < 2.25.2 |
2.25.2 |
— |
| Maven | org.geoserver:gs-wfs |
≥ 2.23.0 < 2.23.6 |
2.23.6 |
— |
| Maven | org.geoserver:gs-wfs |
< 2.22.6 |
2.22.6 |
— |
| Maven | org.geoserver:gs-wms |
≥ 2.24.0 < 2.24.4 |
2.24.4 |
— |
| Maven | org.geoserver:gs-wms |
≥ 2.25.0 < 2.25.2 |
2.25.2 |
— |
| Maven | org.geoserver:gs-wms |
≥ 2.23.0 < 2.23.6 |
2.23.6 |
— |
| Maven | org.geoserver:gs-wms |
< 2.22.6 |
2.22.6 |
— |
Según OSV / GitHub Advisories (GHSA-6jj6-gm7p-fcvv). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| osgeo | geoserver | < 2.22.6 |
| osgeo | geoserver | ≥ 2.23.0 < 2.23.6 |
| osgeo | geoserver | ≥ 2.24.0 < 2.24.4 |
| osgeo | geoserver | ≥ 2.25.0 < 2.25.2 |
| osgeo | geotools | < 29.6 |
| osgeo | geotools | ≥ 30.1 < 30.4 |
| osgeo | geotools | ≥ 31.1 < 31.2 |
| osgeo | geotools | 30.0 |
| osgeo | geotools | 30.0 |
| osgeo | geotools | 31.0 |
| osgeo | geotools | 31.0 |
En las noticias
- Hackers Breach Military and Government Networks Across Southeast Asia, Stealing Sensitive Documents · Cyber Security News · 27 nov 2026
Notas de medios de seguridad que mencionan esta CVE. Títulos sin modificar.
En redes
1 persona y 1 post en Bluesky en los últimos 30 días.
Los posts más recientes, sin bots ni feeds automáticos. El texto es de sus autores. Buscar en Bluesky
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Third Party Advisory
- github.com Mitigation Vendor Advisory
- github.com Issue Tracking Patch
- github.com Exploit Vendor Advisory
- osgeo-org.atlassian.net Vendor Advisory
- www.vicarius.io Exploit Third Party Advisory
- www.cisa.gov US Government Resource