nday
CVE-2024-34069 GHSA-2g68-c3qc-8985

Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution

pallets / werkzeug

揭露 926 天後出現修補紀錄。已於 Werkzeug 3.0.3 修補。4 個 PoC 來源中有 1 個收錄:metasploit。目前未列入 CISA KEV。

tags weakness typeCSRF accessnetworkno authentication required exploitationMetasploit ecosystemPyPI
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.

CSRF
CWE-352, stated by the CNA GitHub_M、NVD, republishing [email protected] 與 GitHub advisory GHSA-2g68-c3qc-8985
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
Metasploit
Metasploit modules exploit/multi/http/werkzeug_debug_rce
PyPI
GHSA-2g68-c3qc-8985: pip packages Werkzeug
目前階段
POC
揭露時間
揭露 → 修補
T+926d
CVSS
7.5 HIGH v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2024-05-06T14:44Z
PAT修補
2026-11-18T01:03Z
ANA分析
尚無紀錄
POCPoC
metasploit
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

Werkzeug is a comprehensive WSGI web application library. The debugger in affected versions of Werkzeug can allow an attacker to execute code on a developer's machine under some circumstances. This requires the attacker to get the developer to interact with a domain and subdomain they control, and enter the debugger PIN, but if they are successful it allows access to the debugger even if it is only running on localhost. This also requires the attacker to guess a URL in the developer's application that will trigger the debugger. This vulnerability is fixed in 3.0.3.

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:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

事件紀錄

+DIS揭露

CVE 紀錄由 GitHub_M 發布。CVSS 7.5,屬高風險等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 59932,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-34069",
  "occurred_at": "2024-05-06T14:44:38.78Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.5,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2024-06-12T19:54:35.623303Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-05-06T14:44:38.780Z",
    "assigner_short_name": "GitHub_M"
  }
}
來源無時間;nday 即時觀測
+PAT已有修補

公告列出的修補版本:Werkzeug 3.0.3。公告附有修補 commit。公告發布於 ;修補本身的釋出時間沒有紀錄。

來源 ghsa GHSA-2g68-c3qc-8985 · nday 於 即時觀測 · 原始
{
  "id": 478420,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-2g68-c3qc-8985",
  "occurred_at": null,
  "observed_at": "2026-11-18T01:03:32.553114Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-2g68-c3qc-8985",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 7.5,
        "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Cross-Site Request Forgery",
        "cwe_id": "CWE-352"
      }
    ],
    "ghsa_id": "GHSA-2g68-c3qc-8985",
    "packages": [
      {
        "name": "Werkzeug",
        "ecosystem": "pip",
        "first_patched_version": "3.0.3",
        "vulnerable_version_range": "< 3.0.3"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985",
      "https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692",
      "https://nvd.nist.gov/vuln/detail/CVE-2024-34069",
      "https://lists.fedoraproject.org/archives/list/[email protected]/message/H4SH32AM3CTPMAAEOIDAN7VU565LO4IR",
      "https://lists.fedoraproject.org/archives/list/[email protected]/message/HFERFN7PINV4MOGMGA3DPIXJPDCYOEJZ",
      "https://security.netapp.com/advisory/ntap-20240614-0004",
      "https://lists.debian.org/debian-lts-announce/2025/02/msg00026.html",
      "https://github.com/pallets/werkzeug/releases/tag/3.0.3",
      "https://github.com/pypa/advisory-database/tree/main/vulns/werkzeug/PYSEC-2026-2043.yaml",
      "https://pypi.org/project/werkzeug",
      "https://github.com/advisories/GHSA-2g68-c3qc-8985"
    ],
    "fix_commit_urls": [
      "https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692"
    ],
    "github_reviewed_at": "2024-05-06T14:21:27Z",
    "advisory_updated_at": "2026-11-18T00:16:57Z",
    "source_code_location": "https://github.com/pallets/werkzeug",
    "advisory_published_at": "2024-05-06T14:21:27Z"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 exploit/multi/http/werkzeug_debug_rce(Pallete Projects Werkzeug Debugger Remote Code Execution)。來源未提供模組的釋出時間。

來源 metasploit exploit/multi/http/werkzeug_debug_rce · nday 於 批次匯入 · 原始
{
  "id": 51480,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/werkzeug_debug_rce.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/werkzeug_debug_rce",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/werkzeug_debug_rce.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/werkzeug_debug_rce.rb",
    "rank": 400,
    "check": true,
    "title": "Pallete Projects Werkzeug Debugger Remote Code Execution",
    "cve_ids": [
      "CVE-2024-34069"
    ],
    "fullname": "exploit/multi/http/werkzeug_debug_rce",
    "rank_name": "good",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-10-06 17:15:11 +0000",
    "vuln_disclosure_date": "2015-06-28"
  }
}

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.