# 摘要
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 记录( cvelist )中的原文,未经改写。
# 利用条件
按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N 网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L 低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:N 无:不需要账号或授权
用户交互 UI:N 无:除攻击者外不需要任何人配合
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 向量,来自 CVE 记录,由 CNA GitHub_M 评定。
# 事件记录
2024-07-01T15:25Z
+DIS 披露
CVE 记录发布,编号分配方是 GitHub_M。CVSS 9.8,严重。CISA 的 SSVC 评估中利用状态为 active。
来源 cvelist · 本站 2026-11-12T15:01Z 批量导入 · 原始记录
{
"id" : 17447,
"type" : "disclosed",
"source" : "cvelist",
"url" : "https://www.cve.org/CVERecord?id=CVE-2024-36401",
"occurred_at" : "2024-07-01T15:25:41.873Z",
"observed_at" : "2026-11-12T15:01:53.938848Z",
"is_backfill" : true,
"dedupe_key" : "",
"detail" : {
"kev" : {
"reference" : "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-36401",
"date_added" : "2024-07-15"
},
"cvss" : {
"source" : "cna",
"vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version" : "3.1",
"base_score" : 9.8,
"base_severity" : "CRITICAL"
},
"ssvc" : {
"timestamp" : "2024-07-13T03:55:17.574252Z",
"automatable" : "yes",
"exploitation" : "active",
"technical_impact" : "total"
},
"state" : "PUBLISHED",
"date_published" : "2024-07-01T15:25:41.873Z",
"assigner_short_name" : "GitHub_M"
}
}
2024-07-15 日精度,来源给出
+KEV 进入 KEV
CISA 将其列入已知被利用漏洞目录,要求在 2024-08-05 前修复。是否被勒索软件使用:未知。
来源 kev · 本站 2026-11-12T13:53Z 批量导入 · 原始记录
{
"id" : 649,
"type" : "kev_added",
"source" : "kev",
"url" : "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
"occurred_at" : "2024-07-15T00:00:00Z",
"observed_at" : "2026-11-12T13:53:00.018191Z",
"is_backfill" : true,
"dedupe_key" : "",
"detail" : {
"cwes" : [
"CWE-95"
],
"notes" : "This vulnerability affects an open-source component, third-party library, or a protocol used by different products. For more information, please see: https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv, https://github.com/geotools/geotools/pull/4797 ; https://nvd.nist.gov/vuln/detail/CVE-2024-36401",
"product" : "GeoServer",
"due_date" : "2024-08-05",
"precision" : "day",
"date_added" : "2024-07-15",
"vendor_project" : "OSGeo",
"forensic_triage" : "No",
"required_action" : "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.",
"vulnerability_name" : "OSGeo GeoServer GeoTools Eval Injection Vulnerability",
"known_ransomware_campaign_use" : "Unknown"
}
}
≤ 2024-07-15 推定,无直接来源
~ITW 在野利用
没有来源给出开始被利用的时间。进入 KEV 说明当时已经存在利用,所以这里只能给出上限。CISA 的 SSVC 评估中利用状态为 active。
依据 kev 、cvelist 中的 CISA 评估
时间未知 来源未给出时间
+POC 公开 PoC
Metasploit 收录模块 exploit/multi/http/geoserver_unauth_rce_cve_2024_36401(Geoserver unauthenticated Remote Code Execution )。来源没有给出模块的发布时间。
来源 metasploit exploit/multi/http/geoserver_unauth_rce_cve_2024_36401 · 本站 2026-11-12T15:24Z 批量导入 · 原始记录
{
"id" : 51176,
"type" : "poc_published",
"source" : "metasploit",
"url" : "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/geoserver_unauth_rce_cve_2024_36401.rb",
"occurred_at" : null,
"observed_at" : "2026-11-12T15:24:51.477477Z",
"is_backfill" : true,
"dedupe_key" : "exploit/multi/http/geoserver_unauth_rce_cve_2024_36401",
"detail" : {
"url" : "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/geoserver_unauth_rce_cve_2024_36401.rb",
"kind" : "msf_module",
"path" : "/modules/exploits/multi/http/geoserver_unauth_rce_cve_2024_36401.rb",
"rank" : 600,
"check" : true,
"title" : "Geoserver unauthenticated Remote Code Execution",
"cve_ids" : [
"CVE-2024-36401"
],
"fullname" : "exploit/multi/http/geoserver_unauth_rce_cve_2024_36401",
"rank_name" : "excellent",
"confidence" : "curated",
"module_type" : "exploit",
"module_last_modified" : "2026-02-09 15:17:23 +0000",
"vuln_disclosure_date" : "2024-07-01"
}
}
时间未知 来源未给出时间
+POC 公开 PoC
Nuclei 收录检测模板 CVE-2024-36401(GeoServer RCE in Evaluating Property Name Expressions )。来源没有给出模板的发布时间。
来源 nuclei · 本站 2026-11-12T15:24Z 批量导入 · 原始记录
{
"id" : 56288,
"type" : "poc_published",
"source" : "nuclei",
"url" : "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-36401.yaml",
"occurred_at" : null,
"observed_at" : "2026-11-12T15:24:53.738369Z",
"is_backfill" : true,
"dedupe_key" : "CVE-2024-36401",
"detail" : {
"url" : "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-36401.yaml",
"kind" : "detection_template",
"title" : "GeoServer RCE in Evaluating Property Name Expressions",
"severity" : "critical",
"confidence" : "curated",
"cvss_score" : "N/A",
"template_id" : "CVE-2024-36401",
"template_path" : "http/cves/2024/CVE-2024-36401.yaml"
}
}
# 纠错
报告错误或缺失
页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。
提交纠错需要启用 JavaScript。
无法确认登录状态,请刷新页面后再提交纠错。
请先在账号页设置公开用户名:被采纳的纠错会以它署名。
设置用户名
你的账号已被封禁,暂时不能提交纠错。
# 研究员讨论
近 7 天有 0 位研究员提到
研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。
尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。
# 讨论
0 条评论
阅读和发表评论都需要启用 JavaScript。
无法确认你的登录状态,刷新页面后再发表评论。
评论以 @用户名 署名。请先在账号页设置用户名。
前往账号页
你的账号已被封禁,不能发表、回复、编辑或举报评论;仍可删除自己的评论。
用途(可选)
不标注
技术分析
复现反馈
修复反馈
检测方法
提问
发表评论
最多 10,000 个字符
格式
↵↵空一行:新段落
↵换行:原样保留
*…*强调(斜体)
**…**加粗
`…`行内代码
```单独一行:开始和结束代码块
> …引用
- …列表
1. …编号列表
[…](https://…)链接(仅限 http 和 https)
https://…裸地址:自动成为链接
CVE-2026-1234链接到本站该漏洞页
\*按原样显示该字符
标题、图片、表格、嵌套列表和 HTML 都按纯文本显示。
新账号发的链接显示为纯文本;CVE 编号始终可点击。
你的回复
最多 10,000 个字符
回复 取消
用途(可选)
不标注
技术分析
复现反馈
修复反馈
检测方法
提问
编辑你的评论
最多 10,000 个字符
保存 取消
原因
垃圾信息或广告
骚扰或仇恨言论
与本漏洞无关
误导或错误信息
恶意链接
违法内容
其他
给版主的说明(可选,最多 500 个字符)
提交举报 取消
隐藏理由,作者可见(最多 200 个字符)
隐藏评论 取消