CVE-2008-2079 Privilege escalation in n/a

Medium 4.6 Published Updated

Local users can bypass privilege checks via crafted CREATE TABLE commands, leading to unauthorized access to future tables.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2008-2079?

CVE-2008-2079 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 5 May 2008. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-264

Which versions are affected by CVE-2008-2079?

It affects 4 products.

Linux distribution packages (40)
httpd Red Hat:rhel_application_stack:1All versions0:2.0.63-2.el4s1.2
httpd-debuginfo Red Hat:rhel_application_stack:1All versions0:2.0.63-2.el4s1.2
httpd-devel Red Hat:rhel_application_stack:1All versions0:2.0.63-2.el4s1.2
httpd-manual Red Hat:rhel_application_stack:1All versions0:2.0.63-2.el4s1.2
mod_jk Red Hat:rhel_application_stack:1All versions0:1.2.26-1.el4s1.1
mod_jk-ap20 Red Hat:rhel_application_stack:1All versions0:1.2.26-1.el4s1.1
mod_jk-debuginfo Red Hat:rhel_application_stack:1All versions0:1.2.26-1.el4s1.1
mod_jk-manual Red Hat:rhel_application_stack:1All versions0:1.2.26-1.el4s1.1
mod_ssl Red Hat:rhel_application_stack:1All versions1:2.0.63-2.el4s1.2
mysql Red Hat:rhel_application_stack:1All versions0:5.0.50sp1a-2.el4s1.1
mysql-bench Red Hat:rhel_application_stack:1All versions0:5.0.50sp1a-2.el4s1.1
mysql-cluster Red Hat:rhel_application_stack:1All versions0:5.0.50sp1a-2.el4s1.1
mysql-connector-odbc Red Hat:rhel_application_stack:1All versions0:3.51.24r1071-1.el4s1.1
mysql-connector-odbc-debuginfo Red Hat:rhel_application_stack:1All versions0:3.51.24r1071-1.el4s1.1
mysql-debuginfo Red Hat:rhel_application_stack:1All versions0:5.0.50sp1a-2.el4s1.1
mysql-devel Red Hat:rhel_application_stack:1All versions0:5.0.50sp1a-2.el4s1.1
mysql-libs Red Hat:rhel_application_stack:1All versions0:5.0.50sp1a-2.el4s1.1
mysql-server Red Hat:rhel_application_stack:1All versions0:5.0.50sp1a-2.el4s1.1
mysql-test Red Hat:rhel_application_stack:1All versions0:5.0.50sp1a-2.el4s1.1
perl-DBD-MySQL Red Hat:rhel_application_stack:1All versions0:4.006-1.el4
perl-DBD-MySQL-debuginfo Red Hat:rhel_application_stack:1All versions0:4.006-1.el4
perl-DBI Red Hat:rhel_application_stack:1All versions0:1.604-1.el4s1
perl-DBI-debuginfo Red Hat:rhel_application_stack:1All versions0:1.604-1.el4s1
php Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-bcmath Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-cli Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-common Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-dba Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-debuginfo Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-devel Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-gd Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-imap Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-ldap Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-mbstring Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-mysql Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-ncurses Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-odbc Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-pdo Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-pgsql Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9
php-snmp Red Hat:rhel_application_stack:1All versions0:5.1.6-3.el4s1.9

Products include Canonical Ubuntu Linux, Debian Debian Linux, Mysql Mysql, Oracle Mysql.

How do I fix CVE-2008-2079?

Upgrade to a fixed version.

Is CVE-2008-2079 being exploited?

There is no known exploitation of CVE-2008-2079 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DTSA-150-1, GHSA-789p-mwwq-w5cp, RHSA-2008:0510.

Is CVE-2008-2079 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free