Back to CVE catalog
CVE-2012-5613

MySQL and MariaDB FILE privilege privilege escalation

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

6.0Medium
Published:
Updated:
EPSS:
31.664%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:mariadbmariadb
Environments (33)
  • arch
  • bionic
  • bookworm
  • bullseye
  • buster
  • cpe:2.3:o:almalinux:almalinux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:amazon:amazon_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:*:*:*:*:*:*:*:*
  • cpe:2.3:o:oracle:linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:rocky:rocky:*:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:sled:*:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:sles:*:*:*:*:*:*:*:*
  • faye
  • focal
  • jammy
  • jessie
  • noble
  • resolute
  • sid
  • stretch
  • trixie
  • trusty
  • ulyana
  • ulyssa
  • uma
  • una
  • vanessa
  • vera
  • victoria
  • virginia
  • wilma
  • xenial
Affected versions:
5.5.28a
Vendor:oraclemysql
Environments (33)
  • arch
  • bionic
  • bookworm
  • bullseye
  • buster
  • cpe:2.3:o:almalinux:almalinux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:amazon:amazon_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:*:*:*:*:*:*:*:*
  • cpe:2.3:o:oracle:linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:rocky:rocky:*:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:sled:*:*:*:*:*:*:*:*
  • cpe:2.3:o:suse:sles:*:*:*:*:*:*:*:*
  • faye
  • focal
  • jammy
  • jessie
  • noble
  • resolute
  • sid
  • stretch
  • trixie
  • trusty
  • ulyana
  • ulyssa
  • uma
  • una
  • vanessa
  • vera
  • victoria
  • virginia
  • wilma
  • xenial
Affected versions:
5.5.19
Vendor:SUSElibmysqlclient15
Environments (1)
  • cpe:/o:suse:sled:11:sp2
Affected versions:
< 0:5.0.96-0.6.1
Vendor:SUSElibmysqlclient15-32bit
Environments (1)
  • cpe:/o:suse:sled:11:sp2
Affected versions:
< 0:5.0.96-0.6.1
Vendor:SUSElibmysqlclient r15
Environments (1)
  • cpe:/o:suse:sled:11:sp2
Affected versions:
< 0:5.0.96-0.6.1
Vendor:SUSElibmysqlclient r15-32bit
Environments (1)
  • cpe:/o:suse:sled:11:sp2
Affected versions:
< 0:5.0.96-0.6.1
Vendor:SUSEmysql
Environments (1)
  • cpe:/o:suse:sled:11:sp2
Affected versions:
< 0:5.0.96-0.6.1
Vendor:SUSEmysql-client
Environments (1)
  • cpe:/o:suse:sled:11:sp2
Affected versions:
< 0:5.0.96-0.6.1
Vendor:SUSElibmysqlclient15-32bit
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.0.96-0.6.1
Vendor:SUSElibmysqlclient15
Environments (3)
  • cpe:/o:suse:sles:11:sp1
  • cpe:/o:suse:sles:11:sp2
  • cpe:/o:suse:sles_sap:11:sp2
Affected versions:
< 0:5.0.96-0.6.1

1–10 of 19 · Page 1 of 2

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary6.0 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:M/Au:S/C:P/I:P/A:P
nvd · Wazuh CTI (cna)6.0 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:M/Au:S/C:P/I:P/A:P
Red Hat · Red Hat VEX (adp)4.6 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:H/Au:S/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories15

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences