CVE-2012-5613Mariadb Vulnerability
mysql: database privilege escalation using FILE privilege
Published Dec 1, 2012 · Updated Aug 6, 2024
Key Facts
Routine patching- CVE-2012-5613 is a medium-severity vulnerability (CVSS 6.0 v2) affecting Mariadb, Mysql (Oracle), libmysqlclient15-32bit (suse) and 6 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 32% probability of exploitation in the next 30 days.
- Fixed versions are available, including libmysqlclient_r15 5.0.96-0.6.1, libmysqlclient15 5.0.96-0.6.1, libmysqlclient15-32bit 5.0.96-0.6.1.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Scores
CVSS v2
6.0
AV:N/AC:M/Au:S/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
32%
Higher than 98.2% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
55/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
5
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
Description
MySQL 5.5.19 and possibly other versions, and MariaDB 5.5.28a and possibly other versions, when configured to assign the FILE privilege to users who should not have administrative privileges, allows remote authenticated users to gain privileges by leveraging the FILE privilege to create files as the MySQL administrator. NOTE: the vendor disputes this issue, stating that this is only a vulnerability when the administrator does not follow recommendations in the product's installation documentation.
NOTE: it could be argued that this should not be included in CVE because it is a configuration issue.
Affected Products
40 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MariadbMariadb | 5.5.28a | n/a |
| MysqlOracle | 5.5.19 | 5.0.96-0.6.1 |
| libmysqlclient15-32bitsuse | See advisory | 5.0.96-0.6.1 |
| libmysqlclient15suse | See advisory | 5.0.96-0.6.1 |
| libmysqlclient15-x86suse | See advisory | 5.0.96-0.6.1 |
Patched Releases
libmysqlclient_r15
5.0.96-0.6.1
libmysqlclient15
5.0.96-0.6.1
libmysqlclient15-32bit
5.0.96-0.6.1
libmysqlclient15-x86
5.0.96-0.6.1
Mysql
5.0.96-0.6.1
mysql-client
5.0.96-0.6.1
mysql-Max
5.0.96-0.6.1
mysql-tools
5.0.96-0.6.1
Timeline
Publicly disclosed
Dec 1, 2012
Last updated
Aug 6, 2024
Weakness Type
- CWE-16
References
- advisorySUSE-SU-2013:0262
- advisoryGLSA-201308-06
- advisory[oss-security] 20121202 Re: Re: [Full-disclosure] MySQL (Linux) Stack based buffer overrun PoC Zeroday
- advisory[oss-security] 20121202 Re: Re: [Full-disclosure] MySQL (Linux) Stack based buffer overrun PoC Zeroday
- exploit20121201 MySQL (Linux) Database Privilege Elevation Zeroday Exploit
FAQ
Common Questions.
MySQL 5.5.19 and possibly other versions, and MariaDB 5.5.28a and possibly other versions, when configured to assign the FILE privilege to users who should not have administrative privileges, allows remote authenticated users to gain privileges by leveraging the FILE privilege to create files as the MySQL administrato…
Affected: Mariadb versions 5.5.28a; Mysql (Oracle) versions 5.5.19; libmysqlclient15-32bit (suse), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including libmysqlclient_r15 5.0.96-0.6.1, libmysqlclient15 5.0.96-0.6.1, libmysqlclient15-32bit 5.0.96-0.6.1.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2012-5613 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo