SECURITY ADVISORY: CVE-2021-44228 - LOG4J VULNERABILITY AND BROADCOM CA App Synthetic Monitor (ASM)
19836
16 December 2021
15 December 2021
OPEN
Critical
CVE-2021-44228
Security Advisory: CVE-2021-44228 and CVE-2021-45046 - log4j vulnerability and Broadcom/CA App Synthetic Monitor (ASM)
Lasted Updated On: 12-15-2021
Products Affected:
- App Synthetic Montor (ASM)
Description:
CVE-2021-44228
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228
Apache Log4j2 <=2.14.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. In previous releases (>2.10) this behavior can be mitigated by setting system property "log4j2.formatMsgNoLookups" to “true” or by removing the JndiLookup class from the classpath (example: zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class). Java 8u121 (see https://www.oracle.com/java/technologies/javase/8u121-relnotes.html) protects against remote code execution by defaulting "com.sun.jndi.rmi.object.trustURLCodebase" and "com.sun.jndi.cosnaming.object.trustURLCodebase" to "false".
CVE-2021-45046
https://nvd.nist.gov/vuln/detail/CVE-2021-45046
It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in a denial of service (DOS) attack. Log4j 2.15.0 restricts JNDI LDAP lookups to localhost by default. Note that previous mitigations involving configuration such as to set the system property `log4j2.noFormatMsgLookup` to `true` do NOT mitigate this specific vulnerability. Log4j 2.16.0 fixes this issue by removing support for message lookup patterns and disabling JNDI functionality by default. This issue can be mitigated in prior releases (<2.16.0) by removing the JndiLookup class from the classpath (example: zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class).
Environment
- App Synthetic Monitor (ASM)
- App Synthetic Montior On-Premise Monitoring Stations (OPMS)
Resolution
- Broadcom Engineering has confirmed that the current release of ASM in SaaS version 10.7.8 released on December 16th 2021 is not affected by this CVE.
- Broadcom Engineering has confirmed that the previous releases of the ASM OPMS software prior to 10.7.8 is affected by this CVE. We enourage our customers to upgrade their OPMS software available on the ASM website as soon as possible to mitigate this CVE.
Should you have any further questions or concerns, please open a case with Broadcom Support.