MySQL Binary Log SQL Injection

medium Nessus Plugin ID 64503
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 database server running on the remote host has multiple SQL injection vulnerabilities.

Description

The version of MySQL installed on the remote host is earlier than 5.5.33 / 5.6.x earlier than 5.6.13 and is, therefore, potentially affected by multiple SQL injection vulnerabilities. User-supplied identifiers are not properly quoted before being written into the binary log. An attacker with a valid account and privileges to modify data could exploit this to modify tables that they should not have access to.

Solution

Upgrade to MySQL version 5.5.33 / 5.6.13 or later.

See Also

http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-33.html

https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-13.html

https://mariadb.atlassian.net/browse/MDEV-382

https://www.openwall.com/lists/oss-security/2012/09/11/4

http://www.nessus.org/u?8f7e56e9

Plugin Details

Severity: Medium

ID: 64503

File Name: mysql_binary_log_sqli.nasl

Version: 1.7

Type: remote

Family: Databases

Published: 2/8/2013

Updated: 11/15/2018

Dependencies: mysql_version.nasl, mysql_login.nasl

Configuration: Enable paranoid mode

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: cpe:/a:oracle:mysql

Required KB Items: Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 7/31/2013

Vulnerability Publication Date: 9/11/2012

Reference Information

CVE: CVE-2012-4414

BID: 55498