Oracle MySQL Server up to 5.5.19 sql/sql_acl.cc acl_get memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in Oracle MySQL Server up to 5.5.19. Impacted is the function acl_get of the file sql/sql_acl.cc. The manipulation leads to memory corruption.
This vulnerability is uniquely identified as CVE-2012-5611. Moreover, an exploit is present.
It is suggested to upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in Oracle MySQL Server up to 5.5.19 (Database Software). This issue affects the function acl_get of the file sql/sql_acl.cc. 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 disclosed 12/01/2012 by kingcope as not defined exploit (Full-Disclosure). It is possible to read the advisory at seclists.org. The vendor was not involved in the public release. 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 needed for exploitation. Technical details as well as a public exploit are known.
A public exploit has been developed by kingcope and been published immediately after the advisory. The exploit is available at seclists.org. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $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 and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19831 (Oracle MySQL January 2013 Critical Patch Update).
Upgrading to version 5.5.28a eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (23075), Tenable (69635), SecurityFocus (BID 56750†), OSVDB (88066†) and Secunia (SA51416†). The entries VDB-7065, VDB-7372, VDB-7391 and VDB-7380 are pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Vendor
Name
Version
- 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
License
Website
- Vendor: https://www.oracle.com
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
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
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 Context: 🔍
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: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Upgrade: MySQL Server 5.5.28a
Timeline
10/24/2012 🔍11/29/2012 🔍
12/01/2012 🔍
12/01/2012 🔍
12/03/2012 🔍
12/03/2012 🔍
12/03/2012 🔍
12/04/2012 🔍
01/15/2013 🔍
09/04/2013 🔍
10/04/2024 🔍
Sources
Vendor: oracle.comAdvisory: seclists.org
Researcher: kingcope
Status: Not defined
Confirmation: 🔍
CVE: CVE-2012-5611 (🔍)
GCVE (CVE): GCVE-0-2012-5611
GCVE (VulDB): GCVE-100-7067
OVAL: 🔍
SecurityFocus: 56750 - MariaDB CVE-2012-5579 Buffer Overflow Vulnerability
Secunia: 51416 - Debian update for mysql-5.1, Moderately Critical
OSVDB: 88066
SecurityTracker: 1027827
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 12/04/2012 11:42Updated: 10/04/2024 03:21
Changes: 12/04/2012 11:42 (89), 04/24/2019 08:32 (4), 10/04/2024 03:21 (16)
Complete: 🔍
Committer:
Cache ID: 216:32C:103
No comments yet. Languages: en.
Please log in to comment.