MySQL Default Account Credentials - Nessus

Critical   Plugin ID: 61696

This page contains detailed information about the MySQL Default Account Credentials Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 61696
Name: MySQL Default Account Credentials
Filename: mysql_default_accounts.nbin
Vulnerability Published: N/A
This Plugin Published: 2012-08-28
Last Modification Time: 2022-02-14
Plugin Version: 1.75
Plugin Type: remote
Plugin Family: Databases
Dependencies: mysql_version.nasl
Excluded KB Items [?]: global_settings/supplied_logins_only

Vulnerability Information


Severity: Critical
Vulnerability Published: N/A
Patch Published: N/A
CVE [?]: CVE-2012-3951, CVE-2014-3413
CPE [?]: cpe:/a:mysql:mysql
Default Account Vulnerability: True

Synopsis

The remote database server has one or more sets of known credentials.

Description

The MySQL database server listening on the remote host has one or more known credentials.

Note that this plugin checks generically for a variety of known account credentials. A finding involving, say, the 'scrutinizer' account does not necessarily mean that an associated Scrutinizer product is installed, only that Nessus was able to authenticate to the MySQL server using the reported credentials.

Solution

Either remove the affected accounts or change the associated password.

Public Exploits


Target Network Port(s): 3306
Target Asset(s): Services/mysql
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the MySQL Default Account Credentials vulnerability:

  1. Metasploit: exploit/windows/mysql/scrutinizer_upload_exec
    [Plixer Scrutinizer NetFlow and sFlow Analyzer 9 Default MySQL Credential]
  2. Exploit-DB: exploits/windows/remote/20355.rb
    [EDB-20355: Plixer Scrutinizer NetFlow and sFlow Analyzer 9 - Default MySQL Credential (Metasploit)]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2014-3413
CVSS V2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:W/RC:X
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.6 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.6 (Critical)

Go back to menu.

Plugin Source


The mysql_default_accounts.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2012-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/mysql_default_accounts.nbin
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\mysql_default_accounts.nbin
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/mysql_default_accounts.nbin

Go back to menu.

How to Run


Here is how to run the MySQL Default Account Credentials as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Databases plugin family.
  6. On the right side table select MySQL Default Account Credentials plugin ID 61696.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl mysql_default_accounts.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a mysql_default_accounts.nbin -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - mysql_default_accounts.nbin -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state mysql_default_accounts.nbin -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 80195 - Juniper Junos Space < 13.3R1.8 Multiple Vulnerabilities (JSA10627)
  • 34161 - MySQL 6.0 < 6.0.6 Empty Bit-String Literal Token SQL Statement DoS
  • 34162 - MySQL Enterprise Server 5.0 < 5.0.66 Empty Bit-String Literal Token SQL Statement DoS
  • 34727 - MySQL Enterprise Server 5.0 < 5.0.70 Privilege Bypass
  • 42899 - MySQL 5.0 < 5.0.88 Multiple Vulnerabilities
  • 42900 - MySQL 5.1 < 5.1.41 Multiple Vulnerabilities
  • 46702 - MySQL Community Server < 5.1.47 / 5.0.91 Multiple Vulnerabilities
  • 48759 - MySQL Community Server < 5.1.49 Multiple Vulnerabilities
  • 49711 - MySQL Community Server < 5.1.51 Multiple Vulnerabilities
  • 57604 - MySQL 5.0 < 5.0.95 Multiple Vulnerabilities
  • 57605 - MySQL 5.1 < 5.1.61 Multiple Vulnerabilities
  • 57606 - MySQL 5.5 < 5.5.20 Multiple Vulnerabilities
  • 58661 - MySQL 5.5 < 5.5.22 Multiple Vulnerabilities
  • 58802 - MySQL 5.1 < 5.1.62 Multiple Vulnerabilities
  • 59448 - MySQL 5.1 < 5.1.63 Multiple Vulnerabilities
  • 59449 - MySQL 5.5 < 5.5.24 Security Bypass Vulnerability
  • 59967 - MySQL 5.5 < 5.5.23 Multiple Unspecified Vulnerabilities
  • 61393 - MySQL Authentication Protocol Token Comparison Casting Failure Password Bypass
  • 62637 - MySQL 5.1 < 5.1.64 Multiple Vulnerabilities
  • 62638 - MySQL 5.1 < 5.1.65 Multiple Vulnerabilities
  • 62639 - MySQL 5.1 < 5.1.66 Multiple Vulnerabilities
  • 62640 - MySQL 5.5 < 5.5.26 Multiple Vulnerabilities
  • 62641 - MySQL 5.5 < 5.5.27 Multiple Vulnerabilities
  • 62642 - MySQL 5.5 < 5.5.28 Multiple Vulnerabilities
  • 63617 - MySQL 5.1 < 5.1.67 Multiple Vulnerabilities
  • 63618 - MySQL 5.5 < 5.5.29 Multiple Vulnerabilities
  • 64263 - MySQL Protocol Remote User Enumeration
  • 65733 - MySQL 5.1 < 5.1.68 Multiple Vulnerabilities
  • 65734 - MySQL 5.5 < 5.5.30 yaSSL Buffer Overflow
  • 66177 - MySQL 5.1 < 5.1.69 Multiple Vulnerabilities
  • 66178 - MySQL 5.5 < 5.5.31 Multiple Vulnerabilities
  • 66179 - MySQL 5.6.x < 5.6.11 Multiple Vulnerabilities
  • 70461 - MySQL 5.1 < 5.1.71 Server Optimizer Denial of Service
  • 73572 - MySQL 5.5.x < 5.5.36 Multiple Vulnerabilities
  • 76529 - MySQL 5.5.x < 5.5.38 MySQL Multiple Vulnerabilities

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file mysql_default_accounts.nbin version 1.75. For more plugins, visit the Nessus Plugin Library.

Go back to menu.