CVE-2016-5584
Medium · 4.4CVSS
4.4
EPSS
1.5%
Published
Oct 25, 2016
CISA due date
—
Cloudanix analysis
A flaw in older database software could let certain privileged users see information they were not supposed to access through encryption handling.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- High
- Impact
- Data Exposure
- Component
- Network Service
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits remote administrators to obtain confidential data through weaknesses in the server's encryption handling routines.
Why it matters to the business
Organizations running older database versions face elevated risk of sensitive data exposure to privileged insiders or compromised admin accounts, with urgency low due to no known exploitation campaigns and stable low exploit probability over years since disclosure.
How an attack unfolds
An attacker with administrative database privileges crafts specific queries or connection parameters that trigger the encryption-related code path, causing the server to leak protected material such as keys or ciphertext.
How to fix it
Upgrade mysql/mysql-server or mariadb/server to a build containing commit 5c6169fb309981b564a17bee31b367a18866d674 or later; apply vendor patches for MySQL 5.5.53+, 5.6.34+, 5.7.16+; restrict administrative network access and rotate encryption keys after patching.
How to confirm the fix worked
Confirm the running server version or commit hash includes 5c6169fb309981b564a17bee31b367a18866d674; test that administrative connections no longer expose encryption artifacts under controlled conditions.
Typical attack path
- Obtain or compromise database administrator credentials
- Connect to the vulnerable MySQL or MariaDB instance over the network
- Issue crafted administrative commands targeting encryption components
- Capture leaked confidential data returned by the server
How to detect it
Search database audit and error logs for unusual administrative queries involving encryption functions or unexpected data returns around the time of connection establishment; review process execution for legacy binaries lacking the referenced commit.
What your security team should do
- Prioritize upgrade of all internet-facing or multi-tenant database instances within standard maintenance windows
- Review and tighten administrative access controls and audit logs
- Monitor for new EPSS increases or public exploit code despite current low scores
The record
Unspecified vulnerability in Oracle MySQL 5.5.52 and earlier, 5.6.33 and earlier, and 5.7.15 and earlier allows remote administrators to affect confidentiality via vectors related to Server: Security: Encryption.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:7 | mysql-5.5 | 0 | 5.5.53-0+deb7u1 |
| Debian:8 | mariadb-10.0 | 0 | 10.0.28-0+deb8u1 |
| Debian:8 | mysql-5.5 | 0 | 5.5.53-0+deb8u1 |
| Mageia:5 | mariadb | 0 | 10.0.28-1.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP1 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Desktop 12 SP2 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | mariadb104 | 0 | 10.4.30-150100.3.5.10 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | python-mysqlclient | 0 | 1.4.6-150100.3.3.7 |
| SUSE:Linux Enterprise Server 11 SP4 | mysql | 0 | 5.5.53-0.30.1 |
| SUSE:Linux Enterprise Server 12 SP1 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Server 12 SP2 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Server 12 SP5 | lz4 | 0 | 1.8.0-3.5.2 |
| SUSE:Linux Enterprise Server 12 SP5 | mariadb-connector-c | 0 | 3.1.22-2.35.1 |
| SUSE:Linux Enterprise Server 12 SP5 | mariadb104 | 0 | 10.4.30-8.5.46 |
| SUSE:Linux Enterprise Server 12 SP5 | python-mysqlclient | 0 | 1.3.14-8.9.2 |
| SUSE:Linux Enterprise Server 12-LTSS | mariadb | 0 | 10.0.28-20.16.2 |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | mariadb104 | 0 | 10.4.30-150100.3.5.10 |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | python-mysqlclient | 0 | 1.4.6-150100.3.3.7 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | mysql | 0 | 5.5.53-0.30.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | mariadb | 0 | 10.0.28-20.16.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | lz4 | 0 | 1.8.0-3.5.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | mariadb-connector-c | 0 | 3.1.22-2.35.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | mariadb104 | 0 | 10.4.30-8.5.46 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | python-mysqlclient | 0 | 1.3.14-8.9.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | mariadb104 | 0 | 10.4.30-150100.3.5.10 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | python-mysqlclient | 0 | 1.4.6-150100.3.3.7 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | mysql | 0 | 5.5.53-0.30.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | lz4 | 0 | 1.8.0-3.5.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | mariadb-connector-c | 0 | 3.1.22-2.35.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | mariadb104 | 0 | 10.4.30-8.5.46 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | python-mysqlclient | 0 | 1.3.14-8.9.2 |
| SUSE:Linux Enterprise Workstation Extension 12 SP1 | mariadb | 0 | 10.0.28-17.2 |
| SUSE:Linux Enterprise Workstation Extension 12 SP2 | mariadb | 0 | 10.0.28-17.2 |
| Ubuntu:14.04:LTS | mariadb-5.5 | 0 | 5.5.53-1ubuntu0.14.04.1 |
| Ubuntu:14.04:LTS | mysql-5.5 | 0 | 5.5.53-0ubuntu0.14.04.1 |
| Ubuntu:16.04:LTS | mariadb-10.0 | 0 | 10.0.28-0ubuntu0.16.04.1 |
| Ubuntu:16.04:LTS | mysql-5.7 | 0 | 5.7.16-0ubuntu0.16.04.1 |
| Ubuntu:16.04:LTS | percona-server-5.6 | 0 | No fix |
| Ubuntu:16.04:LTS | percona-xtradb-cluster-5.6 | 0 | 5.6.34-26.19-0ubuntu0.16.04.1 |
| Ubuntu:Pro:16.04:LTS | percona-server-5.6 | 0 | No fix |
| openSUSE:Tumbleweed | mariadb | 0 | 10.6.4-2.1 |
Related vulnerabilities
- CVE-2017-3302 Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and… Also affects mysql-5.5
- CVE-2016-6662 Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB… Also affects mysql-5.5
- CVE-2016-3521 Unspecified vulnerability in Oracle MySQL 5.5.49 and earlier, 5.6.30 and earlier, and… Also affects mysql-5.5
- CVE-2015-4870 Unspecified vulnerability in Oracle MySQL Server 5.5.45 and earlier, and 5.6.26 and… Also affects mysql-5.5
- CVE-2015-2582 Unspecified vulnerability in Oracle MySQL Server 5.5.43 and earlier and 5.6.24 and… Also affects mysql-5.5
- CVE-2015-0501 Unspecified vulnerability in Oracle MySQL Server 5.5.42 and earlier, and 5.6.23 and… Also affects mysql-5.5
- CVE-2015-0433 Unspecified vulnerability in Oracle MySQL Server 5.5.41 and earlier, and 5.6.22 and… Also affects mysql-5.5
- CVE-2015-0382 Unspecified vulnerability in Oracle MySQL Server 5.5.40 and earlier and 5.6.21 and… Also affects mysql-5.5