View Issue Details

IDProjectCategoryView StatusLast Update
0001429OXID eShop (all versions)4.07. Source code, Testpublic2012-12-10 13:45
Reportertomas_liubinas Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version4.3.0 revision 26948 
Summary0001429: "remoteaccess" parameter does not disable cookie check
Description"remoteaccess" parameter is used when shop is accessed remotely. Currently it disables user agent check, however it does not disable browser cookie check. Browser cookie check should be disabled when "remoteaccess" is set.
Additional InformationChristopher Simon writes:

Hi,
question: why cookie check is performed, if "remoteaccess" param is set?
the line (oxsession.php 636):
$blDisableCookieCheck = $myConfig->getConfigParam('blDisableCookieCheck');

should be:
$blDisableCookieCheck = $myConfig->getConfigParam( 'blDisableCookieCheck' ) || oxConfig::getParameter("remoteaccess") === true;

If you want to "hijack" a session this is nearly neccessary.
TagsCookies, Session
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

arvydas_vapsva

2009-11-17 15:08

reporter   ~0002084

Last edited: 2009-11-17 15:35

Fix details:

"remoteaccess" parameter support is removed at all, instead introduced "aTrustedIPs" config parameter (may be defined in config.inc.php), where shop owner defines IP addresses, for which session+cookie id match and user agent change checks are off