Cloudanix VulnDB

CVE-2016-0639

Critical · 9.8

CVSS

9.8

EPSS

10.2%

Published

Apr 21, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in how the database handles logins could let outsiders access or change information without proper permission.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Full Compromise
Component
Network Service
Class
Authentication Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Remote attackers can bypass pluggable authentication mechanisms in MySQL, allowing unauthorized access that impacts confidentiality, integrity, and availability of database resources.

Why it matters to the business

Attackers could gain unauthorized access to sensitive data, alter records, or disrupt database services, leading to operational downtime and compliance risks in environments relying on MySQL.

How an attack unfolds

An attacker targets an exposed MySQL server and crafts authentication requests that exploit weaknesses in the pluggable authentication modules to bypass credential checks and obtain a valid session.

How to fix it

Upgrade Oracle MySQL to versions later than 5.6.29 and 5.7.11, apply all vendor security updates for affected Red Hat Enterprise Linux packages, and restrict network access to database ports.

How to confirm the fix worked

Confirm MySQL server versions exceed the vulnerable releases, review authentication configuration for pluggable modules, and test that remote connections require valid credentials.

Typical attack path

  1. Scan for publicly reachable MySQL instances on default or known ports
  2. Send specially crafted authentication packets targeting pluggable auth components
  3. Bypass login controls to obtain an authenticated session
  4. Execute database queries or administrative commands with elevated privileges

How to detect it

Examine MySQL error and general query logs for repeated authentication attempts from the same source that suddenly succeed, and review connection records for sessions established without standard credential validation.

What your security team should do

  • Prioritize patching all MySQL deployments to supported fixed releases
  • Implement network segmentation to limit exposure of database services
  • Enable detailed authentication logging and monitor for anomalous login patterns
  • Review and harden pluggable authentication configurations

The record

Unspecified vulnerability in Oracle MySQL 5.6.29 and earlier and 5.7.11 and earlier allows remote attackers to affect confidentiality, integrity, and availability via vectors related to Pluggable Authentication.

Affected packages

Ecosystem Package Introduced Fixed
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql-bench 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql-common 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql-config 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql-debuginfo 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql-devel 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql-errmsg 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql-server 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql56-mysql-test 0 0:5.6.30-1.el6
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql 0 0:5.6.30-1.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql-bench 0 0:5.6.30-1.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql-common 0 0:5.6.30-1.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql-config 0 0:5.6.30-1.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql-debuginfo 0 0:5.6.30-1.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql-devel 0 0:5.6.30-1.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql-errmsg 0 0:5.6.30-1.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql-server 0 0:5.6.30-1.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql56-mysql-test 0 0:5.6.30-1.el7
Ubuntu:14.04:LTS mysql-5.5 0 5.5.49-0ubuntu0.14.04.1
Ubuntu:14.04:LTS mysql-5.6 0 5.6.30-0ubuntu0.14.04.1
Ubuntu:16.04:LTS mysql-5.7 0 5.7.12-0ubuntu1
Ubuntu:16.04:LTS percona-server-5.6 0 No fix
Ubuntu:16.04:LTS percona-xtradb-cluster-5.6 0 No fix
Ubuntu:Pro:16.04:LTS percona-server-5.6 0 No fix
Ubuntu:Pro:16.04:LTS percona-xtradb-cluster-5.6 0 No fix

Related vulnerabilities