Re: Would IIS auth prevent buffer overflow attacks

"Evans, Arian" <[email protected]> Thu, 25 Aug 2005 13:54:40 -0500
Newsgroups gmane.comp.security.intrusions
Message-ID <8654C851B1DAFA4FA18A9F150145F92502C167EA@fnex01.fishnetsecurity.com>
> sure...

That's not entirely correct.

It depends entirely on *where* the overflow is.

Most of IIS's overflows have been in add-on components
like .printer and Index Server (.ida/q) which
are both default mapped from '/'. You'd have
to auth from root and hope that the overflow
was not in an HTTP header-field.

Most authentication is sent in the http request
as txt, including basic and NTLM authentication.

If you have Integrated Authentication selected
on IIS 5.0 and up, and the user is Windows 2000\
IE 5.5 (or up) you can potentially use Kerberos
which is certificate based and processed by the
part of the stack that handles SSL, IPSEC, etc.
which should occur *before* IIS parsed the message.

I have never tested this though. Make sure to test.

As for IIS authentication providing protection, a
recent example would be the ASP.NET cannonicalization
issue last year; allowed me to bypass authentication
by going to an allowed directory and traversing to
the "secure" directory.

It could help in certain cases though,

-ae



> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Wes Young
> Sent: Thursday, August 25, 2005 6:48 AM
> To: Intrusions List (GCIA Practicals)
> Subject: Re: [Intrusions] Would IIS auth prevent buffer 
> overflow attacks
> 
> sure... unless the authentication mechenism was flawed
> and exploited (as it was in june of 2004).
> 
> Something you actually tend to see a lot more of as this year goes on.
> 
> Stephen Shepherd wrote:
> > If IIS authentication were enabled on a web server
> > would it prevent buffer overflow attacks unless the
> > attacker had valid credentials.
> >  
> > I would think that the web server would not process
> > the initial get request until it had successfully
> > authenticated the client??
> >  
> > Just curious if this would add any protection to a www site..
> > _______________________________________________
> > Intrusions mailing list
> > [email protected]
> > http://www.dshield.org/mailman/listinfo/intrusions
> > 
> > 
> 
> -- 
> Wes Young
> Network Security Analyst
> University at Buffalo
> --
> My Security Blog: http://tinyurl.com/9av4k
> RSS: http://tinyurl.com/ceopv
> My Life: http://tinyurl.com/l18g
> _______________________________________________
> Intrusions mailing list
> [email protected]
> http://www.dshield.org/mailman/listinfo/intrusions
> 

_______________________________________________
Intrusions mailing list
[email protected]
http://www.dshield.org/mailman/listinfo/intrusions