Percona XtraDB Cluster up to 5.5.41/5.6.32/5.7.14 race condition

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.9$0-$5k0.00

A vulnerability, which was classified as problematic, was found in Percona XtraDB Cluster up to 5.5.41/5.6.32/5.7.14. Affected is an unknown functionality. The manipulation with an unknown input leads to a race condition vulnerability. CWE is classifying the issue as CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. This is going to have an impact on confidentiality, integrity, and availability.

The bug was discovered 09/12/2016. The weakness was shared 11/01/2016 by Dawid Golunski as MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616] as confirmed mailinglist post (Full-Disclosure). The advisory is available at seclists.org. The vendor cooperated in the coordination of the public release. This vulnerability is traded as CVE-2016-6663 since 08/10/2016. The exploitability is told to be easy. Local access is required to approach this attack. The successful exploitation needs a authentication. Technical details are unknown but a public exploit is available. The advisory points out:

An independent research has revealed a race condition vulnerability which affects MySQl, MariaDB and PerconaDB databases. The vulnerability can allow a local system user with access to the affected database in the context of a low-privileged account (CREATE/INSERT/SELECT grants) to escalate their privileges and execute arbitrary code as the database system user (typically 'mysql'). Successful exploitation would allow an attacker to gain full read/write access to all of the files (including configuration files) and databases belonging to the affected database server.

A public exploit has been developed by Dawid Golunski in ANSI C and been published immediately after the advisory. The exploit is shared for download at legalhackers.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 50 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 95847 (Scientific Linux Security Update : mariadb on SL7.x x86_64), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Scientific Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 236167 (Red Hat Update for mariadb (RHSA-2016:2595)).

Upgrading to version 5.5.41-37.0, 5.6.32-25.17 or 5.7.14-26.17 eliminates this vulnerability. A possible mitigation has been published 2 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (95847) and Exploit-DB (40360). The entries 4597, 4598, 20222 and 79101 are related to this item.

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

Video

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.1
VulDB Meta Temp Score: 5.9

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.0
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Race condition
CWE: CWE-362
ATT&CK: Unknown

Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Dawid Golunski
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 95847
Nessus Name: Scientific Linux Security Update : mariadb on SL7.x x86_64
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 100879
OpenVAS Name: RedHat Update for mariadb RHSA-2016:2595-02
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: XtraDB Cluster 5.5.41-37.0/5.6.32-25.17/5.7.14-26.17
Patch: github.com

Timelineinfo

08/10/2016 🔍
09/12/2016 +33 days 🔍
09/12/2016 +0 days 🔍
11/01/2016 +50 days 🔍
11/01/2016 +0 days 🔍
11/02/2016 +1 days 🔍
11/03/2016 +1 days 🔍
12/13/2016 +40 days 🔍
12/15/2016 +2 days 🔍
09/29/2022 +2114 days 🔍

Sourcesinfo

Advisory: MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616]
Researcher: Dawid Golunski
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2016-6663 (🔍)
OVAL: 🔍

SecurityFocus: 92911 - Oracle MySQL CVE-2016-6663 Unspecified Security Vulnerability

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 11/02/2016 07:48
Updated: 09/29/2022 09:12
Changes: 11/02/2016 07:48 (87), 07/15/2019 16:45 (6), 09/29/2022 09:12 (5)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!