Oracle MySQL Server up to 5.5.19 sql/sql_acl.cc acl_get memory corruption

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.7$0-$5k0.00

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 Tenable (69635) and Exploit-DB (23075). The entries 7065, 7372, 7391 and 7380 are pretty similar.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

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

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

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 Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: MySQL Server 5.5.28a

Timelineinfo

10/24/2012 🔍
11/29/2012 +36 days 🔍
12/01/2012 +2 days 🔍
12/01/2012 +0 days 🔍
12/03/2012 +2 days 🔍
12/03/2012 +0 days 🔍
12/03/2012 +0 days 🔍
12/04/2012 +1 days 🔍
01/15/2013 +42 days 🔍
09/04/2013 +232 days 🔍
04/24/2019 +2058 days 🔍

Sourcesinfo

Vendor: oracle.com

Advisory: seclists.org
Researcher: kingcope
Status: Not defined
Confirmation: 🔍

CVE: CVE-2012-5611 (🔍)
OVAL: 🔍

SecurityTracker: 1027827
SecurityFocus: 56750 - MariaDB CVE-2012-5579 Buffer Overflow Vulnerability
Secunia: 51416 - Debian update for mysql-5.1, Moderately Critical
OSVDB: 88066

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

Entryinfo

Created: 12/04/2012 11:42
Updated: 04/24/2019 08:32
Changes: 12/04/2012 11:42 (89), 04/24/2019 08:32 (4)
Complete: 🔍
Committer:

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!