ADSI Security Issue 
Author Message
 ADSI Security Issue

Hello All,
    I hope that I reached the right newsgroup. My question is about ADSI
security. Check the following simple ASP script
<%
Set objDomain = GetObject("WinNT://MyHost")
Response.Write objDomain.Schema
For each objUser In objDomain
     Response.Write " <LI> " & objUser.name
Next
%>

This four lines code displays the users account information from any
browser. This is a big security hole. Is there away to set ADSI USERS
permission so we can fix this bug.

Any comments

Thank you



Mon, 30 Dec 2002 03:00:00 GMT  
 ADSI Security Issue

It's not a bug. You have to write this script and place it on your server
for the information to be displayed. Just limit access to the web/virtual
directory containing this script using one of the many authentication
methods.


Quote:
> Hello All,
>     I hope that I reached the right newsgroup. My question is about ADSI
> security. Check the following simple ASP script
> <%
> Set objDomain = GetObject("WinNT://MyHost")
> Response.Write objDomain.Schema
> For each objUser In objDomain
>      Response.Write " <LI> " & objUser.name
> Next
> %>

> This four lines code displays the users account information from any
> browser. This is a big security hole. Is there away to set ADSI USERS
> permission so we can fix this bug.

> Any comments

> Thank you



Tue, 31 Dec 2002 03:00:00 GMT  
 ADSI Security Issue

Quote:
> This four lines code displays the users account information from any
> browser. This is a big security hole. Is there away to set ADSI USERS
> permission so we can fix this bug.

Hi,

I believe that anyone who logs on to an NT machine can enumerate all of the
users of that machine. Since ASP logs on as IUSR_Machine (or the actual user
if Anonymous access is turned off), it is quite likely to have this right.

As the other post suggests, simply turn off anonymous access to the page.

(Although as veterans of the group will tell you, I'm no security expert
<g>)

Peter

--
Peter J. Torr - Microsoft Windows Script Program Manager

Please do not e-mail me with questions - post them to this
newsgroup instead. Thankyou!



Fri, 03 Jan 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ADSI Security Issue

2. ADSI Security Issue

3. ADSI Security Issue

4. Security Bulletin Released for Scriptlet.TypeLib issue

5. security issue with passing javascript methods from server to a different server

6. FYI - New Web Site Security Issue - Cross Site Scripting Vulnerability

7. Security issues while installing 3rd party Activex (ASP) components on IIS

8. NT security issues

9. FSO - a security issue ?????

10. Same origin security issue

11. Security issues

12. Newer O/S(s) and security issues...

 

 
Powered by phpBB® Forum Software