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

Hay constancia de un parche 926 días después de la divulgación. Versión corregida: Werkzeug 3.0.3. La recoge 1 de las 4 fuentes de PoC: metasploit. No figura en el KEV de CISA.

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] y 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
etapa
POC
divulgación
divulgación → parche
T+926d
cvss
7.5 HIGH v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2024-05-06T14:44Z
PATparcheada
2026-11-18T01:03Z
ANAanalizada
sin registro aún
POCPoC
metasploit
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 7.5, severidad alta.

fuente cvelist · nday , importación masiva · en bruto
{
  "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"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versión corregida según el aviso: Werkzeug 3.0.3. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-2g68-c3qc-8985 · nday , observado en tiempo real · en bruto
{
  "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"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Metasploit incluye el módulo exploit/multi/http/werkzeug_debug_rce (Pallete Projects Werkzeug Debugger Remote Code Execution). La fuente no indica cuándo se publicó el módulo.

fuente metasploit exploit/multi/http/werkzeug_debug_rce · nday , importación masiva · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.