CVE-2009-4030
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.429%
chance of exploitation in the next 30 days
higher than 37.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-59: Improper Link Resolution Before File Access
Timeline
- 2009-11-30Published by the CNA17:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| mysql mysql | 5.1.23no fix listed5.1.32no fix listed5.1.5no fix listed | not listednot listednot listed |
| oracle mysql | 5.1no fix listed5.1.1no fix listed5.1.10no fix listed5.1.11no fix listed5.1.12no fix listed(+18 more) | not listednot listednot listednot listednot listed |
References
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00005.html
- http://ubuntu.com/usn/usn-897-1
- http://www.debian.org/security/2010/dsa-1997
- http://www.redhat.com/support/errata/RHSA-2010-0109.html
- http://www.redhat.com/support/errata/RHSA-2010-0110.html
- http://www.ubuntu.com/usn/USN-1397-1
- http://bugs.mysql.com/bug.php?id=32167
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- http://lists.mysql.com/commits/89940
- http://marc.info/?l=oss-security&m=125908040022018&w=2
- http://marc.info/?l=oss-security&m=125908080222685&w=2
- http://secunia.com/advisories/38517
- http://secunia.com/advisories/38573
- http://support.apple.com/kb/HT4077
- http://www.openwall.com/lists/oss-security/2009/11/19/3
- http://www.openwall.com/lists/oss-security/2009/11/24/6
- http://www.vupen.com/english/advisories/2010/1107
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11116
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2009-4030'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2009-4030'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2009-4030'curl 'https://api.contrastcyber.com/cve_products/CVE-2009-4030'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).