Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution
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.
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
Veritabanındaki yüz binlerce zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.
Bu ürünü kullanıyoruz, yardım isteyin- Yayın
- 6 May 2024
- Güncelleme
- 17 Haz 2026
- EPSS
- %3,4 · 88. yüzdelik
- CWE
- CWE-352
Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.
Rapor araçları
Aksiyon skoru
31
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %3,4
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- hayır
- Teknik etki
- tam
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- —
- CNA · GitHub_M
- 7,5
- NVD henüz kendi puanını vermedi; gösterilen puan CNA’nın.
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| palletsprojects | werkzeug | cpe:2.3:a:palletsprojects:werkzeug |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen eşleşme bunlarla yapılır.
- debian debian linux11.0
- fedoraproject fedora38
- fedoraproject fedora40
- palletsprojects werkzeug3.0.3 öncesi
Üreticinin bildirdiği sürümler
Kaydı açan otorite (GitHub_M) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
pallets werkzeug
- < 3.0.3etkilenir
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Debian:11 | python-werkzeug | 1.0.1+dfsg1-2+deb11u2 öncesi | 1.0.1+dfsg1-2+deb11u2 |
| Debian:12 | python-werkzeug | 2.2.2-3+deb12u1 öncesi | 2.2.2-3+deb12u1 |
| Debian:13 | python-werkzeug | 3.0.3-1 öncesi | 3.0.3-1 |
| openSUSE:Leap 15.5 | python-Werkzeug-doc | 0.14.1-150100.6.9.1 öncesi | 0.14.1-150100.6.9.1 |
| openSUSE:Tumbleweed | python-Werkzeug | 3.0.3-1.1 öncesi | 3.0.3-1.1 |
| PyPI | werkzeug | 3.0.3 öncesi | 3.0.3 |
| Red Hat:ceph_storage:7.1::el8 | ceph | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-base | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-base-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-common | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-common-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-debugsource | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-exporter-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-fuse | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-fuse-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-immutable-object-cache | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-immutable-object-cache-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-mds-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-mgr-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-mib | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-mon-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-osd-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-radosgw-debuginfo | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
+96
Aynı üründe
palletsprojects: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2019-14322In Pallets Werkzeug before 0.15.5, SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames.47Planlayın
- CVE-2022-29361Improper parsing of HTTP requests in Pallets Werkzeug v2.1.0 and below allows attackers to perform HTTP Request Smuggling using a crafted HT41Planlayın
- CVE-2019-14806Pallets Werkzeug before 0.15.3, when used with Docker, has insufficient debugger PIN randomness because Docker containers share the same mac31İzleyin
- CVE-2023-46136Werkzeug vulnerable to high resource usage when parsing multipart/form-data containing a large part with CR/LF character at the beginning30İzleyin
- CVE-2023-25577Werkzeug may allow high resource usage when parsing multipart form data with many fields30İzleyin
- CVE-2026-27199Werkzeug safe_join() allows Windows special device names25İzleyin
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| pallets werkzeug | 3.0.3 · description | Üretici (CNA) |
| debian:python-werkzeug | 2.2.2-3+deb12u1 · Debian:12 | Paket deposu (OSV) |
| opensuse:python-Werkzeug | 2.3.6-150400.6.9.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| opensuse:python-Werkzeug-doc | 0.14.1-150100.6.9.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| PyPI:werkzeug | 3.0.3 | Paket deposu (OSV) |
| red hat:liboath | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:liboath-debuginfo | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:libpskc-debuginfo | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:oath-toolkit | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:oath-toolkit-debuginfo | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:oath-toolkit-debugsource | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:openshift | 0:4.12.0-202408131833.p0.g1eb8682.assembly.stream.el8 · Red Hat:openshift:4.12::el8 | Paket deposu (OSV) |
| red hat:openshift-hyperkube | 0:4.12.0-202408131833.p0.g1eb8682.assembly.stream.el8 · Red Hat:openshift:4.12::el8 | Paket deposu (OSV) |
| red hat:python-jinja2 | 0:3.0.1-3.el9.1 · Red Hat:openshift_ironic:4.12::el9 | Paket deposu (OSV) |
| red hat:python-werkzeug | 0:0.14.1-13.el8ost · Red Hat:openstack:16.2::el8 | Paket deposu (OSV) |
| red hat:python3-jinja2 | 0:3.0.1-3.el9.1 · Red Hat:openshift_ironic:4.12::el9 | Paket deposu (OSV) |
| red hat:python3-werkzeug | 0:0.14.1-13.el8ost · Red Hat:openstack:16.2::el8 | Paket deposu (OSV) |
| suse:python-Werkzeug | 0.12.2-10.16.1 · SUSE:Linux Enterprise Module for Public Cloud 12 | Paket deposu (OSV) |
| suse:python-Werkzeug | 2.3.6-150400.6.9.1 · SUSE:Linux Enterprise Module for Python 3 15 SP5 | Paket deposu (OSV) |
İstismar durumu
Silahlaştırılmış
Bu zafiyet için hazır bir istismar aracı ya da sahada aktif kullanım biliniyor. Önceliğiniz en üst düzeyde olmalı.
Kanıt
- Metasploit modülü ×1
Noroxi istismar kodu barındırmaz ve istismar bağlantısı vermez. Metasploit modül adı ve Nuclei şablon kimliği gösterilir (kod değil, ad); Exploit-DB kayıtları ve PoC depoları yalnızca sayı olarak verilir.
| Kaynak | Tür | Tarih |
|---|---|---|
| Metasploit modülü | exploit/multi/http/werkzeug_debug_rcePallete Projects Werkzeug Debugger Remote Code Executionexploit | 2015-06-28 |
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
- Metasploit-3235 gün
- Yayın
- Bugün30 Eyl 2026+877 gün
FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).
Yama ve commit bağlantıları
Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.
CNA kaydında kredi yok.
Varyant adayları
Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.
Gece hesaplanan ilişki yok.
Zincir adayları
Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.
—
Bug bounty kapsamı
Bilinen herkese açık program yok.
Kaynak: bounty-targets-data (HackerOne, Bugcrowd, Intigriti, YesWeHack herkese açık listeleri).
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes tetikleyebilir.
- Hesap ya da parola gerekmez.
- Bir kullanıcının bağlantıyı açması ya da sayfayı ziyaret etmesi gerekir.
- Zamanlama ya da yapılandırma gibi özel koşullar gerekir.
Başarılı olursa
- Gizlilik
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Yüksek
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekir
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-352 · Cross-Site Request Forgery (CSRF)CVSS vektörü
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-secondary
Kök neden
Durum değiştiren istekler tarayıcının otomatik gönderdiği oturum çerezine dayanıyor; isteğin kullanıcının kendi sayfasından geldiği doğrulanmıyor.
Hatanın kod karşılığı
CWE-352 sınıfının tamamıBu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.
Hatalı
app.use(session({ cookie: { httpOnly: true } }));app.post("/account/address", updateAddress);Düzeltilmiş
app.use(session({ cookie: { httpOnly: true, sameSite: "lax" } }));app.post("/account/address", csrfProtection, updateAddress);Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Değişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692
- github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4SH32AM3CTPMAAEOIDAN7VU565LO4IR/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HFERFN7PINV4MOGMGA3DPIXJPDCYOEJZ/
- security.netapp.com/advisory/ntap-20240614-0004/
- lists.debian.org/debian-lts-announce/2025/02/msg00026.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.