CVE-2008-4097: MySQL - Broken Access Control
- Cve: CVE-2008-4097
- Name: MySQL - Broken Access Control
- Description: MySQL 5.0.51a 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 associated with symlinks within pathnames for subdirectories of the MySQL home data directory, which are followed when tables are created in the future. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-2079.
- Impact: Local users can bypass privilege checks, potentially leading to unauthorized data access or privilege escalation.
- Remediation: Update to a version where this issue is fixed, or apply the latest security patches from MySQL.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker needs local user access
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.6
- Cvss vector: CVSS:2.0/AV:N/AC:H/Au:S/C:P/I:P/A:P
- Epss score: 0.01851
- Epss percentile: 0.79676
- Assignee: [email protected]
- Published at: 2008-09-18T15:04:27Z
- Age in days: 6641
- Modified at: 2026-06-16T22:57:10Z
- References total: 7
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-4097
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-264 | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://secunia.com/advisories/32759 | Vendor Advisory |
| http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480292#25 | Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html | Third Party Advisory |
| http://www.ubuntu.com/usn/USN-671-1 | Third Party Advisory |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/45648 | VDB Entry |
| http://www.openwall.com/lists/oss-security/2008/09/09/20 | Mailing List |
| http://www.openwall.com/lists/oss-security/2008/09/16/3 | Mailing List |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| oracle:mysql | = 5.0.51a | no | nvd | /v1/products/oracle/mysql |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1704331
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports