Back to CVE catalog
CVE-2008-4098

MySQL privilege check bypass

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

4.6Medium
Published:
Updated:
EPSS:
1.624%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:mysqlmysqlAffected versions:
5.0.0Show full version range for mysql
5.0.15.0.105.0.155.0.165.0.175.0.25.0.205.0.245.0.35.0.305.0.365.0.45.0.445.0.55.0.545.0.565.0.605.0.66
Vendor:oraclemysqlAffected versions:
5.0.23Show full version range for mysql
5.0.255.0.265.0.285.0.305.0.325.0.345.0.365.0.385.0.405.0.415.0.425.0.445.0.455.0.465.0.485.0.505.0.515.0.525.0.565.0.585.0.605.0.625.0.645.0.66
Vendor:Canonicalubuntu linuxAffected versions:
6.06Show full version range for ubuntu linux
7.108.048.109.049.10
Vendor:Debiandebian linuxAffected versions:
5.0

1–4 of 4 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary4.6 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:H/Au:S/C:P/I:P/A:P
nvd · Wazuh CTI (cna)4.6 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:H/Au:S/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories22

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences