CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:N/I:N/A:C
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
EPSS
Percentile
99.4%
The version of MySQL running on the remote host is 5.7.x prior to 5.7.18. It is, therefore, affected by multiple vulnerabilities :
A carry propagation error exists in the OpenSSL component in the Broadwell-specific Montgomery multiplication procedure when handling input lengths divisible by but longer than 256 bits. This can result in transient authentication and key negotiation failures or reproducible erroneous outcomes of public-key operations with specially crafted input. A man-in-the-middle attacker can possibly exploit this issue to compromise ECDH key negotiations that utilize Brainpool P-512 curves. (CVE-2016-7055)
Multiple unspecified flaws exist in the DML subcomponent that allow an authenticated, remote attacker to cause a denial of service condition. (CVE-2017-3308, CVE-2017-3331, CVE-2017-3456, CVE-2017-3457, CVE-2017-3458)
Multiple unspecified flaws exist in the Optimizer subcomponent that allow an authenticated, remote attacker to cause a denial of service condition.
(CVE-2017-3309, CVE-2017-3453, CVE-2017-3459)
An unspecified flaw exists in the Thread Pooling subcomponent that allows an unauthenticated, remote attacker to cause a denial of service condition.
(CVE-2017-3329)
An unspecified flaw exists in the Memcached subcomponent that allows an unauthenticated, remote attacker to cause a denial of service condition. (CVE-2017-3450)
An unspecified flaw exists in the InnoDB subcomponent that allows an authenticated, remote attacker to insert and delete data contained in the database or cause a denial of service condition. (CVE-2017-3454)
An unspecified flaw exists in the ‘Security: Privileges’ subcomponent that allows an authenticated, remote attacker to insert or delete data contained in the database or disclose sensitive information.
(CVE-2017-3455)
An unspecified flaw exists in the Audit Plug-in subcomponent that allows an authenticated, remote attacker to cause a denial of service condition.
(CVE-2017-3460)
Multiple unspecified flaws exist in the ‘Security: Privileges’ subcomponent that allow an authenticated, remote attacker to cause a denial of service condition. (CVE-2017-3461, CVE-2017-3462, CVE-2017-3463)
An unspecified flaw exists in the DDL subcomponent that allows an authenticated, remote attacker to update, insert, or delete data contained in the database.
(CVE-2017-3464)
An unspecified flaw exists in the ‘Security: Privileges’ subcomponent that allows an authenticated, remote attacker to update, insert, or delete data contained in the database. (CVE-2017-3465)
An unspecified flaw exists in the C API subcomponent that allows an unauthenticated, remote attacker to disclose sensitive information. (CVE-2017-3467)
An unspecified flaw exists in the ‘Security: Encryption’ subcomponent that allows an authenticated, remote attacker to update, insert, or delete data contained in the database. (CVE-2017-3468)
An unspecified flaw exists in the Pluggable Auth subcomponent that allows an unauthenticated, remote attacker to cause a denial of service condition.
(CVE-2017-3599)
An unspecified flaw exists in the ‘Client mysqldump’ subcomponent that allows an authenticated, remote attacker to execute arbitrary code. (CVE-2017-3600)
An out-of-bounds read error exists in the OpenSSL component when handling packets using the CHACHA20/POLY1305 or RC4-MD5 ciphers. An unauthenticated, remote attacker can exploit this, via specially crafted truncated packets, to cause a denial of service condition. (CVE-2017-3731)
A carry propagating error exists in the OpenSSL component in the x86_64 Montgomery squaring implementation that may cause the BN_mod_exp() function to produce incorrect results. An unauthenticated, remote attacker with sufficient resources can exploit this to obtain sensitive information regarding private keys.
(CVE-2017-3732)
Note that Nessus has not tested for these issues but has instead relied only on the application’s self-reported version number.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(99513);
script_version("1.13");
script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/03");
script_cve_id(
"CVE-2016-7055",
"CVE-2017-3308",
"CVE-2017-3309",
"CVE-2017-3329",
"CVE-2017-3331",
"CVE-2017-3450",
"CVE-2017-3453",
"CVE-2017-3454",
"CVE-2017-3455",
"CVE-2017-3456",
"CVE-2017-3457",
"CVE-2017-3458",
"CVE-2017-3459",
"CVE-2017-3460",
"CVE-2017-3461",
"CVE-2017-3462",
"CVE-2017-3463",
"CVE-2017-3464",
"CVE-2017-3465",
"CVE-2017-3467",
"CVE-2017-3468",
"CVE-2017-3599",
"CVE-2017-3600",
"CVE-2017-3731",
"CVE-2017-3732"
);
script_bugtraq_id(
94242,
95813,
95814,
97725,
97742,
97747,
97754,
97763,
97765,
97772,
97776,
97791,
97812,
97818,
97820,
97822,
97825,
97826,
97831,
97837,
97845,
97847,
97848,
97849,
97851
);
script_name(english:"MySQL 5.7.x < 5.7.18 Multiple Vulnerabilities (April 2017 CPU) (July 2017 CPU)");
script_summary(english:"Checks the 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 running on the remote host is 5.7.x prior to
5.7.18. It is, therefore, affected by multiple vulnerabilities :
- A carry propagation error exists in the OpenSSL
component in the Broadwell-specific Montgomery
multiplication procedure when handling input lengths
divisible by but longer than 256 bits. This can result
in transient authentication and key negotiation failures
or reproducible erroneous outcomes of public-key
operations with specially crafted input. A
man-in-the-middle attacker can possibly exploit this
issue to compromise ECDH key negotiations that utilize
Brainpool P-512 curves. (CVE-2016-7055)
- Multiple unspecified flaws exist in the DML subcomponent
that allow an authenticated, remote attacker to cause a
denial of service condition. (CVE-2017-3308,
CVE-2017-3331, CVE-2017-3456, CVE-2017-3457,
CVE-2017-3458)
- Multiple unspecified flaws exist in the Optimizer
subcomponent that allow an authenticated, remote
attacker to cause a denial of service condition.
(CVE-2017-3309, CVE-2017-3453, CVE-2017-3459)
- An unspecified flaw exists in the Thread Pooling
subcomponent that allows an unauthenticated, remote
attacker to cause a denial of service condition.
(CVE-2017-3329)
- An unspecified flaw exists in the Memcached subcomponent
that allows an unauthenticated, remote attacker to cause
a denial of service condition. (CVE-2017-3450)
- An unspecified flaw exists in the InnoDB subcomponent
that allows an authenticated, remote attacker to insert
and delete data contained in the database or cause a
denial of service condition. (CVE-2017-3454)
- An unspecified flaw exists in the 'Security: Privileges'
subcomponent that allows an authenticated, remote
attacker to insert or delete data contained in the
database or disclose sensitive information.
(CVE-2017-3455)
- An unspecified flaw exists in the Audit Plug-in
subcomponent that allows an authenticated, remote
attacker to cause a denial of service condition.
(CVE-2017-3460)
- Multiple unspecified flaws exist in the
'Security: Privileges' subcomponent that allow an
authenticated, remote attacker to cause a denial of
service condition. (CVE-2017-3461, CVE-2017-3462,
CVE-2017-3463)
- An unspecified flaw exists in the DDL subcomponent that
allows an authenticated, remote attacker to update,
insert, or delete data contained in the database.
(CVE-2017-3464)
- An unspecified flaw exists in the 'Security: Privileges'
subcomponent that allows an authenticated, remote
attacker to update, insert, or delete data contained in
the database. (CVE-2017-3465)
- An unspecified flaw exists in the C API subcomponent
that allows an unauthenticated, remote attacker to
disclose sensitive information. (CVE-2017-3467)
- An unspecified flaw exists in the 'Security: Encryption'
subcomponent that allows an authenticated, remote
attacker to update, insert, or delete data contained in
the database. (CVE-2017-3468)
- An unspecified flaw exists in the Pluggable Auth
subcomponent that allows an unauthenticated, remote
attacker to cause a denial of service condition.
(CVE-2017-3599)
- An unspecified flaw exists in the 'Client mysqldump'
subcomponent that allows an authenticated, remote
attacker to execute arbitrary code. (CVE-2017-3600)
- An out-of-bounds read error exists in the OpenSSL
component when handling packets using the
CHACHA20/POLY1305 or RC4-MD5 ciphers. An
unauthenticated, remote attacker can exploit this, via
specially crafted truncated packets, to cause a denial
of service condition. (CVE-2017-3731)
- A carry propagating error exists in the OpenSSL
component in the x86_64 Montgomery squaring
implementation that may cause the BN_mod_exp() function
to produce incorrect results. An unauthenticated, remote
attacker with sufficient resources can exploit this to
obtain sensitive information regarding private keys.
(CVE-2017-3732)
Note that Nessus has not tested for these issues but has instead
relied only on the application's self-reported version number.");
# https://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html#AppendixMSQL
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d679be85");
# https://support.oracle.com/rs?type=doc&id=2244179.1
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f5369edb");
# https://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/3681811.xml
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eb4db3c7");
# http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?76f5def7");
# https://support.oracle.com/epmos/faces/DocumentDisplay?id=2279658.1
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d520c6c8");
# https://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/3809960.xml
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?322067e2");
script_set_attribute(attribute:"see_also", value:"https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-18.html");
script_set_attribute(attribute:"solution", value:
"Upgrade to MySQL version 5.7.18 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-3600");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2016/11/10");
script_set_attribute(attribute:"patch_publication_date", value:"2017/04/10");
script_set_attribute(attribute:"plugin_publication_date", value:"2017/04/20");
script_set_attribute(attribute:"agent", value:"unix");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:mysql");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Databases");
script_copyright(english:"This script is Copyright (C) 2017-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/local_checks_enabled");
script_require_ports("Host/RedHat/release", "Host/AmazonLinux/release", "Host/SuSE/release", "Host/CentOS/release");
exit(0);
}
include("mysql_version.inc");
fix_version = "5.7.18";
exists_version = "5.7";
mysql_check_rpms(mysql_packages:default_mysql_rpm_list_server_only, fix_ver:fix_version, exists_ver:exists_version, rhel_os_list:default_mysql_rhel_os_list, centos_os_list:default_mysql_centos_os_list, suse_os_list:default_mysql_suse_os_list, ala_os_list:default_mysql_ala_os_list, severity:SECURITY_WARNING);
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7055
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3308
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3309
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3329
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3331
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3450
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3453
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3454
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3455
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3456
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3457
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3458
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3459
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3460
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3461
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3462
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3463
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3464
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3465
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3467
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3468
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3599
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3600
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3731
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3732
www.nessus.org/u?322067e2
www.nessus.org/u?76f5def7
www.nessus.org/u?d520c6c8
www.nessus.org/u?d679be85
www.nessus.org/u?eb4db3c7
www.nessus.org/u?f5369edb
dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-18.html
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:N/I:N/A:C
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
EPSS
Percentile
99.4%