nday
CVE-2024-56337

Apache Tomcat: RCE due to TOCTOU issue in JSP compilation - CVE-2024-50379 mitigation was incomplete

Apache Software Foundation / Apache Tomcat

披露后第 696 天出现公开 PoC。本站尚未获取修复依据,不能据此认为没有补丁。PoC 来源中 nuclei 已收录(1/4)。尚未列入 CISA KEV。

这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

race condition
CWE-367(来源:编号分配方 apache、NVD(转录自 [email protected]))
远程未授权
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:N、PR:N、UI:N
网络
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:N
无需认证
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 PR:N
无需用户交互
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 UI:N
nuclei
nuclei 模板 CVE-2024-56337
Apache Tomcat
CVE 记录列出的受影响产品:Apache Software Foundation · Apache TomcatNVD 分析人员标为易受攻击的 CPE 名称:a:apache:tomcat
Web/应用服务器
CVE 记录列出的受影响产品:Apache Software Foundation · Apache TomcatNVD 分析人员标为易受攻击的 CPE 名称:a:apache:tomcatnday 产品登记表中 Apache Tomcat 的产品类型
当前阶段
POC
披露
披露到公开 PoC
T+696d
CVSS
9.8 CRITICAL v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
2024-12-20T15:28Z
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
2026-11-16T01:02Z
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.

The mitigation for CVE-2024-50379 was incomplete.

Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat: - running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true) - running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false) - running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed)

Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is set appropriately before allowing the default servlet to be write enabled on a case insensitive file system. Tomcat will also set sun.io.useCanonCaches to false by default where it can.

以上是 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 记录,由 ADP CISA-ADP 补充。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 apache。CVSS 9.8,严重。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 347559,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-56337",
  "occurred_at": "2024-12-20T15:28:54.738Z",
  "observed_at": "2026-11-13T05:38:45.966745Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "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": "2025-08-13T13:28:46.946742Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-12-20T15:28:54.738Z",
    "assigner_short_name": "apache"
  }
}
来源未给时间,本站实时观测
+POC公开 PoC

Nuclei 收录检测模板 CVE-2024-56337(Apache Tomcat - Write-Enabled Default Servlet (TOCTOU RCE Exposure))。来源没有给出模板的发布时间。

来源 nuclei · 本站 实时观测 · 原始记录
{
  "id": 472457,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-56337.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-16T01:02:25.136998Z",
  "is_backfill": false,
  "dedupe_key": "CVE-2024-56337",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-56337.yaml",
    "kind": "detection_template",
    "title": "Apache Tomcat - Write-Enabled Default Servlet (TOCTOU RCE Exposure)",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "9.8",
    "template_id": "CVE-2024-56337",
    "template_path": "http/cves/2024/CVE-2024-56337.yaml"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。