天天看点

Security Bulletin_Vulnerability in Apache Log4j affects WAS_CVE-2021-44228

Security Bulletin: Vulnerability in Apache Log4j affects WebSphere Application Server (CVE-2021-44228)

Security Bulletin

Summary

There is a vulnerability in the Apache Log4j open source library used by WebSphere Application Server. This affects the WebSphere Application Server Admin Console and the UDDI Registry Application. This vulnerability has been addressed.

Vulnerability Details

CVEID: CVE-2021-44228

DESCRIPTION: Apache Log4j could allow a remote attacker to execute arbitrary code on the system, caused by the failure to protect against attacker controlled LDAP and other JNDI related endpoints by JNDI features. By sending a specially crafted code string, an attacker could exploit this vulnerability to load arbitrary Java code on the server and take complete control of the system. Note: The vulnerability is also called Log4Shell or LogJam.

CVSS Base score: 10

CVSS Temporal Score: See: ​​​https://exchange.xforce.ibmcloud.com/vulnerabilities/214921​​​ for the current score.

CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)

Affected Products and Versions

Affected Product(s) Version(s)

WebSphere Application Server 9.0

WebSphere Application Server 8.5

Remediation/Fixes

The recommended solution is to apply the interim fix as soon as possible.

For WebSphere Application Server traditional:

For V9.0.0.0 through 9.0.5.10:

· Upgrade to minimal fix pack levels as required by interim fix and then apply Interim Fix PH42728

—OR—

· Apply Fix Pack 9.0.5.11 or later (when available).

For V8.5.0.0 through 8.5.5.20:

· Upgrade to minimal fix pack levels as required by interim fix and then apply Interim Fix PH42728

—OR—

· Apply Fix Pack 8.5.5.21 or later (when available).

Additional interim fixes may be available and linked off the interim fix download page.

Required next steps:

1) If the UDDI Registry Application is running on the WebSphere Application Server, then after applying the Interim Fix PH42728, redeploy the UDDI Registry Application.

2) If a copy of “kc.war” has been installed from the installableApps/ directory it must be uninstalled. The “kc.war” will be removed from the installableApps/ directory by the interim fix PH42728.

Additional recommendations:

Follow these additional steps while you are assessing your enterprise applications for log4j2 usage:

  1. Recommended: Update the IBM® SDK, Java™ Technology Edition maintenance to the latest recommended fix pack, or a minimum of 8.0.4.5, 7.1.4.5, or 7.0.10.5. You can get the latest IBM Java fix pack for WebSphere here:​​https://www.ibm.com/support/pages/node/587245​​​ (9.0) &​​https://www.ibm.com/support/pages/node/6209712​​ (8.5)
  2. Set the JVM system property “-Dlog4j2.formatMsgNoLookups=true”

    • For information on setting custom JVM properties in WebSphere Application Server, see​​​https://www.youtube.com/watch?v=ne0UdrxWux4​​​• After setting the JVM system property, restart the application server.

    Note: WebSphere Application Server 7.0 and 8.0 reached End of Support on April 30, 2018 and the embedded IBM Java SDK is no longer receiving security updates. Current information is that the version of log4j included in WebSphere Application Server 7.0 and 8.0 is not impacted by CVE-2021-44228. IBM recommends all users running 7.0 and 8.0 upgrade to 8.5.5, 9.0 or WebSphere Liberty.

    Workarounds and Mitigations

    For WebSphere Application Server v9.0 and V8.5:

    If the interim fixes in PH42728 cannot be applied immediately, then follow the temporary mitigation steps below:

  3. Recommended: Update the IBM® SDK, Java™ Technology Edition maintenance to the latest recommended fix pack, or a minimum of 8.0.4.5, 7.1.4.5, or 7.0.10.5. You can get the latest IBM Java fix pack for WebSphere here:​​https://www.ibm.com/support/pages/node/587245​​​ (9.0) &​​https://www.ibm.com/support/pages/node/6209712​​ (8.5)
  4. For WebSphere Application Server v9.0 only: Remove

    /systemApps/isclite.ear/kc.war/WEB-INF/lib/log4j*.jar from any system running the WebSphere admin console

    • The files will need to be removed again if fixpacks are applied prior to PH42728 being installed.

    • After removing the files, restart the application server running the Admin Console.

  5. Set the JVM system property “-Dlog4j2.formatMsgNoLookups=true”

    • For information on setting custom JVM properties in WebSphere Application Server, see​​​https://www.youtube.com/watch?v=ne0UdrxWux4​​• After setting the JVM system property, restart the application server.

  6. If a copy of “kc.war” has been installed from the installableApps/ directory it must be uninstalled. The “kc.war” will be removed from the installableApps/ directory by the interim fix PH42728.

继续阅读