CVE-2024-36401criticalbajo ataqueCWE-95

CVE-2024-36401: fallo crítico en geoserver

Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver

Publicada el · Actualizada el

Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.

100Vexday Risk Score

Corrige ahora. Ella está bajo explotación confirmada por CISA y tiene exploit funcional público.

ssvc Actcvss 9.8epss 100%
de la publicación al arma3 días
Publicada en NVD1 jul
1ª PoC+3d
metasploit1 jul
CISA KEV+14d
Acción exigida por CISAplazo federal: 2024-08-05

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

En resumen

GeoServer permite que atacantes no autenticados ejecuten código arbitrario enviando solicitudes especialmente diseñadas con nombres de propiedades maliciosos. Esto afecta a todas las instalaciones predeterminadas de GeoServer y puede explotarse a través de varios tipos de solicitud sin requerir autenticación.

Detalle técnico

CWE-95: Neutralización Inadecuada de Directivas en Código Evaluado Dinámicamente. La vulnerabilidad existe en la evaluación insegura de nombres de propiedades/atributos como expresiones XPath mediante la biblioteca commons-jxpath, aplicada incorrectamente a tipos de característica simples. Vector de ataque: red, no autenticado, requiriendo solo solicitudes OGC diseñadas (WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic, WPS Execute) para lograr ejecución remota de código con privilegios del sistema.

Resumen generado y traducido por IA a partir de la descripción oficial.

El análisis completo de esta CVE está disponible en portugué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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
geoserver · geoserver
PoCs públicas encontradas — 51
githubgithub.com/whitebear-ch/GeoServerExploit★ 121githubgithub.com/Chocapikk/CVE-2024-36401★ 86githubgithub.com/Mr-xn/CVE-2024-36401★ 56githubgithub.com/bmth666/GeoServer-Tools-CVE-2024-36401★ 43githubgithub.com/ahisec/geoserver-★ 43githubgithub.com/bigb0x/CVE-2024-36401★ 34githubgithub.com/justin-p/geoexplorer★ 4githubgithub.com/Niuwoo/CVE-2024-36401★ 4githubgithub.com/daniellowrie/CVE-2024-36401-PoC★ 3githubgithub.com/URJACK2025/CVE-2024-36401★ 2githubgithub.com/0x0d3ad/CVE-2024-36401★ 2githubgithub.com/amoy6228/CVE-2024-36401_Geoserver_RCE_POC★ 2githubgithub.com/RevoltSecurities/CVE-2024-36401★ 1githubgithub.com/punitdarji/GeoServer-CVE-2024-36401★ 1githubgithub.com/DanieleGiovanardi2408/cve-2024-36401-geoserver-rce★ 0githubgithub.com/y1s4s/CVE-2024-36401-PoC★ 0githubgithub.com/mantanhacker/CVE-2024-36401-MASS★ 0githubgithub.com/jakabakos/CVE-2024-36401-GeoServer-RCE★ 0githubgithub.com/funnyDog896/CVE-2024-36401-WoodpeckerPlugin★ 0githubgithub.com/kkhackz0013/CVE-2024-36401★ 0githubgithub.com/reveravip/Exploit-CVE-2024-36401★ 0githubgithub.com/Delt-A/CVE-2024-36401-poc★ 0vulncheckvulncheck.com/xdb/ff189f53f3e3no verificadovulncheckvulncheck.com/xdb/e651061f7feano verificadovulncheckvulncheck.com/xdb/e2d5ed5bba08no verificadovulncheckvulncheck.com/xdb/9a3d3b1933bdno verificadovulncheckvulncheck.com/xdb/dd85e588e139no verificadovulncheckvulncheck.com/xdb/c70f778604ccno verificadovulncheckvulncheck.com/xdb/d7881a6b037bno verificadovulncheckvulncheck.com/xdb/6722a5772057no verificadovulncheckvulncheck.com/xdb/18c52415e485no verificadovulncheckvulncheck.com/xdb/2e6e43917623no verificadovulncheckvulncheck.com/xdb/e908c49bab48no verificadovulncheckvulncheck.com/xdb/07cf7a5d5e1bno verificadovulncheckvulncheck.com/xdb/0a69e625f39ano verificadovulncheckvulncheck.com/xdb/46abf92ec267no verificadovulncheckvulncheck.com/xdb/83b62ab68571no verificadovulncheckvulncheck.com/xdb/f4801e6b28d5no verificadovulncheckvulncheck.com/xdb/1dbce5a4766bno verificadovulncheckvulncheck.com/xdb/82eba5264bfbno verificadovulncheckvulncheck.com/xdb/432db9e70d9eno verificadovulncheckvulncheck.com/xdb/3d8baa68c24cno verificadovulncheckvulncheck.com/xdb/02f273d018e8no verificadovulncheckvulncheck.com/xdb/a4b1ddfc8280no verificadovulncheckvulncheck.com/xdb/8a38414bb4b7no verificadovulncheckvulncheck.com/xdb/6cff7d86193fno verificadovulncheckvulncheck.com/xdb/584a39f9a9cbno verificadovulncheckvulncheck.com/xdb/6cab2db287ebno verificadovulncheckvulncheck.com/xdb/e5537b0b1e67no verificadovulncheckvulncheck.com/xdb/b1faacbe8f25no verificadovulncheckvulncheck.com/xdb/fe7544c5185cno verificado
⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.