mysql: privilege escalation via DATA/INDEX DIRECTORY directives
Published May 5, 2008
4.6
MEDIUMCVSS 2.0
EPSS 2.59%
Description
MySQL 4.1.x before 4.1.24, 5.0.x before 5.0.60, 5.1.x before 5.1.24, and 6.0.x before 6.0.5 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 within the MySQL home data directory, which can point to tables that are created in the future.
Affected products
No data.
Configuration 1
Configuration 2
- 4.0
Configuration 3
- 6.06
- 7.10
- 8.04
No data.
Red Hat Enterprise Linux 4
mysql-0:4.1.22-2.el4
Fixed · RHSA-2008:0768
Red Hat Enterprise Linux 5
mysql-0:5.0.77-3.el5
Fixed · RHSA-2009:1289
Red Hat Web Application Stack for RHEL 4
httpd-0:2.0.63-2.el4s1.2
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
mod_jk-0:1.2.26-1.el4s1.1
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
mysql-0:5.0.50sp1a-2.el4s1.1
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
mysql-connector-odbc-0:3.51.24r1071-1.el4s1.1
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
perl-DBD-MySQL-0:4.006-1.el4
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
perl-DBI-0:1.604-1.el4s1
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
php-0:5.1.6-3.el4s1.9
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
postgresql-jdbc-0:8.1.412-1jpp.el4s1.1
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
postgresqlclient7-0:7.4.19-1.el4s1.1
Fixed · RHSA-2008:0510
Red Hat Web Application Stack for RHEL 4
unixODBC-0:2.2.12-6.el4s1.1
Fixed · RHSA-2008:0510
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | mysql-0:4.1.22-2.el4 | Fixed | RHSA-2008:0768 |
| Red Hat Enterprise Linux 5 | mysql-0:5.0.77-3.el5 | Fixed | RHSA-2009:1289 |
| Red Hat Web Application Stack for RHEL 4 | httpd-0:2.0.63-2.el4s1.2 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | mod_jk-0:1.2.26-1.el4s1.1 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | mysql-0:5.0.50sp1a-2.el4s1.1 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | mysql-connector-odbc-0:3.51.24r1071-1.el4s1.1 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | perl-DBD-MySQL-0:4.006-1.el4 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | perl-DBI-0:1.604-1.el4s1 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | php-0:5.1.6-3.el4s1.9 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | postgresql-jdbc-0:8.1.412-1jpp.el4s1.1 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | postgresqlclient7-0:7.4.19-1.el4s1.1 | Fixed | RHSA-2008:0510 |
| Red Hat Web Application Stack for RHEL 4 | unixODBC-0:2.2.12-6.el4s1.1 | Fixed | RHSA-2008:0510 |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect MySQL as supplied with Red Hat Enterprise Linux 3.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:H/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.59% (0.02588) | 84.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.59% (0.02588) | 83.19th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.56% (0.00564) | 65.75th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.11% (0.02109) | 73.47th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.56% (0.00564) | 66.42th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.90th | v3 (v2023.03.01) |
| Jul 10, 2024 | 0.04% (0.00045) | 16.07th | v3 (v2023.03.01) |
| Apr 11, 2024 | 0.04% (0.00045) | 14.01th | v3 (v2023.03.01) |
| Mar 1, 2024 | 0.04% (0.00045) | 11.94th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 8.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
References (37)
- http://bugs.mysql.com/bug.php?id=32167 x_refsource_CONFIRMExploitPatchVendor Advisory
- http://dev.mysql.com/doc/refman/4.1/en/news-4-1-24.html x_refsource_CONFIRMVendor Advisory
- http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-60.html x_refsource_CONFIRMVendor Advisory
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-24.html x_refsource_CONFIRMVendor Advisory
- http://dev.mysql.com/doc/refman/6.0/en/news-6-0-5.html x_refsource_CONFIRMVendor Advisory
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://secunia.com/advisories/30134 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/31066 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/31226 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/31687 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/32222 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/32769 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/36566 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/36701 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://support.apple.com/kb/HT3216 x_refsource_CONFIRMThird Party Advisory
- http://support.apple.com/kb/HT3865 x_refsource_CONFIRMThird Party Advisory
- http://www.debian.org/security/2008/dsa-1608 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:149 vendor-advisoryx_refsource_MANDRIVAThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:150 vendor-advisoryx_refsource_MANDRIVAThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0505.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0510.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0768.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2009-1289.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.securityfocus.com/bid/29106 vdb-entryx_refsource_BIDPatchThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/31681 vdb-entryx_refsource_BIDPatchThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1019995 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-671-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.vupen.com/english/advisories/2008/1472/references vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2008/2780 vdb-entryx_refsource_VUPENThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2008-2079 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=445222 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42267 vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry
- https://nvd.nist.gov/vuln/detail/CVE-2008-2079
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10133 vdb-entrysignaturex_refsource_OVALThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2008-2079
Change history (0)
No recorded changes yet.