SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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…

EXPLOIT ×3 ✓MEDIUM 6.0EPSS 31.7%

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 trend
0%18%35%4 November 2026: 31.66%4 November 20264 November 2026

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-IDTitleTypePublishedVerified
EDB-35777source ↗Oracle MySQL (Windows) - FILE Privilege Abuse (Metasploit)windows · Metasploitremote13 January 2015yes
EDB-23179source ↗Oracle MySQL (Windows) - MOF Execution (Metasploit)windows · Metasploitremote6 December 2012yes
EDB-23077source ↗MySQL (Linux) - Database Privilege Escalationlinux · kingcopelocal2 December 2012yes

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.