Cloudanix VulnDB

CVE-2017-3529

Medium · 5.3

CVSS

5.3

EPSS

2.0%

Published

Aug 8, 2017

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in the database server lets someone with limited network access make the database stop responding, causing downtime for any applications that rely on it.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
High
Impact
Denial Of Service
Component
Network Service
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Low-privileged network attacker can trigger a flaw in the Server: UDF subcomponent to cause a hang or repeatable crash, resulting in denial of service.

Why it matters to the business

Database services become unavailable, causing application outages and potential data access disruption until the server is restarted.

How an attack unfolds

An attacker with low privileges connects to the MySQL server over the network and supplies crafted input to a user-defined function that triggers the vulnerability, leading to a crash.

How to fix it

Upgrade Oracle MySQL to a version later than 5.7.18 that contains the fix for the Server: UDF component.

How to confirm the fix worked

Verify the running MySQL version is newer than 5.7.18 and confirm the Server: UDF subcomponent no longer allows the crash condition under equivalent low-privileged network access.

Typical attack path

  1. Obtain low-privileged network credentials for the MySQL server
  2. Connect using one of the supported protocols
  3. Invoke or manipulate a user-defined function with malicious input
  4. Trigger the flaw causing the server process to hang or terminate

How to detect it

Examine MySQL error logs and operating system logs for repeated server crashes or hangs originating from UDF calls; correlate with authentication events from low-privileged accounts.

What your security team should do

  • Apply the vendor patch to all affected MySQL instances immediately
  • Restrict network access to the MySQL service to trusted sources only
  • Review and limit privileges granted to database users
  • Monitor for unexpected MySQL process restarts or crashes

The record

Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: UDF). Supported versions that are affected are 5.7.18 and earlier. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.0 Base Score 5.3 (Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H).

Affected packages

Ecosystem Package Introduced Fixed
Red Hat:rhel_software_collections:2::el6 rh-mysql57-mysql 0 0:5.7.19-6.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql57-mysql-common 0 0:5.7.19-6.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql57-mysql-config 0 0:5.7.19-6.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql57-mysql-debuginfo 0 0:5.7.19-6.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql57-mysql-devel 0 0:5.7.19-6.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql57-mysql-errmsg 0 0:5.7.19-6.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql57-mysql-server 0 0:5.7.19-6.el6
Red Hat:rhel_software_collections:2::el6 rh-mysql57-mysql-test 0 0:5.7.19-6.el6
Red Hat:rhel_software_collections:2::el7 rh-mysql57-mysql 0 0:5.7.19-6.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql57-mysql-common 0 0:5.7.19-6.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql57-mysql-config 0 0:5.7.19-6.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql57-mysql-debuginfo 0 0:5.7.19-6.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql57-mysql-devel 0 0:5.7.19-6.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql57-mysql-errmsg 0 0:5.7.19-6.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql57-mysql-server 0 0:5.7.19-6.el7
Red Hat:rhel_software_collections:2::el7 rh-mysql57-mysql-test 0 0:5.7.19-6.el7
Ubuntu:14.04:LTS mysql-5.5 0 5.5.57-0ubuntu0.14.04.1
Ubuntu:16.04:LTS mysql-5.7 0 5.7.19-0ubuntu0.16.04.1
Ubuntu:16.04:LTS percona-server-5.6 0 No fix
Ubuntu:16.04:LTS percona-xtradb-cluster-5.6 0 No fix
Ubuntu:18.04:LTS mysql-5.7 0 5.7.19-0ubuntu1
Ubuntu:Pro:16.04:LTS percona-server-5.6 0 No fix
Ubuntu:Pro:16.04:LTS percona-xtradb-cluster-5.6 0 No fix

Related vulnerabilities