Oracle MySQL Server up to 5.1.66/5.5.28 Privileges memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.9 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in Oracle MySQL Server up to 5.1.66/5.5.28. Affected by this issue is some unknown functionality of the component Privileges. The manipulation leads to memory corruption. This vulnerability is referenced as CVE-2012-5611. Furthermore, an exploit is available. It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in Oracle MySQL Server up to 5.1.66/5.5.28 (Database Software). It has been rated as critical. This issue affects some unknown functionality of the component Privileges. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Stack-based buffer overflow in the acl_get function in Oracle MySQL 5.5.19 and other versions through 5.5.28, and 5.1.53 and other versions through 5.1.66, and MariaDB 5.5.2.x before 5.5.28a, 5.3.x before 5.3.11, 5.2.x before 5.2.13 and 5.1.x before 5.1.66, allows remote authenticated users to execute arbitrary code via a long argument to the GRANT FILE command.
The weakness was published 01/15/2013 by kingcope as cpujan2013-1515902 as confirmed advisory (Website). It is possible to read the advisory at oracle.com. The public release has been coordinated with Oracle. The identification of this vulnerability is CVE-2012-5611 since 10/24/2012. The exploitation is known to be easy. The attack may be initiated remotely. A simple authentication is required for exploitation. Technical details are unknown but a public exploit is available.
A public exploit has been developed by kingcope in Perl and been published before and not just after the advisory. The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 69635 (Amazon Linux AMI : mysql51 (ALAS-2012-145)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19831 (Oracle MySQL January 2013 Critical Patch Update).
Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 12692.
The vulnerability is also documented in the databases at Exploit-DB (23075), Tenable (69635), SecurityFocus (BID 56769†), OSVDB (88066†) and Secunia (SA51443†). isc.sans.edu is providing further details. Similar entries are available at VDB-7065, VDB-7067, VDB-7372 and VDB-7391. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.1.7
- 5.1.8
- 5.1.9
- 5.1.10
- 5.1.11
- 5.1.12
- 5.1.13
- 5.1.14
- 5.1.15
- 5.1.16
- 5.1.17
- 5.1.18
- 5.1.19
- 5.1.20
- 5.1.21
- 5.1.22
- 5.1.23
- 5.1.24
- 5.1.25
- 5.1.26
- 5.1.27
- 5.1.28
- 5.1.29
- 5.1.30
- 5.1.31
- 5.1.32
- 5.1.33
- 5.1.34
- 5.1.35
- 5.1.36
- 5.1.37
- 5.1.38
- 5.1.39
- 5.1.40
- 5.1.41
- 5.1.42
- 5.1.43
- 5.1.44
- 5.1.45
- 5.1.46
- 5.1.47
- 5.1.48
- 5.1.49
- 5.1.50
- 5.1.51
- 5.1.52
- 5.1.53
- 5.1.54
- 5.1.55
- 5.1.56
- 5.1.57
- 5.1.58
- 5.1.59
- 5.1.60
- 5.1.61
- 5.1.62
- 5.1.63
- 5.1.64
- 5.1.65
- 5.1.66
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
- 5.5.14
- 5.5.15
- 5.5.16
- 5.5.17
- 5.5.18
- 5.5.19
- 5.5.20
- 5.5.21
- 5.5.22
- 5.5.23
- 5.5.24
- 5.5.25
- 5.5.26
- 5.5.27
- 5.5.28
License
Website
- Vendor: https://www.oracle.com
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.9VulDB Meta Temp Score: 8.9
VulDB Base Score: 9.9
VulDB Temp Score: 8.9
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: kingcope
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 69635
Nessus Name: Amazon Linux AMI : mysql51 (ALAS-2012-145)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 892581
OpenVAS Name: Debian Security Advisory DSA 2581-1 (mysql-5.1 - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍
Timeline
10/24/2012 🔍11/28/2012 🔍
11/30/2012 🔍
12/02/2012 🔍
12/02/2012 🔍
12/02/2012 🔍
12/03/2012 🔍
12/04/2012 🔍
01/15/2013 🔍
01/15/2013 🔍
01/18/2013 🔍
09/04/2013 🔍
10/04/2024 🔍
Sources
Vendor: oracle.comAdvisory: cpujan2013-1515902
Researcher: kingcope
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2012-5611 (🔍)
GCVE (CVE): GCVE-0-2012-5611
GCVE (VulDB): GCVE-100-7415
OVAL: 🔍
SecurityFocus: 56769 - Oracle MySQL and MariaDB 'acl_get()' Buffer Overflow Vulnerability
Secunia: 51443 - MariaDB Buffer Overflow Vulnerability, Less Critical
OSVDB: 88066
Vulnerability Center: 37501 - [cpujan2013-1515902] Oracle MySQL and MariaDB Buffer Overflow Allows Remote Code Execution - CVE-2012-5611 (Windows), High
scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍
Entry
Created: 01/18/2013 09:45Updated: 10/04/2024 12:26
Changes: 01/18/2013 09:45 (88), 04/22/2017 12:47 (13), 04/22/2021 10:52 (3), 10/04/2024 12:26 (14)
Complete: 🔍
Cache ID: 216:738:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.