Debian Linux MySQL mysql-server-5.5.postinst) Configuration File mysql-server-5.5.postinst race condition
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.1VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.1
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Race conditionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Timeline
02/19/2013 🔍06/08/2013 🔍
06/08/2013 🔍
06/08/2013 🔍
06/08/2013 🔍
06/11/2013 🔍
08/19/2013 🔍
10/15/2013 🔍
01/08/2014 🔍
05/14/2021 🔍
Sources
Advisory: seclists.orgResearcher: 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: 🔍
Entry
Created: 06/11/2013 16:07Updated: 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.
No comments yet. Languages: en.
Please log in to comment.