Lucene search

K
openvasCopyright (C) 2017 Greenbone AGOPENVAS:1361412562310812180
HistoryNov 23, 2017 - 12:00 a.m.

MySQL Server Components Multiple Unspecified Vulnerabilities

2017-11-2300:00:00
Copyright (C) 2017 Greenbone AG
plugins.openvas.org
18

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

AV:N/AC:L/Au:S/C:N/I:N/A:C

AI Score

5.5

Confidence

High

EPSS

0.003

Percentile

65.2%

MySQL is prone to multiple unspecified vulnerabilities.

# 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.812180");
  script_version("2023-07-25T05:05:58+0000");
  script_cve_id("CVE-2012-1690", "CVE-2012-1688", "CVE-2012-1703");
  script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
  script_tag(name:"creation_date", value:"2017-11-23 14:48:53 +0530 (Thu, 23 Nov 2017)");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:N/A:C");
  script_name("MySQL Server Components Multiple Unspecified Vulnerabilities");
  script_xref(name:"URL", value:"http://secunia.com/advisories/48890");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/53074");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/53067");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/53058");
  script_xref(name:"URL", value:"http://www.oracle.com/technetwork/topics/security/cpuapr2012-366314.html#AppendixMSQL");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Databases");
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");
  script_dependencies("mysql_version.nasl", "os_detection.nasl");
  script_mandatory_keys("MySQL/installed", "Host/runs_unixoide");

  script_tag(name:"impact", value:"Successful exploitation could allow
  remote authenticated users to affect availability via unknown vectors.");

  script_tag(name:"affected", value:"MySQL version 5.1.x before 5.1.62
  and 5.5.x before 5.5.22");

  script_tag(name:"insight", value:"Multiple unspecified errors in Server
  Optimizer and Server DML components.");

  script_tag(name:"solution", value:"Apply the patch from the referenced advisory.");

  script_tag(name:"summary", value:"MySQL is prone to multiple unspecified vulnerabilities.");
  exit(0);
}

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

if(!sqlPort = get_app_port(cpe:CPE)) exit(0);

if(!infos = get_app_version_and_location(cpe:CPE, port:sqlPort, exit_no_version:TRUE)) exit(0);
mysqlVer = infos['version'];
mysqlPath = infos['location'];

if(mysqlVer && mysqlVer =~ "^(5\.(1|5))")
{
  if(version_in_range(version:mysqlVer, test_version:"5.1", test_version2:"5.1.61") ||
     version_in_range(version:mysqlVer, test_version:"5.5", test_version2:"5.5.21"))
  {
    report = report_fixed_ver( installed_version:mysqlVer, fixed_version: "Apply the patch", install_path:mysqlPath );
    security_message(port:sqlPort, data:report);
    exit(0);
  }
}

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

AV:N/AC:L/Au:S/C:N/I:N/A:C

AI Score

5.5

Confidence

High

EPSS

0.003

Percentile

65.2%