RE: Remote Console on MySQL

From: Isidro Ramon Labrador Rodriguez (irlabrador@sgi.es)
Date: Fri Apr 07 2006 - 07:31:06 EDT


 As far as I know it does not exist something like XP..cmdshell in mySQL. The ways you can interact with OS are:

Import files into a table by using:

LOAD DATA INFILE <path> INTO Table <name_of_the_table>

Export data to a file by using:

SELECT * FROM <name_of_the_table> INTO OUTFILE <path>

Best Regards,
Isidro Labrador

-----Mensaje original-----
De: tester@secfocus.com [mailto:tester@secfocus.com]
Enviado el: miércoles, 05 de abril de 2006 7:12
Para: pen-test@securityfocus.com
Asunto: Remote Console on MySQL

Im doing a pentest and found 3306 open with no password. I logged in a root using Navcat MYSQL GUI..

I can select one of the test databases and get a remote console,

mysql>

root@myipaddress does not have privilages to the main mysql database..

My question:

Can you run commands on mysql to interact with the OS like XP..cmdshell in MSSQL?

-Frank

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security?
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's Choice Award from eWeek. As attacks through web applications continue to rise, you need to proactively protect your applications from hackers. Cenzic has the most comprehensive solutions to meet your application security penetration testing and vulnerability management needs. You have an option to go with a managed service (Cenzic ClickToSecure) or an enterprise software (Cenzic Hailstorm). Download FREE whitepaper on how a managed service can help you: http://www.cenzic.com/news_events/wpappsec.php
And, now for a limited time we can do a FREE audit for you to confirm your results from other product. Contact us at request@cenzic.com for details.
------------------------------------------------------------------------------

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security?
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's
Choice Award from eWeek. As attacks through web applications continue to rise,
you need to proactively protect your applications from hackers. Cenzic has the
most comprehensive solutions to meet your application security penetration
testing and vulnerability management needs. You have an option to go with a
managed service (Cenzic ClickToSecure) or an enterprise software
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can
help you: http://www.cenzic.com/news_events/wpappsec.php
And, now for a limited time we can do a FREE audit for you to confirm your
results from other product. Contact us at request@cenzic.com for details.
------------------------------------------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:55:49 EDT