MySQL Binary Log SQL Injection

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


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.

See also :

http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-33.html
http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-13.html
https://mariadb.atlassian.net/browse/MDEV-382
http://www.openwall.com/lists/oss-security/2012/09/11/4
http://www.nessus.org/u?f8d7daf3

Solution :

Upgrade to MySQL version 5.5.33 / 5.6.13 or later.

Risk factor :

Medium / CVSS Base Score : 6.5
(CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P)
CVSS Temporal Score : 5.4
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Databases

Nessus Plugin ID: 64503 ()

Bugtraq ID: 55498

CVE ID: CVE-2012-4414