2024-07-25 21:25:12 +00:00
### [CVE-2024-36401](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-36401)

2025-09-29 16:08:36 +00:00

2024-07-25 21:25:12 +00:00
& color=brighgreen)
### Description
2025-09-29 16:08:36 +00:00
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.
2024-07-25 21:25:12 +00:00
### POC
#### Reference
- https://github.com/Warxim/CVE-2022-41852?tab=readme-ov-file#workaround -for-cve-2022-41852
- https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv
- https://github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w
#### Github
2025-09-29 16:08:36 +00:00
- https://github.com/0day404/HV-2024-POC
- https://github.com/0x0d3ad/CVE-2024-36401
- https://github.com/12442RF/POC
- https://github.com/Chocapikk/CVE-2024-36401
- https://github.com/Chocapikk/msf-exploit-collection
2024-07-25 21:25:12 +00:00
- https://github.com/Co5mos/nuclei-tps
2025-09-29 16:08:36 +00:00
- https://github.com/DMW11525708/wiki
- https://github.com/J1ezds/Vulnerability-Wiki-page
- https://github.com/Lern0n/Lernon-POC
- https://github.com/Linxloop/fork_POC
2024-07-25 21:25:12 +00:00
- https://github.com/Mr-xn/CVE-2024-36401
2024-08-17 18:41:15 +00:00
- https://github.com/Mr-xn/Penetration_Testing_POC
2025-09-29 16:08:36 +00:00
- https://github.com/Niuwoo/CVE-2024-36401
2024-07-25 21:25:12 +00:00
- https://github.com/Ostorlab/KEV
2025-09-29 16:08:36 +00:00
- https://github.com/RevoltSecurities/CVE-2024-36401
2024-07-25 21:25:12 +00:00
- https://github.com/Threekiii/Awesome-POC
- https://github.com/Threekiii/CVE
- https://github.com/TrojanAZhen/Self_Back
2025-09-29 16:08:36 +00:00
- https://github.com/ViktorMares/geoserver-nuclei-template
- https://github.com/WhosGa/MyWiki
- https://github.com/XiaomingX/awesome-poc-for-red-team
- https://github.com/XiaomingX/cve-2024-36401-poc
2024-07-25 21:25:12 +00:00
- https://github.com/Y4tacker/JavaSec
2025-09-29 16:08:36 +00:00
- https://github.com/Yuan08o/pocs
- https://github.com/admin772/POC
- https://github.com/adminlove520/pocWiki
- https://github.com/adysec/POC
- https://github.com/ahisec/geoserver-
2024-08-10 19:04:30 +00:00
- https://github.com/ahisec/nuclei-tps
2025-09-29 16:08:36 +00:00
- https://github.com/amoy6228/CVE-2024-36401_Geoserver_RCE_POC
- https://github.com/bigb0x/CVE-2024-36401
2024-08-15 18:54:34 +00:00
- https://github.com/bigblackhat/oFx
2025-09-29 16:08:36 +00:00
- https://github.com/bmth666/GeoServer-Tools-CVE-2024-36401
- https://github.com/bright-angel/sec-repos
- https://github.com/cisp-pte/POC-20241008-sec-fork
- https://github.com/daniellowrie/CVE-2024-36401-PoC
- https://github.com/eeeeeeeeee-code/POC
- https://github.com/fliggyaa/fscanpoc
- https://github.com/funnyDog896/CVE-2024-36401-WoodpeckerPlugin
- https://github.com/g1san/Agents-for-Vulnerable-Dockers-and-related-Benchmarks
- https://github.com/greenberglinken/2023hvv_1
- https://github.com/holokitty/holokitty
- https://github.com/hsvhora/research_blogs
- https://github.com/iemotion/POC
- https://github.com/jakabakos/CVE-2024-36401-GeoServer-RCE
- https://github.com/justin-p/geoexplorer
- https://github.com/kkhackz0013/CVE-2024-36401
- https://github.com/kkup8/geoserver
- https://github.com/laoa1573/wy876
- https://github.com/lucagioacchini/auto-pen-bench
- https://github.com/netuseradministrator/CVE-2024-36401
2024-07-25 21:25:12 +00:00
- https://github.com/nomi-sec/PoC-in-GitHub
2025-09-29 16:08:36 +00:00
- https://github.com/oLy0/Vulnerability
2024-08-10 19:04:30 +00:00
- https://github.com/onewinner/POCS
2025-09-29 16:08:36 +00:00
- https://github.com/oscarfonts/docker-geoserver
- https://github.com/paultheal1en/auto_pen_bench_web
2024-07-25 21:25:12 +00:00
- https://github.com/peiqiF4ck/WebFrameworkTools-5.1-main
2025-09-29 16:08:36 +00:00
- https://github.com/peiqiF4ck/WebFrameworkTools-5.5-enhance
- https://github.com/plzheheplztrying/cve_monitor
- https://github.com/punitdarji/GeoServer-CVE-2024-36401
- https://github.com/sparktsao/auto-pen-bench-study
- https://github.com/taielab/awesome-hacking-lists
2024-07-25 21:25:12 +00:00
- https://github.com/tanjiti/sec_profile
2025-09-29 16:08:36 +00:00
- https://github.com/whitebear-ch/GeoServerExploit
2024-07-25 21:25:12 +00:00
- https://github.com/wy876/POC
2025-09-29 16:08:36 +00:00
- https://github.com/y1s4s/CVE-2024-36401-PoC
2024-08-05 18:41:32 +00:00
- https://github.com/zgimszhd61/CVE-2024-36401
2025-09-29 16:08:36 +00:00
- https://github.com/zulloper/cve-poc
2024-07-25 21:25:12 +00:00