how to block/disable windows scripting host ?
From: Akhlaq Khan (akhlaq.khan_at_softechww.com)
Date: 03/10/04
- Next message: puppymalo_at_hotmail.com: "Have I been hacked?"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Permission Error When Using FSO In ASP!?"
- Next in thread: Jeff Cochran: "Re: how to block/disable windows scripting host ?"
- Reply: Jeff Cochran: "Re: how to block/disable windows scripting host ?"
- Reply: David Wang [Msft]: "Re: how to block/disable windows scripting host ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 10 Mar 2004 21:54:17 +0500
hi,
can u please tell me how can i block WSH scripts and wscript.shell objects
from being created in ASP pages ?
one of my servers recently got hacked and i am desparately looking for a
solution.
thanks,
akhlaq.
"Leythos" <void@nowhere.com> wrote in message
news:MPG.1a886bc34f9beb9c98a130@news-server.columbus.rr.com...
> In article <844101c3e9b3$3fb2dc10$a101280a@phx.gbl>,
> dylanmilks@yahoo.com says...
> > Through my ASP app, I'm using wshell.script to open a cmd
> > window. If I don't pass any parameter to cmd, it works
> > fine. If I try to give it some parameters, it gives
> > me "access is denied".
> >
> > This works:
> > Set oShell = Server.CreateObject("WScript.Shell")
> > Set oExec = oShell.Exec("cmd /c")
> >
> > This returns access denied:
> > Set oShell = Server.CreateObject("WScript.Shell")
> > Set oExec = oShell.Exec("cmd /c dir c:\")
> >
> > Any idea why?
> > How can I get this to work?
>
> You don't want to let it work - IIS should NOT be able to access CMD at
> any time, you will be hacked.
>
> --
> --
> spamfree999@rrohio.com
> (Remove 999 to reply to me)
- Next message: puppymalo_at_hotmail.com: "Have I been hacked?"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Permission Error When Using FSO In ASP!?"
- Next in thread: Jeff Cochran: "Re: how to block/disable windows scripting host ?"
- Reply: Jeff Cochran: "Re: how to block/disable windows scripting host ?"
- Reply: David Wang [Msft]: "Re: how to block/disable windows scripting host ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|