Skip to main content
Kofax

log4j vulnerability in Kofax Communications Manager

Article # 3036994 - Page views: 1871

Issue

CVE-2021-44228 was discovered on 2021-12-10, this affects all installations of KCM 5.3, 5.4 and 5.5. 

For KCM 5.3, only Designer for Web is affected, while for KCM 5.4 and 5.5, the Contract Manager and Designer for Web both are affected.

CVE-2021-4104 was discovered on 2021-12-14

CVE-2021-45046 was discovered on 2021-12-15.

CVE-2021-45105 was discovered on 2021-12-16.

These CVE's do not affect KCM.

Cause

The Apache Log4j2 RCE vulnerability CVE-2021-44228 allows to execute remote code via Log4j's JNDI API and is ranked as a critical vulnerability.

The Apache Log4j2 vulnerability CVE-2021-45046 and CVE-2021-45105 allow a denial of service (DOS) attack when a non-default Pattern Layout is used in the log4j configuration files. This does not apply to KCM.

Solution

A fix is available for all affected versions of KCM. The fix can be downloaded via this link: KCM-5.5.0.0.FIX16646.zip.

The below steps are not required anymore. Instead of applying the below mitigation steps, apply the above fix. The mitigations can be safely removed after applying the above fix.

Mitigation Steps

We suggest all customer to use one of the following ways to mitigate the issue:

  • Change the configuration value log4j2.formatMsgNoLookups to true or
  • Change the environment variable LOG4J_FORMAT_MSG_NO_LOOKUPS to true.

 

To change the config value log4j2.formatMsgNoLookups:

  1. Open elevated command prompt and run in the bin folder of Tomcat, tomcat<version>w.exe to open the configuration of the KCM Runtime instance.
    For example for Tomcat 9:
       <Tomcat>\bin\Tomcat9w.exe //ES/<Tomcat instance name>
    To retrieve the Tomcat instance name, open services.msc and open the properties of the KCM Apache Tomcat service and check the service name (not the display name). When the properties of a service are opened, the service name is already selected. Example:
       C:\Program Files\Apache Software Foundation\Tomcat 9.0\bin\Tomcat9w.exe //ES/Tomcat-KCMRuntime-5.5
    1.png

    For KCM 5.3, you only need to change service Tomcat-WebDesigner-5.3
    For KCM 5.4, you need to change Tomcat-WebDesigner-5.4 and Tomcat-CCMRuntime-5.4
    For KCM 5.5, you need to change Tomcat-KCMComposer-5.5, Tomcat-KCMRegistration-5.5, Tomcat-KCMRuntime-5.5Tomcat-KCMDesigner-5.5  and Tomcat-KCMLogServer-5.5.
  2. On the tab Java, under Java options add the line
      -Dlog4j2.formatMsgNoLookups=true
  3. Click Apply and click Ok to close the program. Restart the Tomcat service.

 

To edit the environment variable:

  1. Open a command prompt and run 
    rundll32.exe sysdm.cpl,EditEnvironmentVariables
  2. Under System Variables, add a new variable called "LOG4J_FORMAT_MSG_NO_LOOKUPS" and set its value to "TRUE"
    2.jpg
  3. Click OK, and restart the KCM Tomcat Services.

Level of Complexity 

High

 

Applies to  

Product Version Build Environment Hardware
Kofax Communications Manager 5.3, 5.4 and 5.5 n/a n/a n/a

References

More details can be found on the Apache website: https://logging.apache.org/log4j/2.x/security.html

 

  • Was this article helpful?