IBM Support

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

Security Bulletin


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:
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:
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:
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:
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

Get Notified about Future Security Bulletins

References

Off

Review this information as needed, no action required.

Change History

17 Aug 2022: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer

Review the IBM security bulletin disclaimer and definitions regarding your responsibilities for assessing potential impact of security vulnerabilities to your environment.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvzhAAA","label":"Security"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"ARM Category":[],"Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions"}]

Document Information

Modified date:
19 August 2022

UID

ibm16613431