IE repeatedly asks for authentication
-
Wednesday, March 14, 2012 5:13 PM
I've got a web application running on Tomcat with Digest authentication, when I first enter the webapp in IE I'm being asked for credentials and it occurs again without a reason but not for every request. By inspecting incoming requests in Fiddler and from the actual Authenticator implementation I can see that cnonce values are reused and nonce-count gets increment correctly but requests were sent in a wrong order.
This one having auth header
Authorization: Digest username="admin",realm="Realm",nonce="1331743957403:f9045aa37b855fd47a83365d1ca141fe",uri="/webapp/images/admin_header.gif",cnonce="be4f3408326bb74091fa129de6fca8c6",nc=00000011,response="6ea0228612c2840f61f9a28ba06b30ea",qop="auth",opaque="E1BD9E5F91846667D855156D6C7FCDC7"
came prior to following one
Authorization: Digest username="admin",realm="Realm",nonce="1331743957403:f9045aa37b855fd47a83365d1ca141fe",uri="/webapp/images/section_header.gif",cnonce="be4f3408326bb74091fa129de6fca8c6",nc=00000010,response="560fea74f4019232cfaa357b080f942f",qop="auth",opaque="E1BD9E5F91846667D855156D6C7FCDC7"
which is considered to be an HTTP attack as reported in http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1184 and therefore the server asks for credentials again.
Requested resources were referenced from a CSS file, does that matter and is there a way how to solve this?
All Replies
-
Thursday, March 15, 2012 12:39 AM
MSDN IE Development Forum (post such questions here instead)
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threadsTip: When posting in Developer forums, always include a link to your web site or test pages in your first post.
IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspxIE’s Compatibility Features for Site Developers
https://blogs.msdn.com/b/ie/archive/2010/06/16/ie-s-compatibility-features-for-site-developers.aspxPreparing Your Site for IE9
http://blogs.msdn.com/b/ie/archive/2011/03/18/preparing-your-site-for-ie9.aspx~Robear Dyer (PA Bear) ~ MS MVP (IE, Mail, Security, Windows & Update Services) since 2002 ~ Disclaimer: MS MVPs neither represent nor work for Microsoft
- Proposed As Answer by Vincenzo Di RussoMVP Thursday, March 15, 2012 6:08 AM
- Marked As Answer by Juke ChouMicrosoft Contingent Staff, Moderator Monday, March 19, 2012 3:36 PM

