MySQL Forums
Forum List  »  Security

select exec
Posted by: Corey Rhoden
Date: January 19, 2005 08:08PM

Someone got into one of our servers and executed a query along the lines of
select exec('nc.exe -a bunch of parameters') from ...;
which apparently was an attempt to get access to run other commands on one of our Windows 2003 Servers.

We are working on all of the issues as to how they managed to get into the server and get access to run queries in the first place.

However, on top of that, we would like to disable the ability for anyone to ever run a query that could launch another program. This is not something we would ever use this database for. Is there anyway to do that - that couldn't be easily undone by someone getting the ability to run a query as root and just giving themselves permission again? Of course, we're hoping to get all the other measures in place so that noone can ever get that kind of access... but we thought we'd taken care of that before this.

Thanks for any suggestions on this,
Corey

Options: ReplyQuote


Subject
Views
Written By
Posted
select exec
6143
January 19, 2005 08:08PM
2804
February 05, 2005 09:39PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.