Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2021-4104: Security patch for log4j (ALAS-2022-1739)

Back to Search

Amazon Linux AMI 2: CVE-2021-4104: Security patch for log4j (ALAS-2022-1739)

Severity
6
CVSS
(AV:N/AC:M/Au:S/C:P/I:P/A:P)
Published
12/14/2021
Created
07/16/2022
Added
07/04/2022
Modified
07/14/2022

Description

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.

Solution(s)

  • amazon-linux-ami-2-upgrade-log4j
  • amazon-linux-ami-2-upgrade-log4j-javadoc
  • amazon-linux-ami-2-upgrade-log4j-manual

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;