The version of MySQL 5.5 installed on the remote host is earlier than 5.5.28 and is, therefore, affected by vulnerabilities in the following components :
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(62642);
script_version("1.11");
script_cvs_date("Date: 2019/12/04");
script_cve_id(
"CVE-2012-0553",
"CVE-2012-3160",
"CVE-2012-3177",
"CVE-2012-3180",
"CVE-2012-5060"
);
script_bugtraq_id(
56003,
56005,
56027,
57411,
58594
);
script_name(english:"MySQL 5.5 < 5.5.28 Multiple Vulnerabilities");
script_summary(english:"Checks version of MySQL server");
script_set_attribute(attribute:"synopsis", value:
"The remote database server is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of MySQL 5.5 installed on the remote host is earlier than
5.5.28 and is, therefore, affected by vulnerabilities in the following
components :
- GIS Extension
- Server
- Server Installation
- Server Optimizer
- yaSSL");
script_set_attribute(attribute:"see_also", value:"http://dev.mysql.com/doc/refman/5.5/en/news-5-5-28.html");
# https://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?87547c81");
# https://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html#AppendixMSQL
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4ff06601");
script_set_attribute(attribute:"see_also", value:"https://blogs.oracle.com/sunsecurity/cve-2012-0553-buffer-overflow-vulnerability-in-yassl");
script_set_attribute(attribute:"solution", value:
"Upgrade to MySQL version 5.5.28 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2012-0553");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2012/10/16");
script_set_attribute(attribute:"patch_publication_date", value:"2012/10/16");
script_set_attribute(attribute:"plugin_publication_date", value:"2012/10/19");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:mysql:mysql");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Databases");
script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("mysql_version.nasl", "mysql_login.nasl");
script_require_keys("Settings/ParanoidReport");
script_require_ports("Services/mysql", 3306);
exit(0);
}
include("mysql_version.inc");
mysql_check_version(fixed:'5.5.28', min:'5.5', severity:SECURITY_HOLE);
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0553
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3160
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3177
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3180
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5060
dev.mysql.com/doc/refman/5.5/en/news-5-5-28.html
www.nessus.org/u?4ff06601
www.nessus.org/u?87547c81
blogs.oracle.com/sunsecurity/cve-2012-0553-buffer-overflow-vulnerability-in-yassl