Lucene search
+L

MariaDB Client Version Handling Remote Buffer Overflow Vulnerability - Windows

🗓️ 03 Feb 2014 00:00:00Reported by Copyright (C) 2014 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 47 Views

MariaDB Client Remote Buffer Overflow Vulnerability - Window

Related
Refs
Code
# SPDX-FileCopyrightText: 2014 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.804083");
  script_version("2024-02-15T05:05:40+0000");
  script_cve_id("CVE-2014-0001");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2024-02-15 05:05:40 +0000 (Thu, 15 Feb 2024)");
  script_tag(name:"creation_date", value:"2014-02-03 18:02:51 +0530 (Mon, 03 Feb 2014)");
  script_name("MariaDB Client Version Handling Remote Buffer Overflow Vulnerability - Windows");

  script_tag(name:"summary", value:"MariaDB Client is prone to remote buffer overflow vulnerability.");
  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
  script_tag(name:"insight", value:"Flaw is due to an user-supplied input is not properly validated when handling
server versions in client/mysql.cc.");
  script_tag(name:"impact", value:"Successful exploitation will allow attackers to manipulate certain data and
cause a DoS (Denial of Service).");
  script_tag(name:"affected", value:"MariaDB version 5.5.34 and earlier.");
  script_tag(name:"solution", value:"Upgrade to MariaDB version 5.5.35 or later.");
  script_tag(name:"qod_type", value:"executable_version");
  script_tag(name:"solution_type", value:"VendorFix");

  script_xref(name:"URL", value:"http://www.scip.ch/en/?vuldb.12135");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/65298");
  script_xref(name:"URL", value:"http://securitytracker.com/id/1029708");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2014 Greenbone AG");
  script_family("Buffer overflow");
  script_dependencies("smb_reg_service_pack.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  exit(0);
}

include("smb_nt.inc");
include("secpod_smb_func.inc");
include("version_func.inc");
include("host_details.inc");

key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
if(!registry_key_exists(key:key)){
  exit(0);
}

foreach item (registry_enum_keys(key:key))
{
  appName = registry_get_sz(key:key + item, item:"DisplayName");
  if("MariaDB" >< appName)
  {
    insloc = registry_get_sz(key:key + item, item:"InstallLocation");
    if(!insloc) continue;

    clientVer = fetch_file_version(sysPath: insloc, file_name:"bin\mysql.exe");

    if(clientVer && clientVer =~ "^(5\.5)")
    {
      if(version_in_range(version:clientVer, test_version:"5.5", test_version2:"5.5.34"))
      {
        security_message( port: 0, data: "The target host was found to be vulnerable" );
        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

15 Feb 2024 00:00Current
7.8High risk
Vulners AI Score7.8
CVSS 27.5
EPSS0.06353
47