Lucene search
+L

MariaDB Denial Of Service Vulnerability - Windows

🗓️ 28 Oct 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 53 Views

MariaDB Denial Of Service Vulnerability on Windows. Numeric calculation error allows remote attacker to crash program via crafted geometry featur

Related
Refs
Code
# SPDX-FileCopyrightText: 2013 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:mariadb:mariadb";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.804035");
  script_version("2025-09-09T05:38:49+0000");
  script_cve_id("CVE-2013-1861");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/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:"2013-10-28 19:18:10 +0530 (Mon, 28 Oct 2013)");
  script_name("MariaDB Denial Of Service Vulnerability - Windows");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_family("Databases");
  script_dependencies("gb_mysql_mariadb_remote_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("mariadb/detected", "Host/runs_windows");

  script_xref(name:"URL", value:"http://secunia.com/advisories/52639");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/58511");
  script_xref(name:"URL", value:"https://mariadb.atlassian.net/browse/MDEV-4252");
  script_xref(name:"URL", value:"http://lists.askmonty.org/pipermail/commits/2013-March/004371.html");

  script_tag(name:"summary", value:"MariaDB is prone to a denial of service (DoS) vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"solution", value:"Upgrade to MariaDB 5.1.68, 5.2.15, 5.3.13, 5.5.30 or later.");

  script_tag(name:"insight", value:"Numeric calculation error occurs due to an improper handling of geometry
  feature while converting a binary string representation of a raw geometry
  object to a textual representation.");

  script_tag(name:"affected", value:"MariaDB version 5.5.x before 5.5.30, 5.3.x before 5.3.13,
  5.2.x before 5.2.15, and 5.1.x before 5.1.68 on Windows");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attacker to crash the program
  via a crafted geometry feature that specifies a large number of points.");

  script_tag(name:"qod_type", value:"remote_banner");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

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

if(!mariadbPort = get_app_port(cpe:CPE)){
  exit(0);
}

mariadbVer = get_app_version(cpe:CPE, port:mariadbPort);
if(!mariadbVer || mariadbVer !~ "^5\.[1235]\."){
  exit(0);
}

if(version_in_range(version:mariadbVer, test_version:"5.1", test_version2:"5.1.67") ||
   version_in_range(version:mariadbVer, test_version:"5.2", test_version2:"5.2.14") ||
   version_in_range(version:mariadbVer, test_version:"5.3", test_version2:"5.3.12") ||
   version_in_range(version:mariadbVer, test_version:"5.5", test_version2:"5.5.29"))
{
  fix = "5.1.68, or 5.2.15, or 5.3.13, or 5.5.30";
  report = report_fixed_ver(installed_version:mariadbVer, fixed_version:fix);
  security_message(port:mariadbPort, data:report);
  exit(0);
}

exit(99);

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
4.5Medium risk
Vulners AI Score4.5
CVSS 25
EPSS0.18675
53