MariaDB Binary Log SQL Injection

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


Synopsis :

The database server running on the remote host is affected by multiple
SQL injection vulnerabilities.

Description :

According to its self-reported version number, the version of MariaDB
running on the remote host has 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 :

https://mariadb.atlassian.net/browse/MDEV-382
http://www.openwall.com/lists/oss-security/2012/09/11/4

Solution :

Upgrade to MariaDB 5.5.27 / 5.3.8 / 5.2.13 / 5.1.66 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: 64502 ()

Bugtraq ID: 55498

CVE ID: CVE-2012-4414