cve.bz

CVE-2008-4098 Link Following

no score yetEPSS 1.6%Fix available

No CVSS score yet. EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2008-4098 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-4098?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-4098?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-4098 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:ubuntu_linux6.06
canonical:ubuntu_linux7.10
canonical:ubuntu_linux8.04
canonical:ubuntu_linux8.10
canonical:ubuntu_linux9.04
canonical:ubuntu_linux9.10
debian:debian_linux5.0
mysql:mysql5.0.0
mysql:mysql5.0.1
mysql:mysql5.0.2
mysql:mysql5.0.3
mysql:mysql5.0.4
mysql:mysql5.0.5
mysql:mysql5.0.10
mysql:mysql5.0.15
mysql:mysql5.0.16
mysql:mysql5.0.17
mysql:mysql5.0.20
mysql:mysql5.0.24
mysql:mysql5.0.30
mysql:mysql5.0.36
mysql:mysql5.0.44
mysql:mysql5.0.54
mysql:mysql5.0.56
mysql:mysql5.0.60
mysql:mysql5.0.66
oracle:mysql5.0.23
oracle:mysql5.0.25
oracle:mysql5.0.26
oracle:mysql5.0.28
oracle:mysql5.0.30:sp1
oracle:mysql5.0.32
oracle:mysql5.0.34
oracle:mysql5.0.36:sp1
oracle:mysql5.0.38
oracle:mysql5.0.40
oracle:mysql5.0.41
oracle:mysql5.0.42
oracle:mysql5.0.44:sp1
oracle:mysql5.0.45
oracle:mysql5.0.46
oracle:mysql5.0.48
oracle:mysql5.0.50
oracle:mysql5.0.50:sp1
oracle:mysql5.0.51
oracle:mysql5.0.52
oracle:mysql5.0.56:sp1
oracle:mysql5.0.58
oracle:mysql5.0.60:sp1
oracle:mysql5.0.62
oracle:mysql5.0.64
oracle:mysql5.0.66:sp1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian4.0mysql-dfsg-5.05.0.32-7etch8DSA-1662-1
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moremysql, mysql-bench, mysql-devel and 2 more0:4.1.22-2.el4_8.3RHSA-2010:0110
Red Hatrhel_application_stack:2httpd, httpd-devel, httpd-manual and 1 more0:2.2.11-2.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2mod_jk, mod_jk-ap20, mod_jk-debuginfo0:1.2.28-2.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2mod_ssl1:2.2.11-2.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2mysql, mysql-libs, mysql-test and 5 more0:5.0.79-2.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2mysql-connector-odbc, mysql-connector-odbc-debuginfo0:3.51.27r695-1.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2perl-DBD-MySQL, perl-DBD-MySQL-debuginfo0:4.010-1.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2perl-DBD-Pg, perl-DBD-Pg-debuginfo0:1.49-5.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2php, php-gd, php-cli and 17 more0:5.2.9-2.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2postgresql, postgresql-tcl, postgresql-docs and 10 more0:8.2.13-2.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2postgresql-jdbc, postgresql-jdbc-debuginfo0:8.2.509-2jpp.el5s2RHSA-2009:1067
Red Hatrhel_application_stack:2postgresqlclient81, postgresqlclient81-debuginfo0:8.1.17-1.el5s2RHSA-2009:1067

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In Red Hat Enterprise Linux 5, issue CVE-2008-2079 was fixed without introducing CVE-2008-4098 in RHSA-2009:1289.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4mysql-0:4.1.22-2.el4_8.3Fixed 2010-02-16RHSA-2010:0110

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-4098.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON