CVE-2012-5613
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…
Does this matter?
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.
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.
- CVSS 2.0
- 6.0 MEDIUMAV:N/AC:M/Au:S/C:P/I:P/A:P
- EPSS
- 31.66% probability · 98th percentile
- Public exploits
- 3 in Exploit-DB · verified · first 2 December 2012
- CISA KEV
- Not listed
- Weakness
- CWE-16
- Affected
- mariadb/mariadb · oracle/mysql
- Source
- secalert@redhat.com
EPSS 31.7% since 4 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (3)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
| EDB-ID | Title | Type | Published | Verified |
|---|---|---|---|---|
| EDB-35777source ↗ | Oracle MySQL (Windows) - FILE Privilege Abuse (Metasploit)windows · Metasploit | remote | 13 January 2015 | yes |
| EDB-23179source ↗ | Oracle MySQL (Windows) - MOF Execution (Metasploit)windows · Metasploit | remote | 6 December 2012 | yes |
| EDB-23077source ↗ | MySQL (Linux) - Database Privilege Escalationlinux · kingcope | local | 2 December 2012 | yes |
References
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.htmlMailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2012/Dec/6Exploit, Mailing List, Third Party Advisory
- http://secunia.com/advisories/53372Broken Link
- http://security.gentoo.org/glsa/glsa-201308-06.xmlThird Party Advisory
- http://www.openwall.com/lists/oss-security/2012/12/02/3Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2012/12/02/4Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.htmlMailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2012/Dec/6Exploit, Mailing List, Third Party Advisory
- http://secunia.com/advisories/53372Broken Link
- http://security.gentoo.org/glsa/glsa-201308-06.xmlThird Party Advisory
- http://www.openwall.com/lists/oss-security/2012/12/02/3Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2012/12/02/4Mailing List, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.