CVE-2012-4452
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 2.1 LOW (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Oracle MySQL ≤ 5.0.88
Attack profile CVSS 2.0 · 2.1
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:L/AC:L/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-4452.md and follow it. Check whether this project is affected by CVE-2012-4452. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://rhn.redhat.com/errata/RHSA-2013-0121.html
- http://www.openwall.com/lists/oss-security/2012/09/27/1
- http://www.securityfocus.com/bid/55715
- https://bugzilla.redhat.com/show_bug.cgi?id=860808
- http://rhn.redhat.com/errata/RHSA-2013-0121.html
- http://www.openwall.com/lists/oss-security/2012/09/27/1
- http://www.securityfocus.com/bid/55715
- https://bugzilla.redhat.com/show_bug.cgi?id=860808