Vrification token while adding Two-step authentication in email not expiring after 5 minute and can be reuse more than one time in account.firefox.com
Categories
(Cloud Services :: Server: Firefox Accounts, enhancement)
Tracking
(Not tracked)
People
(Reporter: khageshwarjoshi03, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: reporter-external, Whiteboard: [reporter-external] [web-bounty-form] [verif?])
Attachments
(1 file)
|
123.66 KB,
image/png
|
Details |
Steps to reproduce
- Login to accounts.firefox.com and go to two set authentication section
- Click on Add button you will receive verification token in email don't use that token for 10 minutes
- After that use token to verify to procedure further for two factor authentication.
- Login your account in another device and do step 1, 2 and use the previous used token to verify it will allow
As you see the token is not expiring in time which you mention(5 minute) and can be reused more than one time which give major security issue in context of major company like Firefox.
If you need any further information i am ready for that.
Comment 1•4 years ago
|
||
Hello,
Thank you for your report.
I was not able to reproduce the issue, the code is expiring and I cannot use it to add 2FA. Does the code expire after 10 minutes?
Thanks,
Frida
| Reporter | ||
Comment 2•4 years ago
|
||
I checked if it was expiring after 10 minutes or not but even after 12 minute the code is still valid.I have attached a screenshot for proof.
Thanks
| Reporter | ||
Comment 3•4 years ago
|
||
| Reporter | ||
Comment 4•4 years ago
|
||
| Reporter | ||
Comment 5•4 years ago
|
||
Comment 6•4 years ago
|
||
I retried reproducing the issue, I can confirm that the code is still valid after 5 minutes. The code does expire at some point though, I'll check with the team what is the expiry period to better set expectations.
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Hello Wil,
Can you please take a look at this report? We mention on FxA and the verification email that the code expires in 5 minutes but it actually takes longer for the code to expire. Do you know what is the exact expiry config for the code?
Thanks,
Frida
Comment 8•4 years ago
|
||
I'm pretty sure the timeout is 15 minutes. This has been reported many times in the past. Eg https://github.com/mozilla/fxa/issues/4451
Comment 9•4 years ago
|
||
Thanks Wil, do we want to fix the message in the email and on the verify code modal to mention the actual expiry so that we don't keep receiving reports about it?
Updated•4 years ago
|
Comment 10•4 years ago
|
||
No. We have the wording the way it is on purpose to generate some urgency. Otherwise we get bug reports of it failing a minute after we said and we have to try to debug clock drift.
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Hello Reporter,
Based on the discussion in the bug, the firefox accounts team are aware that the verification code expires in 15 minutes instead of 5 minutes, this is intentionally configured to account for the user experience. Therefore, we are closing this bug as WONTFIX.
Thanks again for your report.
Regards,
Frida
Updated•4 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Description
•