WebLogic Log4j vulnerability Security
In response to Security Alert
CVE-2021-44228, Oracle has released patches for Oracle Middleware products.
Products Apply to:
Oracle WebLogic Server - Version 12.2.1.3.0 to 14.1.1.0.0
Oracle Fusion Middleware - Version 12.2.1.3.0 to
12.2.1.4.0
Information in this document applies to any platform.
- Applies to any product installed with the FMW
Infrastructure
- Applies to OHS, OID, and OUD standalone homes
WebLogic Server Installed Log4j Files
WebLogic uses log4j.jar or log4j_2.11.1.0.0 version 2.
Location to find the jar file –
$ORACLE_HOME/ oracle_common/modules/thirdparty/features
Oracle Recommendation:
Apply the Oracle WebLogic Server patch to upgrade the
Apache Log4j version 2 libraries.
Security Alert CVE-2021-44228 / CVE-2021-45046 Patch
Availability Document for Oracle WebLogic Server and Fusion Middleware (Doc ID
2827793.1)
Apply these patches in sequence:
In this example, we are applying patches for Oracle WebLogic
version 12.2.1.4
Upgrade the OPatch version to the latest 13.9.4.2.7
Download the Patch p28186730_139427_Generic.zip
Unzip the patch
export ORACLE_HOME=/u01/app/oracle/product/12.2.1.4/Middleware/Oracle_Home
export JAVA_HOME=/u01/app/oracle/jdk1.8.0_311
export PATH=$JAVA_HOME/bin:$PATH
cd 6880880
[oracle@WLS-RHEL8 6880880]$ java -jar opatch_generic.jar
This patch is the pre-requisite patch, and this is recommended
to apply this patch otherwise node manager will not start properly.
[oracle@WLS-RHEL8 33416868]$ ls
etc files README.html
README.txt
[oracle@WLS-RHEL8 33416868]$ opatch apply
Oracle Interim Patch Installer version 13.9.4.2.7
Copyright (c) 2022, Oracle Corporation. All rights reserved.
Oracle Home :
/u01/app/oracle/product/12.2.1.4/Middleware/
Patching component oracle.wls.core.app.server,
12.2.1.4.0...
Patch 33416868 was successfully applied.
Log file location:
/u01/app/oracle/product/12.2.1.4/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2022-01-05_05-06-05AM_1.log
OPatch succeeded.
oracle@WLS-RHEL8 33416868]$ ls
etc files README.html
README.txt
[oracle@WLS-RHEL8 33416868]$ opatch apply
Oracle Interim Patch Installer version 13.9.4.2.7
Copyright (c) 2022, Oracle Corporation. All rights reserved.
Oracle Home :
/u01/app/oracle/product/12.2.1.4/Middleware/
Patching component oracle.wls.core.app.server,
12.2.1.4.0...
Patch 33416868 was successfully applied.
Log file location:
/u01/app/oracle/product/12.2.1.4/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2022-01-05_05-06-05AM_1.log
OPatch succeeded.
4. WLS OVERLAY PATCH FOR 12.2.1.4.0 OCT 2021 PSU (Patch 33691226) for CVE-2021-44228, CVE-2021-45046, CVE-2021-45105
oracle@WLS-RHEL8 software]$ cd 33691226/
[oracle@WLS-RHEL8 33691226]$ ls
etc files README.txt
[oracle@WLS-RHEL8 33691226]$ opatch apply
Patching component oracle.log4j.log4j, 2.11.1.0.0...
Patch 33691226 successfully applied.
Log file location: /u01/app/oracle/product/12.2.1.4/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2022-01-05_05-13-21AM_1.log
OPatch succeeded.
5.
Confirm the opatches
./opatch lspatches
1 comment:
Useful document
Post a Comment