cbcvebase.
CVE-2017-3599
published 2017-04-24

CVE-2017-3599: Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Pluggable Auth). Supported versions that are affected are 5.6.35 and earlier…

PriorityP271high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EXPLOIT
EPSS
89.92%
99.8th percentile
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Pluggable Auth). Supported versions that are affected are 5.6.35 and earlier and 5.7.17 and earlier. Easily "exploitable" vulnerability allows unauthenticated 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 7.5 (Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). NOTE: the previous information is from the April 2017 CPU. Oracle has not commented on third-party claims that this issue is an integer overflow in sql/auth/sql_authentication.cc which allows remote attackers to cause a denial of service via a crafted authentication packet.

Affected

2 ranges
VendorProductVersion rangeFixed in
oraclemysql5.6.0 – 5.6.35
oraclemysql5.7.0 – 5.7.17

Detection & IOCsextracted from sources · hover to see the quote

port3306
commandMySQL login request with client capabilities \x85\xa2\xbf\x01, max packet size \x00\x00\x00\x01, charset \x21, 23 null reserved bytes, username null-terminated, auth field starting with \xff
pathsql/auth/sql_authentication.cc
bytes
Authentication packet starting with \xff or \xfe, shorter than 8 bytes
  • Detect unauthenticated MySQL connection attempts where the plugin auth data field in the handshake response packet begins with byte 0xFF or 0xFE and is shorter than 8 bytes — this is the exact trigger condition for the integer underflow crash.
  • Monitor for repeated mysqld crashes or unexpected restarts on port 3306, especially preceded by unauthenticated connection attempts — the vulnerability is pre-authentication and causes a repeatable crash (complete DoS).
  • The vulnerable code path is in the connection handshake parser (get_56_lenc_string / sql_authentication.cc). Inspect MySQL network traffic for malformed length-encoded string fields in the authentication phase of the handshake.
  • ·Affected versions are MySQL 5.6.35 and earlier and 5.7.17 and earlier. MariaDB and mysql55 packages on Red Hat platforms are NOT affected — do not apply MySQL-specific detections to MariaDB deployments.
  • ·The exploit targets the Pluggable Auth subcomponent; the attack is network-accessible via multiple protocols with no authentication required (PR:N, UI:N), meaning any network path to port 3306 is a viable attack vector.

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.07.8HIGHAV:N/AC:L/Au:N/C:N/I:N/A:C
osv7.5HIGH
vendor_redhat7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.