Skip to content
RedCVE

CVE-2021-44228Apache Log4j2 Remote Code Execution Vulnerability

ExploitedRansomwareSiemensApachePublished:

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

  1. 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.
  2. 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.

  3. 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.
  4. 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.

  5. 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 productsVersions
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 FirmwareNot specified
Siemens Capital< 2019.1 · 2019.1
Siemens Comos< 10.4.2
Siemens Desigo Cc Advanced Reports3.0 · 4.0 · 4.1 · 4.2 · 5.0 · 5.1
Siemens Desigo Cc Info Center5.0 · 5.1
Siemens E-car Operation Center< 2021-12-13
Siemens Energy Engage3.1
Siemens Energyip8.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 SystemNot specified
Siemens Industrial Edge ManagementNot specified
Siemens Industrial Edge Management Hub< 2021-12-13
Siemens Logo! Soft ComfortNot specified
Siemens MendixNot specified
Siemens Mindsphere< 2021-12-16
Siemens Navigator< 2021-12-13
Siemens NxNot specified
Siemens Opcenter Intelligence≥ 3.2, < 3.5

Weakness

  • CWE-20 improper input validation
  • CWE-400 uncontrolled resource consumption
  • CWE-502 deserialization of untrusted data
  • CWE-917 expression language injection

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. 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

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.