CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:S/C:N/I:N/A:P
AI Score
Confidence
High
EPSS
Percentile
83.6%
Oracle MySQL is prone to multiple 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.812349");
script_version("2023-07-25T05:05:58+0000");
script_cve_id("CVE-2012-0087", "CVE-2012-0102", "CVE-2012-0101");
script_tag(name:"cvss_base", value:"4.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:N/A:P");
script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
script_tag(name:"creation_date", value:"2017-12-14 15:51:11 +0530 (Thu, 14 Dec 2017)");
script_name("Oracle Mysql Security Updates (jan2012-366304) 04 - Linux");
script_tag(name:"summary", value:"Oracle MySQL is prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Multiple flaws exist due to multiple
unspecified errors in MySQL Server.");
script_tag(name:"impact", value:"Successful exploitation of this
vulnerability will allow remote users to affect integrity, availability
and confidentiality.");
script_tag(name:"affected", value:"Oracle MySQL version 5.0.x and 5.1.x on
Linux");
script_tag(name:"solution", value:"Apply the patch from the referenced advisory.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_xref(name:"URL", value:"http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/51509");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/51502");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/51505");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("Databases");
script_dependencies("mysql_version.nasl", "os_detection.nasl");
script_mandatory_keys("oracle/mysql/detected", "Host/runs_unixoide");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
CPE = "cpe:/a:oracle:mysql";
if(isnull(port = get_app_port(cpe:CPE)))
exit(0);
if(!infos = get_app_version_and_location(cpe:CPE, port:port, exit_no_version:TRUE))
exit(0);
vers = infos["version"];
path = infos["location"];
if(version_in_range(version:vers, test_version:"5.0", test_version2:"5.0.94")||
version_in_range(version:vers, test_version:"5.1", test_version2:"5.1.60"))
{
report = report_fixed_ver(installed_version:vers, fixed_version:"Apply the patch", install_path:path);
security_message(port:port, data:report);
exit(0);
}
exit(99);