1. CVE archive
  2. 2015
  3. CVE-2015-3152

CVE-2015-3152

5.9 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N 5.9 – Medium

Description

Oracle MySQL before 5.7.3, Oracle MySQL Connector/C (aka libmysqlclient) before 6.1.3, and MariaDB before 5.5.44 use the --ssl option to mean that SSL is optional, which allows man-in-the-middle attackers to spoof servers via a cleartext-downgrade attack, aka a "BACKRONYM" attack.

Affected products

VendorProductVersionPlatform
debian debian linux 8.0 –
fedoraproject fedora 21 –
fedoraproject fedora 22 –
mariadb mariadb >= 5.5.0 < 5.5.44 –
mariadb mariadb >= 10.0.0 < 10.0.20 –
oracle mysql <= 5.7.2 –
oracle mysql connector/c <= 6.1.2 –
php php >= 5.4.0 < 5.4.43 –
php php >= 5.5.0 < 5.5.27 –
php php >= 5.6.0 < 5.6.11 –
redhat enterprise linux desktop 7.0 –
redhat enterprise linux eus 7.1 –
redhat enterprise linux eus 7.2 –
redhat enterprise linux eus 7.3 –
redhat enterprise linux eus 7.4 –
redhat enterprise linux eus 7.5 –
redhat enterprise linux eus 7.6 –
redhat enterprise linux eus 7.7 –
redhat enterprise linux server 7.0 –
redhat enterprise linux server aus 7.3 –
redhat enterprise linux server aus 7.4 –
redhat enterprise linux server aus 7.6 –
redhat enterprise linux server aus 7.7 –
redhat enterprise linux server tus 7.3 –
redhat enterprise linux server tus 7.6 –
redhat enterprise linux server tus 7.7 –
redhat enterprise linux workstation 7.0 –
All 435 Mariadb vulnerabilities
All 1,328 Oracle Mysql vulnerabilities

Vulnerability type

CWE-295 Improper Certificate Validation

The product does not validate, or incorrectly validates, a certificate.

Impact on systems

ScopeImpact
Integrity, Authentication Bypass Protection Mechanism, Gain Privileges or Assume Identity
When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The product might connect to a malicious host while believing it is a trusted host, or the product might be deceived into accepting spoofed data that appears to originate from a trusted host.

How to prevent it

Architecture and Design · Implementation Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
Implementation If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.

All 1,816 CWE-295 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org