?
avatar boomsya
boomsya
20 Nov 2017

from joomla 1.5 and for 3.8.1 i have problems under cache
100% situations when users goto cached login page and they have error "Invalid token"

"guest" token in 95% of sites what i was develop not needed
So when page cached - site return wrong token - token of another "guest"
and when they try to login the result is "Invalid token" :(

i dont understand what security vulnerability can makes in method "login()" without checkToken?

avatar boomsya boomsya - open - 20 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Nov 2017
avatar boomsya boomsya - change - 20 Nov 2017
Title
function login() in /components/com_users/controllers/user.php check token. Why?
function login() in /components/com_users/controllers/user.php checks token. Why?
avatar boomsya boomsya - edited - 20 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Nov 2017
Category com_users
avatar tonypartridge
tonypartridge - comment - 21 Nov 2017

Do you have a custom module or component processing the login?

This shouldn’t be a problem with the core.

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Nov 2017
Status New Information Required
avatar boomsya
boomsya - comment - 22 Nov 2017

no i don`t have
do you think checkToken() returns true when checks token of another guest with yours guest session?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Dec 2017

@tonypartridge any Answer on above Question or is this for Forum?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18748.

avatar tonypartridge
tonypartridge - comment - 26 Dec 2017

I think it’s more of a coding issues. checkToken only returns true for the current logged in User if the token is theirs.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Dec 2017

@tonypartridge thanks for Info.

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Jan 2018
Status Information Required Discussion
avatar brianteeman brianteeman - change - 4 Feb 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-02-04 14:38:09
Closed_By brianteeman
avatar brianteeman brianteeman - close - 4 Feb 2018

Add a Comment

Login with GitHub to post a comment