CVE-2017-3305: Medium severity Oracle MySQL vulnerability

Published Mar 13, 2017
·
Updated

It was found that MySQL client when specified to use SSL/TLS mode is authenticating to MySQL server not supporting SSL/TLS, client will fallback to plain text protocol used for authentication. After successful authentication client checks if SSL/TLS layer is required and if server doesn't support it, client will close the connection with error.

Active MITM attacker can downgrade SSL/TLS to plain text and forward nonce from server back to client. MITM attacker receive login data (for server nonce) from client and send it to server to authenticate as client.

This issue is present in libmysqlclient.so in 5.5 and 5.6 versions.

Other sources

Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: C API). Supported versions that are affected are 5.5.55 and earlier and 5.6.35 and earlier. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Server accessible data. CVSS 3.0 Base Score 5.3 (Confidentiality impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N). NOTE: the previous information is from the April 2017 CPU. Oracle has not commented on third-party claims that this issue allows man-in-the-middle attackers to hijack the authentication of users by leveraging incorrect ordering of security parameter verification in a client, aka, "The Riddle".

MITRE

Affected Software

5 affected componentsFixes available
redhat/mysql<5.5.55
5.5.55
redhat/mysql<5.6.36
5.6.36
Oracle MySQL>=5.5.0<=5.5.55
Oracle MySQL>=5.6.0<=5.6.35
Debian Debian Linux=8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/mysql to a version that resolves this vulnerability.

    Fixed in 5.5.55
  2. Upgrade

    Upgrade redhat/mysql to a version that resolves this vulnerability.

    Fixed in 5.6.36
  3. Upgrade

    Upgrade Oracle MySQL Server (Server: C API) to a version that resolves this vulnerability.

    Fixed in 5.6.36

Event History

Apr 24, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionWeakness
Data Sourced
via NVD·07:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the CVE-2017-3305 vulnerability severity?

The CVE-2017-3305 vulnerability is rated as difficult to exploit, affecting low privileged attackers with network access.

2

How do I fix CVE-2017-3305?

To fix CVE-2017-3305, upgrade MySQL to version 5.6.36 or later if using version 5.6, or to version 5.5.56 or later if using version 5.5.

3

Which versions of MySQL are affected by CVE-2017-3305?

CVE-2017-3305 affects MySQL versions 5.5.55 and earlier, and 5.6.35 and earlier.

4

Can CVE-2017-3305 be exploited remotely?

Yes, CVE-2017-3305 can be exploited by low privileged attackers with network access via multiple protocols.

5

What components of Oracle MySQL are affected by CVE-2017-3305?

CVE-2017-3305 affects the MySQL Server component, specifically the Server: C API.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203