patchminder
Weaponized · Metasploit CVE-2012-5613

Vulnerabilityin CVE-2012-5613.

Published 3 Dec 2012 · Updated 6 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 31.7% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
See the vendor advisory
In plain words

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.

What to do now
  • No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.

Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 24 Oct 2012
    CVE ID reserved by redhat.
  2. 1 Dec 2012
    Metasploit module: Oracle MySQL for Microsoft Windows MOF Execution.
  3. 3 Dec 2012
    Published in the CVE List.
  4. 9 Feb 2013
    First public proof of concept on GitHub.
  5. 6 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
2 modules
Nuclei scan template
None known
Exploit-DB
3 entries
GitHub proof of concepts
2 repositories
MetasploitOracle MySQL for Microsoft Windows MOF Executionrank excellentLinked once a fix or workaround is known.
MetasploitOracle MySQL for Microsoft Windows FILE Privilege Abuserank excellentLinked once a fix or workaround is known.
Exploit-DBEDB-ID 23077local exploit for linux, published 2 Dec 2012, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 23179remote exploit for windows, published 6 Dec 2012, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 35777remote exploit for windows, published 13 Jan 2015, verified by Exploit-DBLinked once a fix or workaround is known.

2 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

References
Cite this page

Patchminder. CVE-2012-5613: Vulnerability in CVE-2012-5613. https://patchminder.com/cve/cve-2012-5613/ (accessed 5 December 2026).