CVE-2012-4452 json
MySQL 5.0.88, and possibly other versions and platforms, allows local users to bypass certain privilege checks by calling CREATE TABLE on a…
published 2012-10-09 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-4383
- cvss
- 2.1
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- mysql RHEL 5 5.0.95-3.el5
- mysql-test RHEL 5 5.0.95-3.el5
- mysql-bench RHEL 5 5.0.95-3.el5
- mysql-server RHEL 5 5.0.95-3.el5
red hat advisories RHSA-2013:0121
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-4452 updated cvss 2.4
mysql: regression of CVE-2009-4030
-
Red Hat Enterprise Linux (v. 5 server) mysql 5.0.95-3.el5, mysql-test 5.0.95-3.el5, mysql-bench 5.0.95-3.el5, mysql-server 5.0.95-3.el5 Red Hat Enterprise Linux Desktop (v. 5 client) mysql 5.0.95-3.el5 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) mysql 5.0.95-3.el5, mysql-test 5.0.95-3.el5, mysql-bench 5.0.95-3.el5, mysql-server 5.0.95-3.el5fixed: vendor fix RHSA-2013:0121
-
Red Hat Enterprise Linux 6 mysql, mysql-libs, mysql-test, mysql-bench, mysql-server, mysql-embeddednot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
- Technology feeds
References
-
rhn.redhat.com
/errata/RHSA-2013-0121.html
vendor-advisory
-
securityfocus.com
/bid/55715
vdb-entry
- bugzilla.redhat.com /show_bug.cgi?id=860808
-
openwall.com
/lists/oss-security/2012/09/27/1
mailing-list
Sources
- CVE List CVE-2012-4452
- NVD CVE-2012-4452
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.