Root Directory and Write Permissions
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Root Directory and Write Permissions




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Root Directory and Write Permissions  
iporter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-31-07 06:17 PM

I'm vaguely aware that for security reasons, you shouldn't set write
permissions to your root web directory.  However, I have a ASP-based
CMS that is designed to write html files and folders to the root
directory.

What are the risks?

Thanks,
Iain






[ Post a follow-up to this message ]



    Re: Root Directory and Write Permissions  
David Wang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-01-07 12:19 AM

At minimum, it means the user identity which the ASP page runs as has
ability to write files to a directory that is web accessible.

If that directory is also allowed to execute code, it means that a
remote user can write and execute arbitrary code from that directory.

And depending on the user identity configured to execute requests in
specific directories, a remote user can now write and execute
arbitrary code of his choosing with potentially elevated user
privileges.

This is one simple way to be vulnerable to elevation of privilege
attack. Amongst many others.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


On Jan 31, 9:19 am, "iporter" <ispor...@gmail.com> wrote:
> I'm vaguely aware that for security reasons, you shouldn't set write
> permissions to your root web directory.  However, I have a ASP-based
> CMS that is designed to write html files and folders to the root
> directory.
>
> What are the risks?
>
> Thanks,
> Iain







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:46 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register