MySQL 5.7.x < 5.7.27 Multiple Vulnerabilities (Jul 2019 CPU)

critical Nessus Plugin ID 126783
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote database server is affected by multiple vulnerabilities.

Description

The version of MySQL running on the remote host is 5.7.x prior to 5.7.27. It is, therefore, affected by multiple vulnerabilities, including three of the top vulnerabilities below, as noted in the July 2019 Critical Patch Update advisory:

- A stack-based buffer overflow vulnerability in the 'Server: Packaging (cURL)' subcomponent could allow an unauthenticated attacker to gain complete control of an affected instance of MySQL Server. (CVE-2019-3822)

- A vulnerability in the 'Server: Parser' subcomponent. This is an easily exploitable vulnerability that allows a low privileged attacker with network access via multiple protocols to compromise the server. Successful attacks involving this vulnerability can result in the unauthorized ability to cause a hang or frequently repeatable crash (complete DOS). (CVE-2019-2805)

- A vulnerability in the 'Server: XML' subcomponent. This is an easily exploitable vulnerability that allows a low privileged attacker with network access via multiple protocols to compromise a server.Successful attacks involving this vulnerability can result in the unauthorized ability to cause a hang or frequently repeatable crash (complete DOS).
(CVE-2019-2740)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to MySQL version 5.7.27 or later.

See Also

https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-27.html

http://www.nessus.org/u?1adc2fd3

Plugin Details

Severity: Critical

ID: 126783

File Name: mysql_5_7_27_july.nasl

Version: 1.7

Type: combined

Agent: windows, macosx, unix

Family: Databases

Published: 7/18/2019

Updated: 5/19/2021

Dependencies: mysql_version.nasl, mysql_login.nasl, mysql_version_local.nasl, mysql_win_installed.nbin, macosx_mysql_installed.nbin

Risk Information

CVSS Score Source: CVE-2019-3822

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:oracle:mysql

Required KB Items: installed_sw/MySQL Server

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 7/16/2019

Reference Information

CVE: CVE-2018-16890, CVE-2019-2737, CVE-2019-2738, CVE-2019-2739, CVE-2019-2740, CVE-2019-2741, CVE-2019-2757, CVE-2019-2758, CVE-2019-2774, CVE-2019-2778, CVE-2019-2791, CVE-2019-2797, CVE-2019-2805, CVE-2019-2819, CVE-2019-2948, CVE-2019-2969, CVE-2019-3822, CVE-2019-3823

BID: 106947, 106950, 109243, 109247