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

Correctif recensé 926 jours après la divulgation. Version corrigée : Werkzeug 3.0.3. Cette vulnérabilité figure dans une seule des 4 sources de PoC : metasploit. Aucune inscription au catalogue KEV de la CISA à ce jour.

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] et 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
étape actuelle
POC
divulgation
délai avant correctif
T+926d
CVSS
7.5 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2024-05-06T14:44Z
PATcorrectif
2026-11-18T01:03Z
ANAanalyse
aucune donnée
POCPoC
metasploit
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 7.5, gravité élevée.

source cvelist · importé en masse par nday le · brut
{
  "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"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée Werkzeug 3.0.3. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-2g68-c3qc-8985 · observé en direct par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/multi/http/werkzeug_debug_rce (« Pallete Projects Werkzeug Debugger Remote Code Execution »). La source n’indique pas la date de publication du module.

source metasploit exploit/multi/http/werkzeug_debug_rce · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.