Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack
It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.
- Yayın
- 14 Ara 2021
- Güncelleme
- 17 Haz 2026
- EPSS
- %100,0 · 100. yüzdelik
- CWE
- CWE-917
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
96
Hemen
Bugün yamayın ya da erişimi kapatın.
- CVSS
- 36 / 40 · 9.0 / 10
- CISA KEV
- 30 / 30 · Listede
- EPSS
- 30 / 30 · %100,0
CISA SSVC kararı
- Sömürü
- aktif
- Otomatikleştirilebilir
- hayır
- Teknik etki
- tam
Vulnrichment: CISA'nın karar ağacı girdileri.
Sahada aktif sömürülüyor
CISA bu zafiyeti 1 May 2023 tarihinde fiilen sömürülen zafiyetler kataloğuna (KEV) ekledi. Bu, teoriyi değil, gerçek saldırıları işaret eder.
Kamu kurumları için son yama tarihi: 22 May 2023.
Fidye yazılımı kampanyalarında kullanıldığı biliniyor.
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| apache | log4j | cpe:2.3:a:apache:log4j |
| cvat | computer vision annotation tool | cpe:2.3:a:cvat:computer_vision_annotation_tool |
| intel | audio development kit | cpe:2.3:a:intel:audio_development_kit |
| intel | datacenter manager | cpe:2.3:a:intel:datacenter_manager |
| intel | genomics kernel library | cpe:2.3:a:intel:genomics_kernel_library |
| intel | oneapi | cpe:2.3:a:intel:oneapi |
| intel | secure device onboard | cpe:2.3:a:intel:secure_device_onboard |
| intel | sensor solution firmware development kit | cpe:2.3:a:intel:sensor_solution_firmware_development_kit |
| intel | system debugger | cpe:2.3:a:intel:system_debugger |
| intel | system studio | cpe:2.3:a:intel:system_studio |
| siemens | sppa-t3000 ses3000 firmware | cpe:2.3:o:siemens:sppa-t3000_ses3000_firmware |
| siemens | sppa-t3000 ses3000 | cpe:2.3:h:siemens:sppa-t3000_ses3000 |
ve 49 kayıt daha
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.
- apache log4j2.0.1 ve sonrası · 2.12.2 öncesi
- apache log4j2.13.0 ve sonrası · 2.16.0 öncesi
- apache log4j2.0
- cvat computer vision annotation tooltüm sürümler
- debian debian linux10.0
- debian debian linux11.0
- fedoraproject fedora34
- fedoraproject fedora35
- intel audio development kittüm sürümler
- intel datacenter managertüm sürümler
- intel genomics kernel librarytüm sürümler
- intel oneapitüm sürümler
- intel secure device onboardtüm sürümler
- intel sensor solution firmware development kittüm sürümler
- intel system debuggertüm sürümler
- intel system studiotüm sürümler
- siemens 6bk1602-0aa12-0tp0 firmware2.7.0 öncesi
- siemens 6bk1602-0aa22-0tp0 firmware2.7.0 öncesi
- siemens 6bk1602-0aa32-0tp0 firmware2.7.0 öncesi
- siemens 6bk1602-0aa42-0tp0 firmware2.7.0 öncesi
Üreticinin bildirdiği sürümler
Kaydı açan otorite (apache) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
Apache Software Foundation Apache Log4j
- Apache Log4j2 ve sonrası · 2.16.0 öncesietkilenir
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 | apache-log4j2 | 2.16.0-1~deb10u1 öncesi | 2.16.0-1~deb10u1 |
| Debian:11 | apache-log4j2 | 2.16.0-1~deb11u1 öncesi | 2.16.0-1~deb11u1 |
| Debian:12 | apache-log4j2 | 2.16.0-1 öncesi | 2.16.0-1 |
| Maven | org.apache.logging.log4j:log4j-core | 2.13.0 itibarıyla · 2.16.0 öncesi | 2.16.0 |
| Maven | org.apache.logging.log4j:log4j-core | 2.12.2 öncesi | 2.12.2 |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | 1.10.0 itibarıyla · 1.10.8 öncesi | 1.10.8 |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | 1.11.0 itibarıyla · 1.11.11 öncesi | 1.11.11 |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | 1.8.0 itibarıyla · 1.9.2 öncesi | 1.9.2 |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | 2.0.0 itibarıyla · 2.0.12 öncesi | 2.0.12 |
| openSUSE:Leap 15.2 | disruptor | 3.4.4-lp152.2.3.1 öncesi | 3.4.4-lp152.2.3.1 |
| openSUSE:Leap 15.2 | jakarta-servlet | 5.0.0-lp152.2.1 öncesi | 5.0.0-lp152.2.1 |
| openSUSE:Leap 15.2 | log4j | 2.16.0-lp152.3.9.1 öncesi | 2.16.0-lp152.3.9.1 |
| openSUSE:Leap 15.3 | disruptor | 3.4.4-3.3.1 öncesi | 3.4.4-3.3.1 |
| openSUSE:Leap 15.3 | jakarta-servlet | 5.0.0-5.3.1 öncesi | 5.0.0-5.3.1 |
| openSUSE:Leap 15.3 | log4j | 2.13.0-4.6.1 öncesi | 2.13.0-4.6.1 |
| openSUSE:Leap 15.3 | log4j | 2.16.0-4.10.1 öncesi | 2.16.0-4.10.1 |
| openSUSE:Tumbleweed | log4j | 2.16.0-2.1 öncesi | 2.16.0-2.1 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-apache-cxf | 0:3.1.16-4.redhat_00003.1.ep7.el7 öncesi | 0:3.1.16-4.redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-apache-cxf-rt | 0:3.1.16-4.redhat_00003.1.ep7.el7 öncesi | 0:3.1.16-4.redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-apache-cxf-services | 0:3.1.16-4.redhat_00003.1.ep7.el7 öncesi | 0:3.1.16-4.redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-apache-cxf-tools | 0:3.1.16-4.redhat_00003.1.ep7.el7 öncesi | 0:3.1.16-4.redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-jackson-databind | 0:2.8.11.6-2.SP1_redhat_00002.1.ep7.el7 öncesi | 0:2.8.11.6-2.SP1_redhat_00002.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-jettison | 0:1.3.8-2.redhat_00002.1.ep7.el7 öncesi | 0:1.3.8-2.redhat_00002.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-netty | 0:4.1.63-1.Final_redhat_00002.1.ep7.el7 öncesi | 0:4.1.63-1.Final_redhat_00002.1.ep7.el7 |
+65
Aynı üründe
apache: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2021-44228Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpointsKEV100Hemen
- CVE-2017-5645In Apache Log4j 2.x before 2.8.2, when using the TCP socket server or UDP socket server to receive serialized log events from another applic66Bu hafta
- CVE-2019-17571Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely exe60Bu hafta
- CVE-2022-23305SQL injection in JDBC Appender in Apache Log4j V159Planlayın
- CVE-2021-44832Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration55Planlayın
- CVE-2022-23302Deserialization of untrusted data in JMSSink in Apache Log4j 1.x54Planlayın
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:apache-log4j2 | 2.16.0-1 · Debian:12 | Paket deposu (OSV) |
| Maven:org.apache.logging.log4j:log4j-core | 2.12.2 | Paket deposu (OSV) |
| Maven:org.apache.logging.log4j:log4j-core | 2.16.0 | Paket deposu (OSV) |
| Maven:org.ops4j.pax.logging:pax-logging-log4j2 | 1.10.8 | Paket deposu (OSV) |
| Maven:org.ops4j.pax.logging:pax-logging-log4j2 | 1.11.11 | Paket deposu (OSV) |
| Maven:org.ops4j.pax.logging:pax-logging-log4j2 | 1.9.2 | Paket deposu (OSV) |
| Maven:org.ops4j.pax.logging:pax-logging-log4j2 | 2.0.12 | Paket deposu (OSV) |
| openSUSE:disruptor | 3.4.4-lp152.2.3.1 · openSUSE:Leap 15.2 | Paket deposu (OSV) |
| openSUSE:jakarta-servlet | 5.0.0-lp152.2.1 · openSUSE:Leap 15.2 | Paket deposu (OSV) |
| openSUSE:log4j | 2.16.0-lp152.3.9.1 · openSUSE:Leap 15.2 | Paket deposu (OSV) |
| Red Hat:eap7-jackson-databind | 0:2.8.11.6-2.SP1_redhat_00002.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-log4j | 0:2.17.1-1.redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-atom-provider | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-cdi | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-client | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-crypto | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-jackson-provider | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-jackson2-provider | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-jaxb-provider | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-jaxrs | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | Paket deposu (OSV) |
| Red Hat:eap7-resteasy-jettison-provider | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 · Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | 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
- Nuclei tespit şablonu ×3
- GitHub’da kavram kanıtı deposu ×11
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ü | auxiliary/scanner/http/log4shell_scannerLog4Shell HTTP Scannerauxiliary | 2021-12-09 |
| Nuclei tespit şablonu | Nuclei şablonu CVE-2021-45046-DAST | — |
| Nuclei tespit şablonu | Nuclei şablonu CVE-2021-45046 | — |
| Nuclei tespit şablonu | Nuclei şablonu vrealize-operations-log4j-rce | — |
| GitHub’da kavram kanıtı deposu | stars:22 | 2021-12-15 |
| GitHub’da kavram kanıtı deposu | stars:4 | 2021-12-15 |
| GitHub’da kavram kanıtı deposu | stars:0 | 2021-12-15 |
| GitHub’da kavram kanıtı deposu | stars:0 | 2021-12-15 |
| GitHub’da kavram kanıtı deposu | stars:14 | 2021-12-16 |
| GitHub’da kavram kanıtı deposu | stars:0 | 2021-12-17 |
| GitHub’da kavram kanıtı deposu | stars:1 | 2021-12-18 |
| GitHub’da kavram kanıtı deposu | stars:85 | 2021-12-20 |
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-6 gün
- Yayın
- İlk kavram kanıtıaynı gün
- CISA KEV+502 gün
- Bugün29 Eyl 2026+1750 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.
Referanslarda commit ya da PR bağlantısı yok.
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ı
Ürünün üreticisi herkese açık bir programda görünüyor. Eşleşme ad üzerinden yapıldı; kapsam metnini programda doğrulayın.
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
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
Etki, zafiyetli bileşenin ötesine geçebilir (kapsam değişir).
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Yüksek
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişir
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-917 · Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')CVSS vektörü
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
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.
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
- www.openwall.com/lists/oss-security/2021/12/14/4
- www.openwall.com/lists/oss-security/2021/12/15/3
- www.openwall.com/lists/oss-security/2021/12/18/1
- cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf
- cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf
- cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf
- cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ/
- logging.apache.org/log4j/2.x/security.html
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032
- security.gentoo.org/glsa/202310-16
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- www.cve.org/CVERecord?id=CVE-2021-44228
- www.debian.org/security/2021/dsa-5022
- www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html
- www.kb.cert.org/vuls/id/930724
- www.oracle.com/security-alerts/alert-cve-2021-44228.html
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2022.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.