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 が確認されています。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。PoC ソース 4 件中 1 件(nuclei)に掲載されています。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-367, stated by the CNA apache、NVD, republishing [email protected]
remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
nuclei
nuclei templates CVE-2024-56337
Apache Tomcat
affected products in the CVE record: Apache Software Foundation · Apache TomcatCPE names NVD's analysts give as vulnerable: a:apache:tomcat
web / application server
affected products in the CVE record: Apache Software Foundation · Apache TomcatCPE names NVD's analysts give as vulnerable: a:apache:tomcatthe product type of Apache Tomcat in nday's product registry
現在の段階
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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

イベント履歴

+DIS公開

apache が CVE レコードを公開。CVSS 基本値 9.8(緊急)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "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"
  }
}
ソースに時刻なし、nday が観測
+POCPoC 公開

nuclei-templates が検知テンプレート CVE-2024-56337(Apache Tomcat - Write-Enabled Default Servlet (TOCTOU RCE Exposure))を収録。テンプレートの公開日時はソースに記載なし。

出典 nuclei · nday が にリアルタイムで観測 · 生データ
{
  "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"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.