CVE-2009-4030
Vulnerability Summary
Timeline
Description
MySQL 5.1.x before 5.1.41 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 an incomplete fix for CVE-2008-4098 and CVE-2008-2079.
CVSS Metrics
- v2.0•MEDIUM•Score: 4.4AV:L/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.03%• Percentile: 8%
Techniques & Countermeasures
- CWE-59•Improper Link Resolution Before File Access ('Link Following')
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected Systems
- mysql•mysql
5.1.5 | 5.1.23 | 5.1.32
- oracle•mysql
5.1 | 5.1.1 | 5.1.2 | 5.1.3 | 5.1.4 | 5.1.6 | 5.1.7 | 5.1.8 | 5.1.9 | 5.1.10 | 5.1.11 | 5.1.12 | 5.1.13 | 5.1.14 | 5.1.15 | 5.1.16 | 5.1.17 | 5.1.18 | 5.1.19 | 5.1.20 | 5.1.21 | 5.1.22 | 5.1.30
References (21)
- http://secunia.com/advisories/38573
- http://www.ubuntu.com/usn/USN-1397-1
- http://secunia.com/advisories/38517
- http://www.redhat.com/support/errata/RHSA-2010-0109.html
- http://www.vupen.com/english/advisories/2010/1107
- http://www.openwall.com/lists/oss-security/2009/11/24/6
- http://ubuntu.com/usn/usn-897-1
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://www.openwall.com/lists/oss-security/2009/11/19/3
- http://marc.info/?l=oss-security&m=125908080222685&w=2
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- http://support.apple.com/kb/HT4077
- http://marc.info/?l=oss-security&m=125908040022018&w=2
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11116
- http://www.redhat.com/support/errata/RHSA-2010-0110.html
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00005.html
- http://bugs.mysql.com/bug.php?id=32167
- http://lists.mysql.com/commits/89940
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8156
- http://www.debian.org/security/2010/dsa-1997