Status/Resolution/Reason: Closed/Won't Fix/ThirdParty
Reporter/Name(from Bugbase): Dave Cordes / Dave Cordes (Dave Cordes)
Created: 04/04/2013
Components: Security
Versions: 10.0
Failure Type: Data Loss
Found In Build/Fixed In Build: Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 1
Problem Description:
Please note I am using J2EE session variables so keep that in mind.
I am seeing session cookies being overwritten when browsing from an SSL connection to a non SSL connection.
For example:
Visiting https://www.domain.com/ results in a JSESSIONID cookie being set with details being send for "Encrypted connections only".
Visiting http://www.domain.com/ results in a JSESSIONID cookie being set with details being send for "Any type of connection".
Here's the problem:
Say for example, you're logging into an admin module located at https://www.domain.com/admin/. Once authenticated and some session variables are set, you browse to http://www.domain.com/. When that happens your session cookie (JSESSIONID) is overwritten with a new value and you instantly lose your authentication in the admin module.
Obviously this is causing massive problems for my clients that bounce back and forth from SSL to non SSL connections which is common for e-commerce websites.
Steps to Reproduce:
1. Clear your cookies.
2. Visit a web page such as https://www.domain.com/. Note the JSESSIONID cookie value.
3. Visit a web page such as http://www.domain.com/. Note the JSESSIONID cookie value and how it was overwritten.
Actual Result:
Browsing from an SSL to a non SSL web page results in the session cookie being overwritten.
Expected Result:
Browsing from an SSL to a non SSL web page should NOT overwrite the session cookie. This was how it worked in ColdFusion 9.
Any Workarounds:
None that I know of at the moment.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3535992
External Customer Info:
External Company:
External Customer Name: davecordes
External Customer Email:
External Test Config: My Hardware and Environment details:
Server Product - ColdFusion
Version - 10,0,8,284032
Tomcat Version - 7.0.23.0
Edition - Standard
Operating System - Windows Server 2008 R2
OS Version - 6.1
Update Level - /D:/ColdFusion10/cfusion/lib/updates/chf10000008.jar
Adobe Driver Version - 4.1 (Build 0001)
Attachments:
Comments: