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。PoC 来源中 metasploit 已收录(1/4)。尚未列入 CISA KEV。

标签 漏洞类型CSRF 攻击途径网络无需认证 利用情况Metasploit 软件包生态PyPI
这些标签的依据

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

CSRF
CWE-352(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-2g68-c3qc-8985)
网络
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:N
无需认证
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1)中的 PR:N
Metasploit
Metasploit 模块 exploit/multi/http/werkzeug_debug_rce
PyPI
GHSA-2g68-c3qc-8985:pip 包 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.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:H
高:能否成功取决于攻击者无法控制的条件,例如须先收集目标信息或赢得竞态
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:R
需要:须有用户执行某个操作,例如打开文件或点击链接

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

CVSS 3.1 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 7.5,高危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "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"
  }
}
来源未给时间,本站实时观测
+PAT补丁发布

公告给出修复版本 Werkzeug 3.0.3。公告附有修复提交。公告本身发布于 ,补丁实际发布时间没有记录。

来源 ghsa GHSA-2g68-c3qc-8985 · 本站 实时观测 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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"
  }
}

纠错

报告错误或缺失

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

研究员讨论

近 7 天有 0 位研究员提到

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

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

讨论

0 条评论

还没有评论。