MariaDB 'COM_CHANGE_USER' Command Insecure Salt Generation Security Bypass Vulnerability - Linux
🗓️ 07 Jun 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType
openvas🔗 plugins.openvas.org👁 43 Views
| Reporter | Title | Published | Views | Family All 178 |
|---|---|---|---|---|
| Security fix for the ALT Linux 8 package mariadb version April | 1 Apr 201300:00 | – | altlinux | |
| mysql/mariadb/percona server -- multiple vulnerabilities | 1 Dec 201200:00 | – | freebsd | |
| CVE-2012-5627 affecting package mysql 8.0.29-1 | 9 Sep 202115:03 | – | cbl_mariner | |
| CVE-2012-5627 affecting package mysql for versions less than 8.0.24-1 | 9 Apr 202206:53 | – | cbl_mariner | |
| CVE-2012-5627 | 6 Dec 201200:00 | – | circl | |
| CVE-2012-5627 | 1 Oct 201317:00 | – | cve | |
| CVE-2012-5627 | 1 Oct 201317:00 | – | cvelist | |
| Oracle MySQL / MariaDB - Insecure Salt Generation Security Bypass | 6 Dec 201200:00 | – | exploitdb | |
| EUVD-2012-5512 | 7 Oct 202500:30 | – | euvd | |
| FreeBSD : mysql/mariadb/percona server -- multiple vulnerabilities (8c773d7f-6cbb-11e2-b242-c8600054b392) | 4 Feb 201300:00 | – | nessus |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/56837 |
| seclists | www.seclists.org/fulldisclosure/2012/Dec/58 |
| mariadb | www.mariadb.atlassian.net/browse/MDEV-3915 |
| secunia | www.secunia.com/advisories/52015 |
# SPDX-FileCopyrightText: 2016 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:mariadb:mariadb";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.808154");
script_version("2025-09-09T05:38:49+0000");
script_cve_id("CVE-2012-5627");
script_tag(name:"cvss_base", value:"4.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:N/A:N");
script_tag(name:"last_modification", value:"2025-09-09 05:38:49 +0000 (Tue, 09 Sep 2025)");
script_tag(name:"creation_date", value:"2016-06-07 19:33:35 +0530 (Tue, 07 Jun 2016)");
script_name("MariaDB 'COM_CHANGE_USER' Command Insecure Salt Generation Security Bypass Vulnerability - Linux");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Databases");
script_dependencies("gb_mysql_mariadb_remote_detect.nasl", "os_detection.nasl");
script_mandatory_keys("mariadb/detected", "Host/runs_unixoide");
script_tag(name:"summary", value:"MariaDB is prone to a security bypass vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"solution", value:"Upgrade to MariaDB version 5.2.14,
5.3.12, 5.5.29 or later.");
script_tag(name:"insight", value:"Flaw that is triggered when a remote
attacker attempts to login to a user's account via the COM_CHANGE_USER command.
This command fails to properly disconnect the attacker from the server upon a
failed login attempt.");
script_tag(name:"affected", value:"MariaDB versions 5.5.x before 5.5.29,
5.3.x before 5.3.12, and 5.2.x before 5.2.14 on Linux");
script_tag(name:"impact", value:"Successful exploitation will allow remote
attackers to more easily gain access to a user's account via a brute-force attack.");
script_xref(name:"URL", value:"http://secunia.com/advisories/52015");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/56837");
script_xref(name:"URL", value:"http://seclists.org/fulldisclosure/2012/Dec/58");
script_xref(name:"URL", value:"https://mariadb.atlassian.net/browse/MDEV-3915");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
if(!mariadbPort = get_app_port(cpe:CPE)){
exit(0);
}
mariadbVer = get_app_version(cpe:CPE, port:mariadbPort);
if(!mariadbVer || mariadbVer !~ "^5\.[235]\."){
exit(0);
}
if(version_in_range(version:mariadbVer, test_version:"5.2", test_version2:"5.2.13") ||
version_in_range(version:mariadbVer, test_version:"5.3", test_version2:"5.3.11") ||
version_in_range(version:mariadbVer, test_version:"5.5", test_version2:"5.5.28"))
{
fix = "5.2.14, or 5.3.12, or 5.5.29";
report = report_fixed_ver(installed_version:mariadbVer, fixed_version:fix);
security_message(port:mariadbPort, data:report);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
09 Sep 2025 00:00Current
7.9High risk
Vulners AI Score7.9
CVSS 24
EPSS0.11413