{"id":"CVE-2012-5613","url":"https://www.cyber-defence.io/tools/cve/CVE-2012-5613","generatedAt":"2026-11-05T07:55:55.628Z","title":"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…","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.","published":"2012-12-03T12:49:44.000Z","lastModified":"2026-06-16T23:47:05.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":6,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P"},"cwe":["CWE-16"],"affected":["mariadb/mariadb","oracle/mysql"],"epss":{"score":0.31664,"percentile":0.983,"date":"2026-11-04","history":[]},"kev":{"listed":false},"exploits":{"count":3,"verified":true,"firstPublished":"2012-12-02","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":35777,"kind":"exploit","title":"Oracle MySQL (Windows) - FILE Privilege Abuse (Metasploit)","url":"https://www.exploit-db.com/exploits/35777","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/remote/35777.rb","file":"exploits/windows/remote/35777.rb","published":"2015-01-13","added":"2015-01-13","updated":"2016-10-27","author":"Metasploit","type":"remote","platform":"windows","port":null,"verified":true,"codes":["OSVDB-88118","CVE-2012-5613"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null},{"edbId":23179,"kind":"exploit","title":"Oracle MySQL (Windows) - MOF Execution (Metasploit)","url":"https://www.exploit-db.com/exploits/23179","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/remote/23179.rb","file":"exploits/windows/remote/23179.rb","published":"2012-12-06","added":"2012-12-06","updated":"2016-10-27","author":"Metasploit","type":"remote","platform":"windows","port":null,"verified":true,"codes":["CVE-2012-5613","OSVDB-88118"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null},{"edbId":23077,"kind":"exploit","title":"MySQL (Linux) - Database Privilege Escalation","url":"https://www.exploit-db.com/exploits/23077","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/23077.pl","file":"exploits/linux/local/23077.pl","published":"2012-12-02","added":"2012-12-02","updated":"2013-02-21","author":"kingcope","type":"local","platform":"linux","port":null,"verified":true,"codes":["CVE-2012-5613"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":"http://www.exploit-db.com/screenshots/idlt23500/screen-shot-2012-12-03-at-112306-am.png","referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 31.7%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2012/Dec/6","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/53372","tags":["Broken Link"],"source":"secalert@redhat.com"},{"url":"http://security.gentoo.org/glsa/glsa-201308-06.xml","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2012/12/02/3","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2012/12/02/4","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2012/Dec/6","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/53372","tags":["Broken Link"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-201308-06.xml","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2012/12/02/3","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2012/12/02/4","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-5613","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}