You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2021. It is now read-only.
To Reproduce
We have a login form with remember_me (checkbox) functionality, When using the checkbox, symfony creates a cookie "REMEMBERME". That moment we get redirected to the 2fa-auth page. We have no access to the other pages. On that moment, when we remove our SESSIONID key with the browsers cookie inspector/tool, we can go to our homepage "/" and be IS_AUTHENTICED_REMEMBERED. Effectively being logged in without 2fa.
Bundle version: 4.10.0
Symfony version: 3.4.31
Description
Bypass 2fa by rememberme cookie
To Reproduce
We have a login form with remember_me (checkbox) functionality, When using the checkbox, symfony creates a cookie "REMEMBERME". That moment we get redirected to the 2fa-auth page. We have no access to the other pages. On that moment, when we remove our SESSIONID key with the browsers cookie inspector/tool, we can go to our homepage "/" and be IS_AUTHENTICED_REMEMBERED. Effectively being logged in without 2fa.