Debian Linux MySQL mysql-server-5.5.postinst) Configuration File mysql-server-5.5.postinst 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.
4.8$0-$5k0.00

Summaryinfo

A vulnerability was found in Debian Linux MySQL mysql-server-5.5.postinst). It has been classified as problematic. Affected is an unknown function of the file mysql-server-5.5.postinst of the component Configuration File. Performing a manipulation results in race condition. This vulnerability was named CVE-2013-2162. In addition, an exploit is available.

Detailsinfo

A vulnerability classified as problematic has been found in Debian Linux MySQL mysql-server-5.5.postinst) (Operating System). This affects an unknown code block of the file mysql-server-5.5.postinst of the component Configuration File. 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, and integrity. The summary by CVE is:

Race condition in the post-installation script (mysql-server-5.5.postinst) for MySQL Server 5.5 for Debian GNU/Linux and Ubuntu Linux creates a configuration file with world-readable permissions before restricting the permissions, which allows local users to read the file and obtain sensitive information such as credentials.

The weakness was presented 06/08/2013 by vladz as not defined mailinglist post (oss-sec). It is possible to read the advisory at seclists.org. The public release was coordinated in cooperation with Debian Linux. This vulnerability is uniquely identified as CVE-2013-2162 since 02/19/2013. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details and a public exploit are known.

After immediately, there has been an exploit disclosed. The exploit is shared for download at bugs.debian.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 71862 (MySQL debian.cnf Plaintext Credential Disclosure), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Databases. The commercial vulnerability scanner Qualys is able to test this issue with plugin 121464 (Debian MySQL Server Insecure File Creation Vulnerability (DSA-2818-1)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at X-Force (84846), Tenable (71862), SecurityFocus (BID 60424†), OSVDB (94076†) and Secunia (SA54300†). See VDB-8019, VDB-9657, VDB-9667 and VDB-9671 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.1
VulDB Meta Temp Score: 4.8

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

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Race condition
CWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 71862
Nessus Name: MySQL debian.cnf Plaintext Credential Disclosure
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 702818
OpenVAS Name: Debian Security Advisory DSA 2818-1 (mysql-5.5 - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Timelineinfo

02/19/2013 🔍
06/08/2013 +109 days 🔍
06/08/2013 +0 days 🔍
06/08/2013 +0 days 🔍
06/08/2013 +0 days 🔍
06/11/2013 +3 days 🔍
08/19/2013 +69 days 🔍
10/15/2013 +57 days 🔍
01/08/2014 +85 days 🔍
05/14/2021 +2683 days 🔍

Sourcesinfo

Advisory: seclists.org
Researcher: vladz
Status: Not defined
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-2162 (🔍)
GCVE (CVE): GCVE-0-2013-2162
GCVE (VulDB): GCVE-100-9063

OVAL: 🔍

X-Force: 84846
SecurityFocus: 60424 - Debian mysql-server CVE-2013-2162 Insecure File Creation Vulnerability
Secunia: 54300 - Ubuntu update for mysql, Less Critical
OSVDB: 94076
Vulnerability Center: 41882 - MySQL Server 5.5 for Debian Linux and Ubuntu Linux Local Leakage of Sensitive Information, Low

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

Entryinfo

Created: 06/11/2013 16:07
Updated: 05/14/2021 14:23
Changes: 06/11/2013 16:07 (51), 09/12/2017 13:37 (35), 05/14/2021 14:23 (3)
Complete: 🔍
Committer:
Cache ID: 216:C99:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!