CVE-2008-4098: Medium severity ubuntu vulnerability

Published Jul 3, 2008
·
Updated

Devin Carraway of the Debian Security Team discovered that the upstream fix for the CVE-2008-2079 is incomplete and still makes it possible for local users to create tables via INDEX/DATA DIRECTORY directives in the MySQL data directory (/var/lib/mysql) via directory symlinks.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480292#25

CVE-2008-2079 was tracked via bug bug #445222.

An attacker needs following to exploit this issue: - MySQL database account with privileges to create tables - shell access to the host running MySQL database with write access to a directory accessible by the mysqld daemon process

Other sources

MySQL before 5.0.67 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 home data directory. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4097.

Red Hat

Affected Software

53 affected componentsFixes available
redhat/mysql<0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=9.04
Canonical Ubuntu Linux=7.10
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=8.10
Canonical Ubuntu Linux=9.10
Debian Debian Linux=5.0
MySQL mysql=5.0.5
MySQL mysql=5.0.10
MySQL mysql=5.0.54
MySQL mysql=5.0.0
MySQL mysql=5.0.15
MySQL mysql=5.0.17
MySQL mysql=5.0.3
MySQL mysql=5.0.44
MySQL mysql=5.0.66
MySQL mysql=5.0.56
MySQL mysql=5.0.60
MySQL mysql=5.0.24
MySQL mysql=5.0.2
MySQL mysql=5.0.30
MySQL mysql=5.0.20
MySQL mysql=5.0.1
MySQL mysql=5.0.4
MySQL mysql=5.0.36
MySQL mysql=5.0.16
Oracle MySQL=5.0.48
Oracle MySQL=5.0.50-sp1
Oracle MySQL=5.0.50
Oracle MySQL=5.0.51
Oracle MySQL=5.0.23
Oracle MySQL=5.0.25
Oracle MySQL=5.0.26
Oracle MySQL=5.0.28
Oracle MySQL=5.0.30-sp1
Oracle MySQL=5.0.32
Oracle MySQL=5.0.34
Oracle MySQL=5.0.36-sp1
Oracle MySQL=5.0.38
Oracle MySQL=5.0.40
Oracle MySQL=5.0.41
Oracle MySQL=5.0.42
Oracle MySQL=5.0.44-sp1
Oracle MySQL=5.0.45
Oracle MySQL=5.0.46
Oracle MySQL=5.0.52
Oracle MySQL=5.0.56-sp1
Oracle MySQL=5.0.58
Oracle MySQL=5.0.62
Oracle MySQL=5.0.64
Oracle MySQL=5.0.60-sp1
Oracle MySQL=5.0.66-sp1

Remediation

Event History

Jul 3, 2008
CVE Published
via Red Hat·12:00 AM
Jul 4, 2008
Data Sourced
via Red Hat·01:08 PM
DescriptionSeverityAffected Software
Sep 17, 2008
CVE Published
via MITRE·06:06 PM
Data Sourced
via MITRE·06:06 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2008-4098?

CVE-2008-4098 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2008-4098?

To mitigate CVE-2008-4098, it is recommended to upgrade MySQL to version 5.0.67 or later.

3

What software is affected by CVE-2008-4098?

CVE-2008-4098 affects MySQL versions before 5.0.67 and specific distributions of Linux including Red Hat and Ubuntu.

4

Can CVE-2008-4098 be exploited remotely?

No, CVE-2008-4098 can only be exploited by local users on the affected system.

5

What is the impact of CVE-2008-4098 on MySQL databases?

CVE-2008-4098 allows local users to bypass certain privilege checks, potentially leading to unauthorized access to data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203