MySQL Binary Log SQL Injection

medium Nessus Plugin ID 64503

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

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

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