MySQL Privilege Escalation Vulnerability - Linux
🗓️ 14 Aug 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType
openvas🔗 plugins.openvas.org👁 685 Views
| Reporter | Title | Published | Views | Family All 105 |
|---|---|---|---|---|
| Oracle MySQL Enterprise Server 5.0 < 5.0.70 Privilege Bypass | 10 Nov 200800:00 | – | nessus | |
| CentOS 5 : mysql (CESA-2009:1289) | 6 Jan 201000:00 | – | nessus | |
| CentOS 5 : mysql (CESA-2010:0109) | 2 Mar 201000:00 | – | nessus | |
| CentOS 4 : mysql (CESA-2010:0110) | 18 Feb 201000:00 | – | nessus | |
| Debian DSA-1662-1 : mysql-dfsg-5.0 - authorization bypass | 6 Nov 200800:00 | – | nessus | |
| FreeBSD : mysql -- MyISAM table privileges security bypass vulnerability for symlinked paths (738f8f9e-d661-11dd-a765-0030843d3802) | 30 Dec 200800:00 | – | nessus | |
| GLSA-201201-02 : MySQL: Multiple vulnerabilities | 6 Jan 201200:00 | – | nessus | |
| Mandriva Linux Security Advisory : mysql (MDVSA-2009:094) | 23 Apr 200900:00 | – | nessus | |
| Mandriva Linux Security Advisory : mysql (MDVSA-2009:326) | 8 Dec 200900:00 | – | nessus | |
| Mandriva Linux Security Advisory : mysql (MDVSA-2010:011) | 18 Jan 201000:00 | – | nessus |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/29106 |
| bugs | www.bugs.mysql.com/bug.php |
# SPDX-FileCopyrightText: 2017 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:mysql:mysql";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.811630");
script_version("2025-09-09T05:38:49+0000");
script_cve_id("CVE-2008-4098");
script_tag(name:"cvss_base", value:"4.6");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:S/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2025-09-09 05:38:49 +0000 (Tue, 09 Sep 2025)");
script_tag(name:"creation_date", value:"2017-08-14 17:56:34 +0530 (Mon, 14 Aug 2017)");
script_name("MySQL Privilege Escalation Vulnerability - Linux");
script_tag(name:"summary", value:"MySQL is prone to a privilege escalation vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The flaw exists due to table creation option
allows the use of the MySQL data directory in DATA DIRECTORY and INDEX DIRECTORY
options.");
script_tag(name:"impact", value:"Successful exploitation of this vulnerability
will allow an authenticated user to use the DATA DIRECTORY and INDEX DIRECTORY
options to possibly bypass privilege checks.");
script_tag(name:"affected", value:"MySQL version before 5.0.67 on Linux");
script_tag(name:"solution", value:"Upgrade to MySQL version 5.0.67.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_xref(name:"URL", value:"https://bugs.mysql.com/bug.php?id=32167");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/29106");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("Databases");
script_dependencies("gb_mysql_mariadb_remote_detect.nasl", "os_detection.nasl");
script_mandatory_keys("oracle/mysql/detected", "Host/runs_unixoide");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
if(!sqlPort = get_app_port(cpe:CPE)){
exit(0);
}
if(!mysqlVer = get_app_version(cpe:CPE, port:sqlPort)){
exit(0);
}
if(version_is_less(version:mysqlVer, test_version:"5.0.67"))
{
report = report_fixed_ver(installed_version:mysqlVer, fixed_version: "5.0.67");
security_message(data:report, port:sqlPort);
exit(0);
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
09 Sep 2025 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 24.6
EPSS0.01624