Skip to content

CVE-2022-1434 Incorrect MAC key used in the RC4-MD5 ciphersuite

MediumCVSS 5.9 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
Technology
OpenSSLUbuntuDebian

Description

The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the AAD data as the MAC key. This makes the MAC key trivially predictable. An attacker could exploit this issue by performing a man-in-the-middle attack to modify data being sent from one endpoint to an OpenSSL 3.0 recipient such that the modified data would still pass the MAC integrity check. Note that data sent from an OpenSSL 3.0 endpoint to a non-OpenSSL 3.0 endpoint will always be rejected by the recipient and the connection will fail at that point. Many application protocols require data to be sent from the client to the server first. Therefore, in such a case, only an OpenSSL 3.0 server would be impacted when talking to a non-OpenSSL 3.0 client. If both endpoints are OpenSSL 3.0 then the attacker could modify data being sent in both directions. In this case both clients and servers could be affected, regardless of the application protocol. Note that in the absence of an attacker this bug means that an OpenSSL 3.0 endpoint communicating with a non-OpenSSL 3.0 endpoint will fail to complete the handshake when using this ciphersuite. The confidentiality of data is not impacted by this issue, i.e. an attacker cannot decrypt data that has been encrypted using this ciphersuite - they can only modify it. In order for this attack to work both endpoints must legitimately negotiate the RC4-MD5 ciphersuite. This ciphersuite is not compiled by default in OpenSSL 3.0, and is not available within the default provider or the default ciphersuite list. This ciphersuite will never be used if TLSv1.3 has been negotiated. In order for an OpenSSL 3.0 endpoint to use this ciphersuite the following must have occurred: 1) OpenSSL must have been compiled with the (non-default) compile time option enable-weak-ssl-ciphers 2) OpenSSL must have had the legacy provider explicitly loaded (either through application code or via configuration) 3) The ciphersuite must have been explicitly added to the ciphersuite list 4) The libssl security level must have been set to 0 (default is 1) 5) A version of SSL/TLS below TLSv1.3 must have been negotiated 6) Both endpoints must negotiate the RC4-MD5 ciphersuite in preference to any others that both endpoints have in common Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Upgrade path

43 packages: 17 fixed, 26 with no fix yet.

PackageAffectedFixed inStatus
netapp a250 firmware All versions No fix listed No fix yet
netapp a700s firmware All versions No fix listed No fix yet
netapp active iq unified manager All versions No fix listed No fix yet
netapp aff 500f firmware All versions No fix listed No fix yet
netapp aff 8300 firmware All versions No fix listed No fix yet
netapp aff 8700 firmware All versions No fix listed No fix yet
netapp aff a400 firmware All versions No fix listed No fix yet
netapp clustered data ontap All versions No fix listed No fix yet
netapp clustered data ontap antivirus connector All versions No fix listed No fix yet
netapp fabric-attached storage a400 firmware All versions No fix listed No fix yet
netapp fas 500f firmware All versions No fix listed No fix yet
netapp fas 8300 firmware All versions No fix listed No fix yet
netapp fas 8700 firmware All versions No fix listed No fix yet
netapp h300e firmware All versions No fix listed No fix yet
netapp h300s firmware All versions No fix listed No fix yet
netapp h410s firmware All versions No fix listed No fix yet
netapp h500e firmware All versions No fix listed No fix yet
netapp h500s firmware All versions No fix listed No fix yet
netapp h700e firmware All versions No fix listed No fix yet
netapp h700s firmware All versions No fix listed No fix yet
netapp santricity smi-s provider All versions No fix listed No fix yet
netapp smi-s provider All versions No fix listed No fix yet
netapp snapmanager All versions No fix listed No fix yet
netapp solidfire enterprise sds hci storage node All versions No fix listed No fix yet
netapp solidfire hci management node All versions No fix listed No fix yet
ubuntu/edk2(Ubuntu Pro 16.04) = 0~20150106.5c2d456b-2; = 0~20160104.c2a892d7-1; = 0~20160408.ffea0a2c-2; = 0~20160408.ffea0a2c-2ubuntu0.1 +5 more No fix listed No fix yet
alpine/openssl(Alpine v3.17) >= 3.0.0, < 3.0.3-r0 3.0.3-r0 Fixed
alpine/openssl(Alpine v3.18) >= 3.0.0, < 3.0.3-r0 3.0.3-r0 Fixed
alpine/openssl(Alpine v3.19) >= 3.0.0, < 3.0.3-r0 3.0.3-r0 Fixed
alpine/openssl(Alpine v3.20) >= 3.0.0, < 3.0.3-r0 3.0.3-r0 Fixed

… and 13 more packages.

Affected products

ProductAffected versionsFixed in
crates.io openssl-src(crates.io) >= 300.0.0, < 300.0.6 300.0.6
OpenSSL = Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2) No fix listed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem < V1.1 V1.1
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
ubuntu/openssl(Ubuntu:22.04) < 3.0.2-0ubuntu1.1 3.0.2-0ubuntu1.1
OpenSSL >= 3.0.0, < 3.0.3 3.0.3
netapp active iq unified manager All versions No fix listed
netapp clustered data ontap All versions No fix listed
netapp clustered data ontap antivirus connector All versions No fix listed
netapp santricity smi-s provider All versions No fix listed
netapp smi-s provider All versions No fix listed
netapp snapmanager All versions No fix listed
netapp solidfire enterprise sds hci storage node All versions No fix listed
netapp solidfire hci management node All versions No fix listed
netapp a700s firmware All versions No fix listed
netapp h300s firmware All versions No fix listed
netapp h500s firmware All versions No fix listed
netapp h700s firmware All versions No fix listed
netapp h300e firmware All versions No fix listed
netapp h500e firmware All versions No fix listed
netapp h700e firmware All versions No fix listed
netapp h410s firmware All versions No fix listed
netapp aff 8300 firmware All versions No fix listed
Show 31 more
ProductAffected versionsFixed in
netapp fas 8300 firmware All versions No fix listed
netapp aff 8700 firmware All versions No fix listed
netapp fas 8700 firmware All versions No fix listed
netapp aff a400 firmware All versions No fix listed
netapp fabric-attached storage a400 firmware All versions No fix listed
netapp a250 firmware All versions No fix listed
netapp aff 500f firmware All versions No fix listed
netapp fas 500f firmware All versions No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) = 0~20150106.5c2d456b-2 No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) = 0~20160104.c2a892d7-1 No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) = 0~20160408.ffea0a2c-2 No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) = 0~20160408.ffea0a2c-2ubuntu0.1 No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) = 0~20160408.ffea0a2c-2ubuntu0.2 No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) = 0~20160408.ffea0a2c-2ubuntu0.2+esm1 No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) = 0~20160408.ffea0a2c-2ubuntu0.2+esm3 No fix listed
ubuntu/edk2(Ubuntu:Pro:16.04) = 0~20160408.ffea0a2c-2ubuntu0.2+esm4 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 1.1.1l-1ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.0-1ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.1-0ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1 No fix listed
alpine/openssl(Alpine:v3.17) >= 3.0.0, < 3.0.3-r0 3.0.3-r0
alpine/openssl(Alpine:v3.18) >= 3.0.0, < 3.0.3-r0 3.0.3-r0
alpine/openssl(Alpine:v3.19) >= 3.0.0, < 3.0.3-r0 3.0.3-r0
alpine/openssl(Alpine:v3.20) >= 3.0.0, < 3.0.3-r0 3.0.3-r0
alpine/openssl(Alpine:v3.21) >= 3.0.0, < 3.0.3-r0 3.0.3-r0
alpine/openssl(Alpine:v3.22) >= 3.0.0, < 3.0.3-r0 3.0.3-r0
alpine/openssl(Alpine:v3.23) >= 3.0.0, < 3.0.3-r0 3.0.3-r0
alpine/openssl(Alpine:v3.24) >= 3.0.0, < 3.0.3-r0 3.0.3-r0
alpine/openssl3(Alpine:v3.15) < 3.0.3-r0 3.0.3-r0
alpine/openssl3(Alpine:v3.16) < 3.0.3-r0 3.0.3-r0

References