View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002946 | OXID eShop (all versions) | 4.02. Session handling | public | 2011-06-01 12:31 | 2011-06-29 17:18 |
Reporter | mark | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 4.5.1 revision 38045 | ||||
Summary | 0002946: Secure cookie causes session loss if user clicks a http link on a https without param force_sid | ||||
Description | OXID changed the session cookie to a secure cookie (by version 4.4.8). Due to security issues this may be correct, but it causes another problem. Just add an article to you your cart, go to checkout on https and open the mini-basket. The link to the first item in your basket doesn't have a force_sid param. If you click it, the session is lost! Sometimes you can't avoid http links on a https page, which have no force_sid param (e.g. some bugs with oxConfig/isSsl() or just cms-content with absolute links). OXID should make the flag "secure" optional (checkbox in admin). | ||||
Steps To Reproduce | Add an article to you your cart, go to checkout on https and open the mini-basket. The link to the first item in your basket doesn't have a force_sid param. If you click it, the session is lost! | ||||
Additional Information | core/oxutilsserver.php function setOxCookie CHANGE return setcookie( $sName, $sValue, $iExpire, $this->_getCookiePath( $sPath ), $this->_getCookieDomain( $sDomain ), oxConfig::getInstance()->isSsl(), true ); to return setcookie( $sName, $sValue, $iExpire, $this->_getCookiePath( $sPath ), $this->_getCookieDomain( $sDomain ), oxConfig::getInstance()->getConfigParam( 'blCookieSecure' )?oxConfig::getInstance()->isSsl():false, true ); | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
This maybe a problem in minibasket code i described here: https://bugs.oxid-esales.com/view.php?id=2917 You could try whether the same links work OK in the real basket. |
|
fixed, is actually related to https://bugs.oxid-esales.com/view.php?id=2917 |