Metasploit mailing list archives

Re: Fwd: question about mysql_enum module


From: Sunil Kumar <badboy16a () gmail com>
Date: Wed, 27 Jun 2012 15:21:32 +0530

If there is no database 'mysql' in a mysql installation, something is not
right. 'mysql' database stores global information and credentials.

On Wed, Jun 27, 2012 at 12:18 PM, 松柏 <lukesun629 () gmail com> wrote:




-------- 原始信息 --------  主题: question about mysql_enum module  日期: Tue, 26
Jun 2012 15:35:41 +0800  发件人: 松柏 <lukesun629 () gmail com><lukesun629 () gmail com>  收件人:
framework-request () spool metasploit com

Hi guys
I am using metasploit to do some test on ICTF2011 VM 。
this vm has a obvious mysql vulnerablity which can easily got the user
name and passwd of the database,
after that I use metasploit mysql_enum module to see the detail of the
database. I got this
//
msf auxiliary(mysql_enum) > run

[*] Running MySQL Enumerator...
[*] Enumerating Parameters
[*] MySQL Version: 5.1.41-3ubuntu12.10
[*] Compiled for the following OS: debian-linux-gnu
[*] Architecture: i486
[*] Server Hostname: muleserver
[*] Data Directory: /var/lib/mysql/
[*] Logging of queries and logins: OFF
[*] Old Password Hashing Algorithm OFF
[*] Loading of local files: ON
[*] Logins with old Pre-4.1 Passwords: OFF
[*] Allow Use of symlinks for Database Files: YES
[*] Allow Table Merge:
[*] SSL Connection: DISABLED
[-] MySQL Error: RbMysql::DbaccessDeniedError Access denied for user
'mulemanager'@'%' to database 'mysql'
[*] Enumerating Accounts:
[-] MySQL Error: RbMysql::TableaccessDeniedError SELECT command denied
to user 'mulemanager'@'192.168.126.134' for table 'user'
[-] MySQL Error: RbMysql::TableaccessDeniedError SELECT command denied
to user 'mulemanager'@'192.168.126.134' for table 'user'

//

apparentlly there is no database named mysql in the target database,
after I chech the ruby code , I do not know why the coder what to check
mysql databases which does not exist .






_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework




-- 
Your smile is the most precious thing that doesn't cost you. Keep smiling.
:)
===============
     SunilKumar
------------------------------
http://in.linkedin.com/in/sunilkr86/
===============
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: