# CVE-2021-44228 (Log4Shell)

Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.

- Page: https://www.vulneraibility.com/cve/CVE-2021-44228
- CVSS: 10.0
- Known exploited: yes, in CISA KEV since 2021-12-10; CISA due date 2021-12-24; known ransomware use
- EPSS: 100.00% (percentile 100.0)
- Public exploit code: 3 on Exploit-DB · 5 Metasploit modules · 507 GitHub proofs of concept · 1 Nuclei template (first 2021-12-09)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2025-02-04)
- Weakness: CWE-502, CWE-400, CWE-20
- Also known as: GHSA-jfh8-c2jp-5v3q
- Published: 2021-12-10

## Affected versions

- Apache Software Foundation Apache Log4j2: affected >= 2.0-beta9 and < log4j-core*

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://logging.apache.org/log4j/2.x/security.html
- [other] http://www.openwall.com/lists/oss-security/2021/12/10/1
- [other] http://www.openwall.com/lists/oss-security/2021/12/10/2
- [advisory] https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- [other] http://www.openwall.com/lists/oss-security/2021/12/10/3
- [other] https://security.netapp.com/advisory/ntap-20211210-0007/
- [other] http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html
- [other] https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032
- [other] https://www.oracle.com/security-alerts/alert-cve-2021-44228.html
- [advisory] https://www.debian.org/security/2021/dsa-5020
- [other] https://lists.debian.org/debian-lts-announce/2021/12/msg00007.html
- [advisory] https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM/
- [advisory] https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/
- [other] http://www.openwall.com/lists/oss-security/2021/12/13/2
- [other] http://www.openwall.com/lists/oss-security/2021/12/13/1
- [other] http://www.openwall.com/lists/oss-security/2021/12/14/4
- [advisory] https://www.kb.cert.org/vuls/id/930724
- [other] https://twitter.com/kurtseifried/status/1469345530182455296
- [other] https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf
- [other] http://packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html
- [other] http://packetstormsecurity.com/files/165270/Apache-Log4j2-2.14.1-Remote-Code-Execution.html
- [other] http://packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html
- [other] https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html
- [other] http://www.openwall.com/lists/oss-security/2021/12/15/3
- [other] http://packetstormsecurity.com/files/165282/Log4j-Payload-Generator.html
- [other] http://packetstormsecurity.com/files/165281/Log4j2-Log4Shell-Regexes.html
- [other] http://packetstormsecurity.com/files/165307/Log4j-Remote-Code-Execution-Word-Bypassing.html
- [other] http://packetstormsecurity.com/files/165311/log4j-scan-Extensive-Scanner.html
- [other] http://packetstormsecurity.com/files/165306/L4sh-Log4j-Remote-Code-Execution.html
- [other] https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf
- [advisory] https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB/
- [other] http://packetstormsecurity.com/files/165371/VMware-Security-Advisory-2021-0028.4.html
- [other] https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf
- [other] https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf
- [other] https://www.oracle.com/security-alerts/cpujan2022.html
- [other] http://packetstormsecurity.com/files/165532/Log4Shell-HTTP-Header-Injection.html
- [other] https://github.com/cisagov/log4j-affected-db/blob/develop/SOFTWARE-LIST.md
- [other] http://packetstormsecurity.com/files/165642/VMware-vCenter-Server-Unauthenticated-Log4Shell-JNDI-Injection-Remote-Code-Execution.html
- [other] http://packetstormsecurity.com/files/165673/UniFi-Network-Application-Unauthenticated-Log4Shell-Remote-Code-Execution.html
- [other] http://seclists.org/fulldisclosure/2022/Mar/23
- [other] https://www.bentley.com/en/common-vulnerability-exposure/be-2022-0001
- [other] https://github.com/cisagov/log4j-affected-db
- [other] https://support.apple.com/kb/HT213189
- [other] https://www.oracle.com/security-alerts/cpuapr2022.html
- [other] https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-44228
- [other] https://www.nu11secur1ty.com/2021/12/cve-2021-44228.html
- [other] http://seclists.org/fulldisclosure/2022/Jul/11
- [other] http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html
- [other] http://packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html
- [other] http://seclists.org/fulldisclosure/2022/Dec/2

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
