CVE Vulnerabilities

CVE-2019-1559

Observable Discrepancy

Published: Feb 27, 2019 | Modified: Nov 07, 2023
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
5.9 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

If an application encounters a fatal protocol error and then calls SSL_shutdown() twice (once to send a close_notify, and once to receive one) then OpenSSL can respond differently to the calling application if a 0 byte record is received with invalid padding compared to if a 0 byte record is received with an invalid MAC. If the application then behaves differently based on that in a way that is detectable to the remote peer, then this amounts to a padding oracle that could be used to decrypt data. In order for this to be exploitable non-stitched ciphersuites must be in use. Stitched ciphersuites are optimised implementations of certain commonly used ciphersuites. Also the application must call SSL_shutdown() twice even if a protocol error has occurred (applications should not do this but some do anyway). Fixed in OpenSSL 1.0.2r (Affected 1.0.2-1.0.2q).

Weakness

The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor, which exposes security-relevant information about the state of the product, such as whether a particular operation was successful or not.

Affected Software

Name Vendor Start Version End Version
Openssl Openssl 1.0.2 (including) 1.0.2r (excluding)
Red Hat Ansible Tower 3.4 for RHEL 7 RedHat ansible-tower-34/ansible-tower-memcached:1.4.15-28 *
Red Hat Ansible Tower 3.4 for RHEL 7 RedHat ansible-tower-35/ansible-tower-memcached:1.4.15-28 *
Red Hat Ansible Tower 3.4 for RHEL 7 RedHat ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28 *
Red Hat Enterprise Linux 6 RedHat openssl-0:1.0.1e-58.el6_10 *
Red Hat Enterprise Linux 7 RedHat openssl-1:1.0.2k-19.el7 *
Red Hat JBoss Web Server 5 RedHat openssl *
Red Hat JBoss Web Server 5.2 on RHEL 6 RedHat jws5-ecj-0:4.12.0-1.redhat_1.1.el6jws *
Red Hat JBoss Web Server 5.2 on RHEL 6 RedHat jws5-javapackages-tools-0:3.4.1-5.15.11.el6jws *
Red Hat JBoss Web Server 5.2 on RHEL 6 RedHat jws5-jboss-logging-0:3.3.2-1.Final_redhat_00001.1.el6jws *
Red Hat JBoss Web Server 5.2 on RHEL 6 RedHat jws5-mod_cluster-0:1.4.1-1.Final_redhat_00001.2.el6jws *
Red Hat JBoss Web Server 5.2 on RHEL 6 RedHat jws5-tomcat-0:9.0.21-10.redhat_4.1.el6jws *
Red Hat JBoss Web Server 5.2 on RHEL 6 RedHat jws5-tomcat-native-0:1.2.21-34.redhat_34.el6jws *
Red Hat JBoss Web Server 5.2 on RHEL 6 RedHat jws5-tomcat-vault-0:1.1.8-1.Final_redhat_1.1.el6jws *
Red Hat JBoss Web Server 5.2 on RHEL 7 RedHat jws5-ecj-0:4.12.0-1.redhat_1.1.el7jws *
Red Hat JBoss Web Server 5.2 on RHEL 7 RedHat jws5-javapackages-tools-0:3.4.1-5.15.11.el7jws *
Red Hat JBoss Web Server 5.2 on RHEL 7 RedHat jws5-jboss-logging-0:3.3.2-1.Final_redhat_00001.1.el7jws *
Red Hat JBoss Web Server 5.2 on RHEL 7 RedHat jws5-mod_cluster-0:1.4.1-1.Final_redhat_00001.2.el7jws *
Red Hat JBoss Web Server 5.2 on RHEL 7 RedHat jws5-tomcat-0:9.0.21-10.redhat_4.1.el7jws *
Red Hat JBoss Web Server 5.2 on RHEL 7 RedHat jws5-tomcat-native-0:1.2.21-34.redhat_34.el7jws *
Red Hat JBoss Web Server 5.2 on RHEL 7 RedHat jws5-tomcat-vault-0:1.1.8-1.Final_redhat_1.1.el7jws *
Red Hat JBoss Web Server 5.2 on RHEL 8 RedHat jws5-ecj-0:4.12.0-1.redhat_1.1.el8jws *
Red Hat JBoss Web Server 5.2 on RHEL 8 RedHat jws5-javapackages-tools-0:3.4.1-5.15.11.el8jws *
Red Hat JBoss Web Server 5.2 on RHEL 8 RedHat jws5-jboss-logging-0:3.3.2-1.Final_redhat_00001.1.el8jws *
Red Hat JBoss Web Server 5.2 on RHEL 8 RedHat jws5-mod_cluster-0:1.4.1-1.Final_redhat_00001.2.el8jws *
Red Hat JBoss Web Server 5.2 on RHEL 8 RedHat jws5-tomcat-0:9.0.21-10.redhat_4.1.el8jws *
Red Hat JBoss Web Server 5.2 on RHEL 8 RedHat jws5-tomcat-native-0:1.2.21-34.redhat_34.el8jws *
Red Hat JBoss Web Server 5.2 on RHEL 8 RedHat jws5-tomcat-vault-0:1.1.8-1.Final_redhat_1.1.el8jws *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat imgbased-0:1.1.9-0.1.el7ev *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat ovirt-node-ng-0:4.3.5-0.20190717.0.el7ev *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat redhat-release-virtualization-host-0:4.3.5-2.el7ev *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat redhat-virtualization-host-0:4.3.5-20190722.0.el7_7 *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat rhvm-appliance-0:4.3-20190722.0.el7 *
Openssl Ubuntu trusty *
Openssl Ubuntu trusty/esm *
Openssl Ubuntu xenial *
Openssl098 Ubuntu trusty *
Openssl1.0 Ubuntu bionic *
Openssl1.0 Ubuntu cosmic *

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
  • Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success.
  • If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files.
  • Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not.

References