Skip to content
Emerging threatsMedium

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

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
ProductAffected versionsFixed in
MariadbMariadb5.5.28an/a
MysqlOracle5.5.195.0.96-0.6.1
libmysqlclient15-32bitsuseSee advisory5.0.96-0.6.1
libmysqlclient15suseSee advisory5.0.96-0.6.1
libmysqlclient15-x86suseSee advisory5.0.96-0.6.1
4 more affected products in the full CVE brief

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

  1. Publicly disclosed

    Dec 1, 2012

  2. Last updated

    Aug 6, 2024

Weakness Type

  • CWE-16

FAQ

Common Questions.

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

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.