MySQL Authenticated Access Restrictions Bypass Vulnerability on Linux. Allows bypassing access restrictions via symlink to different filesystem in MySQL data home directory
Reporter | Title | Published | Views | Family All 71 |
---|---|---|---|---|
OpenVAS | Mandriva Update for mmc MDVA-2010:044 (mmc) | 29 Jan 201000:00 | – | openvas |
OpenVAS | Mandriva Update for mmc MDVA-2010:044 (mmc) | 29 Jan 201000:00 | – | openvas |
OpenVAS | Mandriva Update for mysql MDVSA-2010:044 (mysql) | 22 Feb 201000:00 | – | openvas |
OpenVAS | Mandriva Update for mysql MDVSA-2010:044 (mysql) | 22 Feb 201000:00 | – | openvas |
OpenVAS | Fedora Update for mysql FEDORA-2010-1300 | 2 Mar 201000:00 | – | openvas |
OpenVAS | Fedora Update for mysql FEDORA-2010-1348 | 2 Mar 201000:00 | – | openvas |
OpenVAS | Fedora Update for mysql FEDORA-2010-1348 | 2 Mar 201000:00 | – | openvas |
OpenVAS | Fedora Update for mysql FEDORA-2010-1300 | 2 Mar 201000:00 | – | openvas |
OpenVAS | Fedora Update for mysql FEDORA-2010-7355 | 17 May 201000:00 | – | openvas |
OpenVAS | Fedora Update for mysql FEDORA-2010-7414 | 17 May 201000:00 | – | openvas |
Source | Link |
---|---|
marc | www.marc.info/ |
bugs | www.bugs.mysql.com/bug.php |
lists | www.lists.mysql.com/commits/59711 |
# SPDX-FileCopyrightText: 2009 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.801065");
script_version("2024-02-15T05:05:39+0000");
script_tag(name:"last_modification", value:"2024-02-15 05:05:39 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2009-12-04 14:17:59 +0100 (Fri, 04 Dec 2009)");
script_tag(name:"cvss_base", value:"6.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:P/I:P/A:P");
script_cve_id("CVE-2008-7247");
script_name("MySQL Authenticated Access Restrictions Bypass Vulnerability - Linux");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Denial of Service");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_dependencies("mysql_version.nasl");
script_mandatory_keys("MySQL/installed");
script_tag(name:"impact", value:"Successful exploitation could allow users to bypass intended access restrictions
by calling CREATE TABLE with DATA DIRECTORY or INDEX DIRECTORY argument referring to a subdirectory.");
script_tag(name:"affected", value:"MySQL 5.0.x before 5.0.88, 5.1.x before 5.1.41, 6.0 before 6.0.9-alpha.");
script_tag(name:"insight", value:"The flaw is due to an error in 'sql/sql_table.cc', when the data home directory
contains a symlink to a different filesystem.");
script_tag(name:"solution", value:"Upgrade to MySQL version 5.0.88 or 5.1.41 or 6.0.9-alpha.");
script_tag(name:"summary", value:"MySQL is prone to Access Restrictions Bypass Vulnerability.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://lists.mysql.com/commits/59711");
script_xref(name:"URL", value:"http://bugs.mysql.com/bug.php?id=39277");
script_xref(name:"URL", value:"http://marc.info/?l=oss-security&m=125908040022018&w=2");
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);
mysqlVer = eregmatch(pattern:"([0-9.a-z]+)", string:mysqlVer);
if(!mysqlVer[1])
exit(0);
if(version_in_range(version:mysqlVer[1], test_version:"5.0",test_version2:"5.0.87") ||
version_in_range(version:mysqlVer[1], test_version:"5.1",test_version2:"5.1.40")){
report = report_fixed_ver(installed_version:mysqlVer[1], fixed_version:"5.0.88/5.1.41");
security_message(port:sqlPort, data:report);
exit(0);
}
else if(mysqlVer[1] =~ "^6\.")
{
if(version_is_less(version:mysqlVer[1],test_version:"6.0.9a")){
report = report_fixed_ver(installed_version:mysqlVer[1], fixed_version:"6.0.9a");
security_message(port:sqlPort, data:report);
exit(0);
}
}
exit(99);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo