CVE-2009-4030
What it is
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.
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: 4.4 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-59
- Record status
- Modified
Affected
- MySQL 5.1.5
- MySQL 5.1.23
- MySQL 5.1.32
- Oracle MySQL 5.1
- Oracle MySQL 5.1.1
- Oracle MySQL 5.1.2
- Oracle MySQL 5.1.3
- Oracle MySQL 5.1.4
Attack profile CVSS 2.0 · 4.4
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
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-2009-4030.md and follow it. Check whether this project is affected by CVE-2009-4030. 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://bugs.mysql.com/bug.php?id=32167
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://lists.mysql.com/commits/89940
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00005.html
- 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://ubuntu.com/usn/usn-897-1
- http://www.debian.org/security/2010/dsa-1997
- http://www.openwall.com/lists/oss-security/2009/11/19/3
- http://www.openwall.com/lists/oss-security/2009/11/24/6
- 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://www.vupen.com/english/advisories/2010/1107
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11116
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8156
- http://bugs.mysql.com/bug.php?id=32167
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://lists.mysql.com/commits/89940