Skip to main content
← All vulnerabilities
CVE-2021-4104GHSA-FP5R-V3W9-4333

Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2

Published
Last modified
published
Not listed in CISA KEV
3 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Apache Software Foundation Apache Log4j 1.x

    Apache Log4j 1.2 1.2.x

  • log4j:log4jMaven

    From 1.2.0 · through 1.2.17

  • org.zenframework.z8.dependencies.commons:log4j-1.2.17Maven

    through 2.0

References 17

cve.org

GitHub · apache/logging-log4j2

access.redhat.com

kb.cert.org

openwall.com

oracle.com

psirt.global.sonicwall.com

security.netapp.com

security.gentoo.org

GitHub · cckuailong/log4shell_1.x

GitHub · cuijiung/log4j-CVE-2021-4104

GitHub · open-AIMS/log4j