Hardcoded static IV and AAD with a reused key in AES GCM encryption in mod_auth_openidc
mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In mod_auth_openidc before version 2.4.9, the AES GCM encryption in mod_auth_openidc uses a static IV and AAD. It is important to fix because this creates a static nonce and since aes-gcm is a stream cipher, this can lead to known cryptographic issues, since the same key is being reused. From 2.4.9 onwards this has been patched to use dynamic values through usage of cjose AES encryption routines.
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
- 26 Tem 2021
- Güncelleme
- 16 Haz 2026
- EPSS
- %1,5 · 73. yüzdelik
- CWE
- CWE-323
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
23
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %1,5
CNA ile NVD puanı
- NVD
- 5,9
- CNA · GitHub_M
- 5,9
- uyumlu
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 |
|---|---|---|
| openidc | mod auth openidc | cpe:2.3:a:openidc:mod_auth_openidc |
| apache | http server | cpe:2.3:a:apache:http_server |
| 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.
- fedoraproject fedora33
- fedoraproject fedora34
- openidc mod auth openidc2.4.9 ö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.
zmartzone mod_auth_openidc
- < 2.4.9etkilenir
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 |
|---|---|---|---|
| AlmaLinux:8 | cjose | 0.6.1-2.module_el8.6.0+2868+44838709 öncesi | 0.6.1-2.module_el8.6.0+2868+44838709 |
| AlmaLinux:8 | cjose-devel | 0.6.1-2.module_el8.6.0+2868+44838709 öncesi | 0.6.1-2.module_el8.6.0+2868+44838709 |
| AlmaLinux:8 | mod_auth_openidc | 2.3.7-11.module_el8.6.0+2868+44838709 öncesi | 2.3.7-11.module_el8.6.0+2868+44838709 |
| Debian:10 | libapache2-mod-auth-openidc | 2.3.10.2-1+deb10u2 öncesi | 2.3.10.2-1+deb10u2 |
| Debian:12 | libapache2-mod-auth-openidc | 2.4.9-1 öncesi | 2.4.9-1 |
| openSUSE:Leap 15.2 | apache2-mod_auth_openidc | 2.3.8-lp152.5.6.1 öncesi | 2.3.8-lp152.5.6.1 |
| openSUSE:Leap 15.3 | apache2-mod_auth_openidc | 2.3.8-3.15.1 öncesi | 2.3.8-3.15.1 |
| Red Hat:enterprise_linux:8::appstream | cjose | 0:0.6.1-2.module+el8+2454+f890a43a öncesi | 0:0.6.1-2.module+el8+2454+f890a43a |
| Red Hat:enterprise_linux:8::appstream | cjose-debuginfo | 0:0.6.1-2.module+el8+2454+f890a43a öncesi | 0:0.6.1-2.module+el8+2454+f890a43a |
| Red Hat:enterprise_linux:8::appstream | cjose-debugsource | 0:0.6.1-2.module+el8+2454+f890a43a öncesi | 0:0.6.1-2.module+el8+2454+f890a43a |
| Red Hat:enterprise_linux:8::appstream | cjose-devel | 0:0.6.1-2.module+el8+2454+f890a43a öncesi | 0:0.6.1-2.module+el8+2454+f890a43a |
| Red Hat:enterprise_linux:8::appstream | mod_auth_openidc | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 öncesi | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 |
| Red Hat:enterprise_linux:8::appstream | mod_auth_openidc-debuginfo | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 öncesi | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 |
| Red Hat:enterprise_linux:8::appstream | mod_auth_openidc-debugsource | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 öncesi | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 |
| Rocky Linux:8 | cjose | 0:0.6.1-2.module+el8.3.0+129+2feafa46 öncesi | 0:0.6.1-2.module+el8.3.0+129+2feafa46 |
| Rocky Linux:8 | mod_auth_openidc | 0:2.3.7-11.module+el8.6.0+840+73eca44e öncesi | 0:2.3.7-11.module+el8.6.0+840+73eca44e |
| SUSE:Linux Enterprise Module for Server Applications 15 SP2 | apache2-mod_auth_openidc | 2.3.8-3.15.1 öncesi | 2.3.8-3.15.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP6 | apache2-mod_auth_openidc | 2.4.17.1-150600.16.14.1 öncesi | 2.4.17.1-150600.16.14.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP6 | apache2-mod_auth_openidc | 2.4.17.1-150600.16.14.1 öncesi | 2.4.17.1-150600.16.14.1 |
| SUSE:Linux Enterprise Server 12 SP5 | apache2-mod_auth_openidc | 2.4.0-3.23.1 öncesi | 2.4.0-3.23.1 |
Aynı üründe
openidc: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2017-6413The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc) module before 2.1.6 for the Apache HTTP Server does 35İzleyin
- CVE-2017-6062The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc) module before 2.1.5 for the Apache HTTP Server does 35İzleyin
- CVE-2017-6059Mod_auth_openidc.c in the Ping Identity OpenID Connect authentication module for Apache (aka mod_auth_openidc) before 2.14 allows remote att32İzleyin
- CVE-2021-32785Format string bug in the Redis cache implementation31İzleyin
- CVE-2021-20718mod_auth_openidc 2.4.0 to 2.4.7 allows a remote attacker to cause a denial-of-service (DoS) condition via unspecified vectors.31İzleyin
- CVE-2024-24814Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc30İ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 |
|---|---|---|
| almalinux:cjose | 0.6.1-2.module_el8.6.0+2868+44838709 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:cjose-devel | 0.6.1-2.module_el8.6.0+2868+44838709 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:mod_auth_openidc | 2.3.7-11.module_el8.6.0+2868+44838709 · AlmaLinux:8 | Paket deposu (OSV) |
| debian:libapache2-mod-auth-openidc | 2.4.9-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:apache2-mod_auth_openidc | 2.4.17.1-150600.16.14.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| red hat:cjose | 0:0.6.1-2.module+el8+2454+f890a43a · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:cjose-debuginfo | 0:0.6.1-2.module+el8+2454+f890a43a · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:cjose-debugsource | 0:0.6.1-2.module+el8+2454+f890a43a · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:cjose-devel | 0:0.6.1-2.module+el8+2454+f890a43a · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:mod_auth_openidc | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:mod_auth_openidc-debuginfo | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:mod_auth_openidc-debugsource | 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| rocky linux:cjose | 0:0.6.1-2.module+el8.3.0+129+2feafa46 · Rocky Linux:8 | Paket deposu (OSV) |
| rocky linux:mod_auth_openidc | 0:2.3.7-11.module+el8.6.0+840+73eca44e · Rocky Linux:8 | Paket deposu (OSV) |
| suse:apache2-mod_auth_openidc | 2.3.8-3.15.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP2 | Paket deposu (OSV) |
| suse:apache2-mod_auth_openidc | 2.4.17.1-150600.16.14.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP6 | 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ı
- İnternetten erişebilen herkes tetikleyebilir.
- Hesap ya da parola gerekmez.
- Kullanıcının bir şey yapması gerekmez.
- Zamanlama ya da yapılandırma gibi özel koşullar gerekir.
Başarılı olursa
- Gizlilik
- yüksek · veriler okunabilir
- Bütünlük
- yok
- Erişilebilirlik
- yok
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Yüksek
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-323 · Reusing a Nonce, Key Pair in EncryptionCVSS vektörü
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/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ı.
Bu CWE için MITRE'de CAPEC/ATT&CK eşlemesi yok.
Değişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- github.com/zmartzone/mod_auth_openidc/commit/375407c16c61a70b56fdbe13b0d2c8f11398e92c
- github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9
- github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-px3c-6x7j-3r9r
- lists.debian.org/debian-lts-announce/2023/04/msg00034.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZVF6BSJLRQZ7PFFR4X5JSU6KUJYNOCU/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXAWKPT5LXZSUTFSJ6IWSZC7RMYYQXQD/
- www.oracle.com/security-alerts/cpuapr2022.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.