Token values in T_CUST_LOGIN_TOKEN = SessionKey.value

Former Member
Former Member $organization

Hey folks,

We're diving in to set up tokens in preparation for V12 and have come to notice that our token values are coming out as the SAME thing as the session key!  They are properly written to the token table as the token.value, But this just seemed a little odd...

Can anyone confirm or deny that this is the proper functionality?  Does anyone know how this value gets generated?  I didn't see any reference to a web.config or otherwise for its setup.

Thanks,
James 

Parents Reply
  • Wait, now that I think about it, isn't this a big security leak?  Let's say someone who wants to hijack an account starts by setting up an account, then changing the password.  They observe that the session id and the token match.  Can't they now just do a request for any login?  They need not receive email at that account, they can construct the token url manually from their knowledge of their own session id, get in and change the account password to whatever they like.

Children