Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP_CmdShell - Security Risks !!! 1

Status
Not open for further replies.
Nov 16, 2000
203
GB
XP_Cmdshell runs with the full permissions of the account it is running under so if your SQL Server is running under a domain administrator's account - then the 'sa' account will have control over the NT network using xp_cmdshell. The 'sa' account can run any OS Command including "format c:".

Make sure you restrict the ability to execute xp_cmdshell amd runCmdExec amd ActiveScripting jobs or you are leaving yourself open to security breeches which could lead to someone deleting files from your network or worse - formatting the drives on your server !!!


Hope This Helps
Bernadette
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top