Back to CVE catalog
CVE-2012-4452

Privilege check bypass in MySQL

Multiple products

At a glance

MySQL 5.0.88, and possibly other versions and platforms, allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data home directory, related to incorrect calculation of the mysql_unpacked_real_data_home value. NOTE: this vulnerability exists because of a CVE-2009-4030 regression, which was not omitted in other packages and versions such as MySQL 5.0.95 in Red Hat Enterprise Linux 6.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityPartial
AvailabilityNone

CVSS summary v2.0

2.1Low
Published:
Updated:
EPSS:
0.398%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:oraclemysqlAffected versions:
≤ 5.0.88
Vendor:oraclelinuxmysql
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-3.el5
Vendor:oraclelinuxmysql-bench
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-3.el5
Vendor:oraclelinuxmysql-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-3.el5
Vendor:oraclelinuxmysql-server
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-3.el5
Vendor:oraclelinuxmysql-test
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.0.95-3.el5
Vendor:redhatmysql
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.0.95-3.el5
Vendor:redhatmysql-bench
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.0.95-3.el5
Vendor:redhatmysql-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.0.95-3.el5
Vendor:redhatmysql-server
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.0.95-3.el5

1–10 of 14 · Page 1 of 2

CVSS scores and metrics5
[email protected] · NVD (Primary)Primary2.1 / 10LowCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:N/I:P/A:N
nvd · Wazuh CTI (cna)2.1 / 10LowCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:N/I:P/A:N
oraclelinux · Wazuh CTI (adp)2.4 / 10LowCVSS 2.0Details
Attack complexity
High
Confidentiality
None
Integrity
Partial
Availability
Partial
Attack vector
Local
Authentication
Single

Source vector

AV:L/AC:H/Au:S/C:N/I:P/A:P
redhat · Wazuh CTI (adp)2.4 / 10LowCVSS 2.0Details
Attack complexity
High
Confidentiality
None
Integrity
Partial
Availability
Partial
Attack vector
Local
Authentication
Single

Source vector

AV:L/AC:H/Au:S/C:N/I:P/A:P
Red Hat · Red Hat VEX (adp)2.4 / 10LowCVSS 2.0Details
Attack complexity
High
Confidentiality
None
Integrity
Partial
Availability
Partial
Attack vector
Local
Authentication
Single

Source vector

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

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

Sources and advisories12

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