Wrkzeug's incorrect parsing of nameless cookies leads to __Host- cookies bypass
Werkzeug is a comprehensive WSGI web application library. Browsers may allow "nameless" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.
- Yayın
- 14 Şub 2023
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,5 · 41. yüzdelik
- CWE
- CWE-20
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
14
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 14 / 40 · 3.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,5
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- hayır
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- 3,5
- CNA · GitHub_M
- 2,6
- 0,9 puan fark
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A: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 |
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.
- palletsprojects werkzeug2.2.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
- < 2.2.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:10 | python-werkzeug | 0.14.1+dfsg1-4+deb10u2 öncesi | 0.14.1+dfsg1-4+deb10u2 |
| Debian:11 | python-werkzeug | 1.0.1+dfsg1-2+deb11u1 öncesi | 1.0.1+dfsg1-2+deb11u1 |
| Debian:12 | python-werkzeug | 2.2.2-3 öncesi | 2.2.2-3 |
| PyPI | werkzeug | 2.2.3 öncesi | 2.2.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 |
| Red Hat:ceph_storage:7.1::el8 | ceph-resource-agents | 2:18.2.1-329.el8cp öncesi | 2:18.2.1-329.el8cp |
| Red Hat:ceph_storage:7.1::el8 | ceph-selinux | 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-2024-34069Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution31İzleyin
- 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
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 |
|---|---|---|
| debian:python-werkzeug | 2.2.2-3 · Debian:12 | Paket deposu (OSV) |
| PyPI:werkzeug | 2.2.3 | Paket deposu (OSV) |
| red hat:ceph | 2:18.2.1-329.el8cp · Red Hat:ceph_storage:7.1::el8 | 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:oathtool-debuginfo | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:pam_oath-debuginfo | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:pskctool-debuginfo | 0:2.6.12-1.el8cp · Red Hat:ceph_storage:7.1::el8 | Paket deposu (OSV) |
| red hat:python-werkzeug | 0:2.0.1-5.el9ost · Red Hat:openstack:17.0::el9 | Paket deposu (OSV) |
| red hat:python3-werkzeug | 0:2.0.1-5.el9ost · Red Hat:openstack:17.0::el9 | Paket deposu (OSV) |
İstismar durumu
Bilinen kamuya açık istismar yok
Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.
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.
Yayın dışında tarihli olay yok.
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ı
- Aynı ağ bölümündeki biri tetikleyebilir.
- Hesap ya da parola gerekmez.
- Bir kullanıcının bağlantıyı açması ya da sayfayı ziyaret etmesi gerekir.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yok
- Bütünlük
- düşük · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yok
- Saldırı vektörü
- Bitişik ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekir
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Düşük
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-20 · Improper Input ValidationCVSS vektörü
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
nvd-primary
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ı.
Saldırı desenleri (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10olasılık: High · High
- Server Side Include (SSI) InjectionCAPEC-101olasılık: High · High
- Cross Zone ScriptingCAPEC-104olasılık: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108olasılık: Low · Very High
- Object Relational Mapping InjectionCAPEC-109olasılık: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110olasılık: High · Very High
- Double EncodingCAPEC-120olasılık: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13olasılık: High · Very High
ATT&CK teknikleri
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
385 binden fazla 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 isteyinDeğ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/cf275f42acad1b5950c50ffe8ef58fe62cdce028
- github.com/pallets/werkzeug/releases/tag/2.2.3
- github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q
- security.netapp.com/advisory/ntap-20230818-0003/
- www.debian.org/security/2023/dsa-5470
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.