CVE-2012-5613 EXPLOIT
6.0
MEDIUM · CVSS 2.0 · EPSS 31.7% (pctl 98)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 6.0 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:M/Au:S/C:P/I:P/A:P |
| EPSS | 31.66% — more likely to be exploited than 98% of all CVEs |
| Weakness | CWE-16 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2012-12-03 |
| Last modified | 2026-06-16 |
Affected (3)
| Vendor | Product |
|---|---|
| linux | linux kernel |
| mariadb | mariadb |
| oracle | mysql |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Oracle MySQL (Windows) - FILE Privilege Abuse (Metasploit) | 2015-01-13 |
| exploit-db | Oracle MySQL (Windows) - MOF Execution (Metasploit) | 2012-12-06 |
| exploit-db | MySQL (Linux) - Database Privilege Escalation | 2012-12-02 |
References
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html
- http://seclists.org/fulldisclosure/2012/Dec/6
- http://secunia.com/advisories/53372
- http://security.gentoo.org/glsa/glsa-201308-06.xml
- http://www.openwall.com/lists/oss-security/2012/12/02/3
- http://www.openwall.com/lists/oss-security/2012/12/02/4
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00000.html
- http://seclists.org/fulldisclosure/2012/Dec/6
- http://secunia.com/advisories/53372
- http://security.gentoo.org/glsa/glsa-201308-06.xml
- http://www.openwall.com/lists/oss-security/2012/12/02/3
- http://www.openwall.com/lists/oss-security/2012/12/02/4
→ the Explorer · watch your stack · NVD