Lucene search

K
ibmIBM2BD451F728498A459873394799F530D4D51F43311EBB3F67033751E1E24230B4
HistoryAug 19, 2022 - 4:02 p.m.

Security Bulletin: AIX is vulnerable to arbitrary command execution (CVE-2022-1292 and CVE-2022-2068) or an attacker may obtain sensitive information (CVE-2022-2097) due to OpenSSL

2022-08-1916:02:33
www.ibm.com
261
aix
vulnerability
arbitrary command execution
sensitive information
openssl

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

8.9

Confidence

High

EPSS

0.123

Percentile

95.5%

Summary

A vulnerability in OpenSSL could allow a remote attacker to execute arbitrary commands (CVE-2022-1292 and CVE-2022-2068) or obtain sensitive information (CVE-2022-2097). OpenSSL is used by AIX as part of AIX’s secure network communications.

Vulnerability Details

**CVEID:**CVE-2022-2097 DESCRIPTION: OpenSSL could allow a remote attacker to obtain sensitive information, caused by improper encryption of data by the AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimised implementation. By sending a specially-crafted request, an attacker could exploit this vulnerability to obtain sensitive information, and use this information to launch further attacks against the affected system.
CVSS Base score: 5.3
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/230425 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)

**CVEID:**CVE-2022-2068 DESCRIPTION: OpenSSL could allow a remote attacker to execute arbitrary commands on the system, caused by improper validation of user-supplied input by the c_rehash script. By sending a specially-crafted request using shell metacharacters, an attacker could exploit this vulnerability to execute arbitrary commands with the privileges of the script on the system.
CVSS Base score: 7.3
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/226018 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)

**CVEID:**CVE-2022-1292 DESCRIPTION: OpenSSL could allow a remote authenticated attacker to execute arbitrary commands on the system, caused by improper validation of user-supplied input by the c_rehash script. By sending a specially-crafted request using shell metacharacters, an attacker could exploit this vulnerability to execute arbitrary commands with the privileges of the script on the system.
CVSS Base score: 6.3
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/225619 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)

Affected Products and Versions

Affected Product(s) Version(s)
AIX 7.1
AIX 7.2
AIX 7.3
VIOS 3.1

The following fileset levels are vulnerable:

Fileset Lower Level Upper Level
openssl.base 1.0.2.500 1.0.2.2104
openssl.base 1.1.1.0 1.1.1.1201
openssl.base 1.1.2.0 1.1.2.1201
openssl.base 20.13.102.1000 20.16.102.2105

Note:

A. 0.9.8, 1.0.1 OpenSSL versions are out-of-support. Customers are advised to upgrade to currently supported OpenSSL 1.0.2 or 1.1.1 version.

B. Latest level of OpenSSL fileset is available from the web download site:

https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp&S_PKG=openssl

C. CVE-2022-2097 only applies to OpenSSL 1.1.1 version.

To find out whether the affected filesets are installed on your systems, refer to the lslpp command found in the AIX user’s guide.

Example: lslpp -L | grep -i openssl.base

Remediation/Fixes

A. FIXES

IBM strongly recommends addressing the vulnerability now.

The fixes can be downloaded via ftp or http from:

ftp://aix.software.ibm.com/aix/efixes/security/openssl_fix36.tar

http://aix.software.ibm.com/aix/efixes/security/openssl_fix36.tar

https://aix.software.ibm.com/aix/efixes/security/openssl_fix36.tar

The links above are to a tar file containing this signed advisory, fix packages, and OpenSSL signatures for each package. The fixes below include prerequisite checking. This will enforce the correct mapping between the fixes and AIX Technology Levels.

Note that the tar file contains Interim fixes that are based on OpenSSL version, and AIX OpenSSL fixes are cumulative. If an OpenSSL fileset with VMRF higher than the affected level listed above is available from the web download site, then that fileset is the recommended remediation. The OpenSSL 1.0.2 version shared objects provided in the library of OpenSSL 1.1.1 version is remediated.

Applying the fix addresses all OpenSSL vulnerabilities reported up to and including community OpenSSL versions 1.0.2zf and 1.1.1q.

You must be on the ‘prereq for installation’ level before applying the interim fix. This may require installing a new level(prereq version) first.

AIX Level Interim Fix Fileset Name(prereq for installation)
7.1, 7.2, 7.3 1022104a.220804.epkg.Z openssl.base(1.0.2.2104)
7.1, 7.2, 7.3 1111201a.220804.epkg.Z openssl.base(1.1.1.1201)
7.1, 7.2, 7.3 1121201a.220804.epkg.Z openssl.base(1.1.2.1201)
7.1, 7.2, 7.3 fips2105a.220804.epkg.Z openssl.base(20.16.102.2105)
VIOS Level Interim Fix Fileset Name(prereq for installation)
3.1.x 1022104a.220804.epkg.Z openssl.base(1.0.2.2104)
3.1.x 1111201a.220804.epkg.Z openssl.base(1.1.1.1201)
3.1.x 1121201a.220804.epkg.Z openssl.base(1.1.2.1201)
3.1.x fips2105a.220804.epkg.Z openssl.base(20.16.102.2105)

To extract the fixes from the tar file:

tar xvf openssl_fix36.tar

cd openssl_fix36

Verify you have retrieved the fixes intact:

The checksums below were generated using the “openssl dgst -sha256 [file]” command as the following:

openssl dgst -sha256 filename
63ca3a57ce6621127bf11e51016d0c4f794d5c6ec89e42361b6ee0afa2058007 1022104a.220804.epkg.Z
53a7ed673ddeb7733cba3ca332d66b0f65289321c7e6954ee516cf90cc28516e 1111201a.220804.epkg.Z
b68d1b147b0937186ef40c58d30a1668dd2f84f8b651d9b2d84e41980cca60f7 1121201a.220804.epkg.Z
a6a02a949be43b8ca5bcff4e25f4585482887d8320b46f0d05b54a54a1af4654 fips2105a.220804.epkg.Z

These sums should match exactly. The OpenSSL signatures in the tar file and on this advisory can also be used to verify the integrity of the fixes. If the sums or signatures cannot be confirmed, contact IBM AIX Support at https://ibm.com/support/ and describe the discrepancy.

openssl dgst -sha256 -verify [pubkey_file] -signature [advisory_file].sig [advisory_file]

openssl dgst -sha256 -verify [pubkey_file] -signature [ifix_file].sig [ifix_file]

Published advisory OpenSSL signature file location:

http://aix.software.ibm.com/aix/efixes/security/openssl_advisory36.asc.sig

https://aix.software.ibm.com/aix/efixes/security/openssl_advisory36.asc.sig

ftp://aix.software.ibm.com/aix/efixes/security/openssl_advisory36.asc.sig

B. FIX AND INTERIM FIX INSTALLATION

Interim fixes have had limited functional and regression

testing but not the full regression testing that takes place

for Service Packs; however, IBM does fully support them.

Interim fix management documentation can be found at:

http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html

To preview an interim fix installation:

emgr -e ipkg_name -p # where ipkg_name is the name of the

interim fix package being previewed.

To install an interim fix package:

emgr -e ipkg_name -X # where ipkg_name is the name of the

interim fix package being installed.

Workarounds and Mitigations

None

Affected configurations

Vulners
Node
ibmaixMatchany
OR
ibmpowervm_virtual_i\/o_serverMatchany
VendorProductVersionCPE
ibmaixanycpe:2.3:o:ibm:aix:any:*:*:*:*:*:*:*
ibmpowervm_virtual_i\/o_serveranycpe:2.3:a:ibm:powervm_virtual_i\/o_server:any:*:*:*:*:*:*:*

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

8.9

Confidence

High

EPSS

0.123

Percentile

95.5%