Vulnerabilityin CVE-2012-5613.
Weaponized: a Metasploit exploit is public.
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.
- 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.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 24 Oct 2012CVE ID reserved by redhat.
- 1 Dec 2012Metasploit module: Oracle MySQL for Microsoft Windows MOF Execution.
- 3 Dec 2012Published in the CVE List.
- 9 Feb 2013First public proof of concept on GitHub.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
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.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- secunia.com third-party-advisory
- www.openwall.com mailing-list
- security.gentoo.org vendor-advisory
- www.openwall.com mailing-list
- lists.opensuse.org vendor-advisory
- seclists.org mailing-list
Patchminder. CVE-2012-5613: Vulnerability in CVE-2012-5613. https://patchminder.com/cve/cve-2012-5613/ (accessed 5 December 2026).