目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-36401— GeoServer 安全漏洞

一分钟漏洞结论

影响对象
geoserver geoserver
利用判断
已确认在野利用,应立即处置
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

GeoServer是一个用 Java 编写的开源软件服务器。允许用户共享和编辑地理空间数据。 GeoServer 存在安全漏洞,该漏洞源于不安全地将属性名称解析为 XPath 表达式,可能导致远程代码执行。

CVSS 9.8 · Critical KEV EPSS 99.81% · P100
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-36401 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver
来源: CVE Program / CVE List V5
Vulnerability Description
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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
动态执行代码中指令转义处理不恰当(Eval注入)
来源: CVE Program / CVE List V5
Vulnerability Title
GeoServer 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
GeoServer是一个用 Java 编写的开源软件服务器。允许用户共享和编辑地理空间数据。 GeoServer 存在安全漏洞,该漏洞源于不安全地将属性名称解析为 XPath 表达式,可能导致远程代码执行。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

神龙十问 — AI 深度分析

十问解析:根本原因、利用方式、修复建议、紧迫性。摘要免费,完整版需登录。

受影响产品

厂商 产品 影响版本 CPE 订阅
geoserver geoserver >= 2.23.0, < 2.23.6 -

二、漏洞 CVE-2024-36401 的公开POC

# POC 描述 源链接 神龙链接
1 POC for CVE-2024-36401. This POC will attempt to establish a reverse shell from the vlun targets. https://github.com/bigb0x/CVE-2024-36401 POC详情
2 POC https://github.com/Niuwoo/CVE-2024-36401 POC详情
3 Exploiter a Vulnerability detection and Exploitation tool for GeoServer Unauthenticated Remote Code Execution CVE-2024-36401. https://github.com/RevoltSecurities/CVE-2024-36401 POC详情
4 Remote Code Execution (RCE) Vulnerability In Evaluating Property Name Expressions with multies ways to exploit https://github.com/Mr-xn/CVE-2024-36401 POC详情
5 None https://github.com/zgimszhd61/CVE-2024-36401 POC详情
6 None https://github.com/jakabakos/CVE-2024-36401-GeoServer-RCE POC详情
7 geoserver CVE-2024-36401漏洞利用工具 https://github.com/MInggongK/geoserver- POC详情
8 geoserver CVE-2024-36401漏洞利用工具 https://github.com/ahisec/geoserver- POC详情
9 GeoServer Remote Code Execution https://github.com/Chocapikk/CVE-2024-36401 POC详情
10 None https://github.com/yisas93/CVE-2024-36401-PoC POC详情
11 Mass scanner for CVE-2024-36401 https://github.com/justin-p/geoexplorer POC详情
12 Proof-of-Concept Exploit for CVE-2024-36401 GeoServer 2.25.1 https://github.com/daniellowrie/CVE-2024-36401-PoC POC详情
13 GeoServer CVE-2024-36401: Remote Code Execution (RCE) Vulnerability In Evaluating Property Name Expressions https://github.com/PunitTailor55/GeoServer-CVE-2024-36401 POC详情
14 geoserver图形化漏洞利用工具 https://github.com/netuseradministrator/CVE-2024-36401 POC详情
15 None https://github.com/kkhackz0013/CVE-2024-36401 POC详情
16 CVE-2024-36401-GeoServer Property 表达式注入 Rce woodpecker-framework 插件 https://github.com/thestar0/CVE-2024-36401-WoodpeckerPlugin POC详情
17 CVE-2024-36401是GeoServer中的一个高危远程代码执行漏洞。GeoServer是一款开源的地理数据服务器软件,主要用于发布、共享和处理各种地理空间数据。 ALIYUN 漏洞原理: 该漏洞源于GeoServer在处理属性名称时,将其不安全地解析为XPath表达式。具体而言,GeoServer调用的GeoTools库API在评估要素类型的属性名称时,以不安全的方式将其传递给commons-jxpath库。由于commons-jxpath库在解析XPath表达式时允许执行任意代码,攻击者可以通过构造特定的输入,利用多个OGC请求参数(如WFS GetFeature、WFS GetPropertyValue、WMS GetMap等),在未经身份验证的情况下远程执行任意代码。 https://github.com/XiaomingX/cve-2024-36401-poc POC详情
18 CVE-2024-36401 GeoServer Remote Code Execution https://github.com/0x0d3ad/CVE-2024-36401 POC详情
19 GeoServer CVE-2024-36401: Remote Code Execution (RCE) Vulnerability In Evaluating Property Name Expressions https://github.com/punitdarji/GeoServer-CVE-2024-36401 POC详情
20 GeoServer(CVE-2024-36401/CVE-2024-36404)漏洞利用工具 https://github.com/whitebear-ch/GeoServerExploit POC详情
21 geoserver图形化漏洞利用工具 https://github.com/wellwornele/CVE-2024-36401 POC详情
22 geoserver图形化漏洞利用工具 https://github.com/unlinedvol/CVE-2024-36401 POC详情
23 geoserver图形化漏洞利用工具 https://github.com/wingedmicroph/CVE-2024-36401 POC详情
24 CVE-2024-36401 图形化利用工具,支持各个JDK版本利用以及回显、内存马实现 https://github.com/bmth666/GeoServer-Tools-CVE-2024-36401 POC详情
25 In the GeoServer version prior to 2.25.1, 2.24.3 and 2.23.5 of GeoServer, 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-36401.yaml POC详情
26 None https://github.com/Threekiii/Awesome-POC/blob/master/%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%BC%8F%E6%B4%9E/GeoServer%20%E5%B1%9E%E6%80%A7%E5%90%8D%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%89%8D%E5%8F%B0%E4%BB%A3%E7%A0%81%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E%20CVE-2024-36401.md POC详情
27 https://github.com/vulhub/vulhub/blob/master/geoserver/CVE-2024-36401/README.md POC详情
28 None https://github.com/y1s4s/CVE-2024-36401-PoC POC详情
29 本脚本是针对 GeoServer 的远程代码执行漏洞(CVE-2024-36401)开发的 PoC(Proof of Concept)探测工具。该漏洞允许攻击者通过构造特定请求,在目标服务器上执行任意命令。 https://github.com/amoy6228/CVE-2024-36401_Geoserver_RCE_POC POC详情
30 Python exploit for GeoServer (CVE-2024-36401) with JSP web shell upload https://github.com/holokitty/Exploit-CVE-2024-36401 POC详情
AI 生成 POC 已实测靶场 高级
已在真实靶场复现成功 · 下方是搭建环境并实际触发漏洞的真实录像。
成功标志: VULNERABLE: RCE confirmed - proof token PROOF_b39b4f8a10faa695 exfiltrated through the JXPath expression response of /vulnerable-example
复现录像为 Pro+ 专属
观看本 CVE 的完整沙箱构建 + 真实利用录像。限时 ¥499/月。
升级 Pro+
claude_code · 2780 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2024-36401 的情报信息

请登录查看更多情报信息。

CVE-2024-36401 补丁与修复 (1)

CVE-2024-36401 厂商安全公告 (2)

CVE-2024-36401 其他参考 (2)

同批安全公告 · geoserver · 2024-07-01 · 共 3 条

CVE-2024-24749 7.5 HIGH GeoServer 安全漏洞
CVE-2024-34696 4.5 MEDIUM GeoServer 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2024-36401

暂无评论


发表评论