You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/18 21:09:09 UTC

DO NOT REPLY [Bug 19158] New: - Security hole in FormAuthenticator regarding session ID.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19158>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19158

Security hole in FormAuthenticator regarding session ID.

           Summary: Security hole in FormAuthenticator regarding session ID.
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ttps@pacbell.net


Security hole in FormAuthenticator regarding session ID.

Here's the problem:

A user named Mary visits your website and views several unprotected pages. With 
each request (excluding the first, of course), her session ID is transmitted 
unencrypted back to your server and can be captured easily by a hacker. 

Later, Mary attempts to access a protected resource, which triggers the 
authentication process. She submits her credentials via an SSL-protected login 
form and finds herself at the "role-protected" resource that she originally 
requested (which is also protected by SSL). Mary sees the SSL indicator in her 
browser and trusts that everything is secure. Unfortunately, it's not. For the 
duration of Mary's session, the hacker can use the session ID that he captured 
earlier to pose as Mary and benefit from all of her access rights. This is 
because the Authenticator does NOT create a new session or changed the original 
session's ID upon user authentication.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org