CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Apache

CVE-2021-4104
Apache Log4j vulnerability

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.

Affected products

Log4j, Fedora, Codeready Studio, Integration Camel K, Integration Camel Quarkus, Jboss A-mq, Jboss A-mq Streaming, Jboss Data Grid, Jboss Data Virtualization, Jboss Enterprise Application Platform and more. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Apache Log4j runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Apache products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.