CVE-2021-44228Apache Log4j2 Remote Code Execution Vulnerability
CVSS score
10.0
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
100.0%
100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 10 Dec 2021.
US federal deadline to fix: 24 Dec 2021.
Ransomware
Official description
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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 10 Dec 2021.
US federal agencies must fix it by 24 Dec 2021. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks. Temporary mitigations using one of the measures provided at https://www.cisa.gov/uscert/ed-22-02-apache-log4j-recommended-mitigation-measures are only acceptable until updates are available.
Check whether you're affected
Find every system running Siemens 6bk1602-0aa12-0tp0 Firmware, Siemens 6bk1602-0aa22-0tp0 Firmware, Siemens 6bk1602-0aa32-0tp0 Firmware, Siemens 6bk1602-0aa42-0tp0 Firmware, Siemens 6bk1602-0aa52-0tp0 Firmware and compare its version with the affected versions.
Update to a fixed version
- Update Log4j to 2.3.1, 2.12.2, 2.15.0 or later, on the branch you run.
- Update 6bk1602-0aa12-0tp0 Firmware, 6bk1602-0aa22-0tp0 Firmware, 6bk1602-0aa32-0tp0 Firmware to 2.7.0 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Siemens 6bk1602-0aa12-0tp0 Firmware | < 2.7.0 |
| Siemens 6bk1602-0aa22-0tp0 Firmware | < 2.7.0 |
| Siemens 6bk1602-0aa32-0tp0 Firmware | < 2.7.0 |
| Siemens 6bk1602-0aa42-0tp0 Firmware | < 2.7.0 |
| Siemens 6bk1602-0aa52-0tp0 Firmware | < 2.7.0 |
| Apache Log4j | ≥ 2.0.1, < 2.3.1 · ≥ 2.4.0, < 2.12.2 · ≥ 2.13.0, < 2.15.0 · 2.0 |
| Siemens Sppa-t3000 Ses3000 Firmware | Not specified |
| Siemens Capital | < 2019.1 · 2019.1 |
| Siemens Comos | < 10.4.2 |
| Siemens Desigo Cc Advanced Reports | 3.0 · 4.0 · 4.1 · 4.2 · 5.0 · 5.1 |
| Siemens Desigo Cc Info Center | 5.0 · 5.1 |
| Siemens E-car Operation Center | < 2021-12-13 |
| Siemens Energy Engage | 3.1 |
| Siemens Energyip | 8.5 · 8.6 · 8.7 · 9.0 |
| Siemens Energyip Prepay | < 3.8.0.12 |
| Siemens Gma-manager | < 8.6.2j-398 |
| Siemens Head-end System Universal Device Integration System | Not specified |
| Siemens Industrial Edge Management | Not specified |
| Siemens Industrial Edge Management Hub | < 2021-12-13 |
| Siemens Logo! Soft Comfort | Not specified |
| Siemens Mendix | Not specified |
| Siemens Mindsphere | < 2021-12-16 |
| Siemens Navigator | < 2021-12-13 |
| Siemens Nx | Not specified |
| Siemens Opcenter Intelligence | ≥ 3.2, < 3.5 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2021-44228 being exploited?
Yes. CISA added CVE-2021-44228 to its Known Exploited Vulnerabilities catalog on 10 Dec 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-44228?
CVE-2021-44228 has a CVSS 3.1 base score of 10.0 (critical).
Which versions are affected?
Siemens 6bk1602-0aa12-0tp0 Firmware (< 2.7.0), Siemens 6bk1602-0aa22-0tp0 Firmware (< 2.7.0), Siemens 6bk1602-0aa32-0tp0 Firmware (< 2.7.0), Siemens 6bk1602-0aa42-0tp0 Firmware (< 2.7.0), Siemens 6bk1602-0aa52-0tp0 Firmware (< 2.7.0), Apache Log4j (≥ 2.0.1, < 2.3.1; ≥ 2.4.0, < 2.12.2; ≥ 2.13.0, < 2.15.0; 2.0)
Is there a patch for CVE-2021-44228?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.openwall.com/lists/oss-security/2021/12/10/1(Mailing List, Mitigation, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/12/10/2(Mailing List, Mitigation, Third Party Advisory)
- logging.apache.org/log4j/2.x/security.html(Release Notes, Vendor Advisory)
- msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/(Patch, Third Party Advisory, Vendor Advisory)
- www.oracle.com/security-alerts/cpuapr2022.html(Patch, Third Party Advisory)
- www.oracle.com/security-alerts/cpujan2022.html(Patch, Third Party Advisory)
- packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165270/Apache-Log4j2-2.14.1-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165371/VMware-Security-Advisory-2021-0028.4.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165532/Log4Shell-HTTP-Header-Injection.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165642/VMware-vCenter-Server-Unauthenticated-Log4Shell-JNDI-Injection-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165673/UniFi-Network-Application-Unauthenticated-Log4Shell-Remote-Code-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- seclists.org/fulldisclosure/2022/Dec/2(Exploit, Mailing List, Third Party Advisory)
- github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-44228(Exploit, Third Party Advisory)
- twitter.com/kurtseifried/status/1469345530182455296(Broken Link, Exploit, Third Party Advisory)
- www.nu11secur1ty.com/2021/12/cve-2021-44228.html(Exploit, Third Party Advisory)
- packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html(Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html(Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165281/Log4j2-Log4Shell-Regexes.html(Third Party Advisory, VDB Entry)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.