MariaDB Binary Log SQL Injection

medium Nessus Plugin ID 64502
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 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.

Solution

Upgrade to MariaDB 5.5.27 / 5.3.8 / 5.2.13 / 5.1.66 or later.

See Also

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

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

Plugin Details

Severity: Medium

ID: 64502

File Name: mariadb_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:mariadb:mariadb

Required KB Items: Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 9/10/2012

Vulnerability Publication Date: 9/11/2012

Reference Information

CVE: CVE-2012-4414

BID: 55498