No Code Attached Yet ?
avatar sshcli
sshcli
18 Mar 2020

Steps to reproduce the issue

  1. Try to create an account or change your password
  2. Take a look to the token url you receive in the email

Expected result

We should use a PIN code, instead of a long token url.
These are just a few reasons:
• PIN Code is the trending, most modern websites already using this method.
• It's easier for the users
• Does not include links (This is good if we want to prevent emails landing in spam folder)
• A 4-6 PIN code should be used (Without links)

Actual result

• The token you receive in the email is very long.
• Some users having problem to register
• Some mail servers treat the email as spam because of the link in the message body.
• Long token URL is obsolete. 4-6 PIN code is the trending

System information (as much as possible)

Joomla 3.9.16
PHP 7.3.15
MySQL 5.7.29

Additional comments

See more at:
https://forum.joomla.org/viewtopic.php?f=706&t=978593

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar sshcli sshcli - open - 18 Mar 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Mar 2020
avatar richard67 richard67 - change - 18 Mar 2020
Build 3.9.16 4.0-dev
avatar richard67 richard67 - change - 18 Mar 2020
Category com_users Feature Request
avatar richard67
richard67 - comment - 18 Mar 2020

@sshcli New features go into J4, so I've changed branch information in the issue tracker for your feature request there.

avatar sshcli
sshcli - comment - 18 Mar 2020

Thanks @richard67

avatar richard67 richard67 - change - 18 Mar 2020
Title
Implement PIN Code as verification code
[4.0] [Feature Request] Implement PIN Code as verification code
avatar richard67 richard67 - edited - 18 Mar 2020
avatar sshcli sshcli - change - 18 Mar 2020
The description was changed
avatar sshcli sshcli - edited - 18 Mar 2020
avatar sshcli sshcli - change - 18 Mar 2020
Title
[4.0] [Feature Request] Implement PIN Code as verification code
[4.0] [Feature Request] PIN Code as verification code
avatar sshcli sshcli - edited - 18 Mar 2020
avatar mbabker
mbabker - comment - 19 Mar 2020

TBH, I'm not a fan of these PIN based systems as a primary means of verifying your account. They are actually a greater security risk as they create a system with a known range of characters and a fixed number of variations (you have 1 million 6 digit combinations, it is exponentially larger when you have six alphanumeric characters), the odds of brute forcing these systems is much more in favor of the attacker. These types of PINs are better suited as a secondary authentication method than a primary account verification token.

If someone wants to make sure core can be written in a way to support PIN based codes, then go for it. But I don't think it should be a core feature.

avatar joeforjoomla
joeforjoomla - comment - 19 Mar 2020

Me too, i don't see this as a core feature

avatar sshcli
sshcli - comment - 19 Mar 2020

IMHO, it could be available as an option, not mandatory.

avatar bembelimen
bembelimen - comment - 21 Mar 2020

TBH, I'm not a fan of these PIN based systems as a primary means of verifying your account. They are actually a greater security risk as they create a system with a known range of characters and a fixed number of variations (you have 1 million 6 digit combinations, it is exponentially larger when you have six alphanumeric characters), the odds of brute forcing these systems is much more in favor of the attacker.

A little addition (without disagreeing your concerns), a PIN-approach only makes sense, if you limit the number of trys. That's how some bank cards work, 3 trys and you're out.

avatar mbabker
mbabker - comment - 21 Mar 2020

A bank card is different because that is the only means the system has for validating use. Internet websites don't have that same system design limitation.

It's not that I don't like PIN based systems, but I think they are inherently a greater security risk and not as suitable as a primary authentication/validation mechanism as a result. They are well suited as a secondary authentication/validation mechanism (think how you log into a site then get a SMS with a code you have to enter in, sure it's a pretty weak form of 2FA but still fits the example here).

That's why I said if someone wants to design Joomla in a way where someone wants to flip to a 4-6 digit PIN as a validation token instead of a more secure 16-32 character alphanumeric string (I forget what core is actually generating), then by all means make core extensible enough to pull it off. But I don't think it's core's territory to ship that feature (if done right a plugin provides the implementation), and it's definitely not core's territory to make that the default mechanism. Security postures shouldn't be changed because "it's trending".

avatar sshcli
sshcli - comment - 23 Mar 2020

Security postures shouldn't be changed because "it's trending".

My main concern here is the "password reset email" landing in the in spam folder. (Sometimes, not always)
URLs in emails are taken into consideration when calculating spam score.

Anyway, this is just a suggestion, I will not be offended if you decide to close this issue.

avatar 200MPHMEDIA
200MPHMEDIA - comment - 9 Apr 2020

The two-factor authentication method, which requires using third party services, is clumsy and seems to me NOT a feature within Joomla! 4 but more of an add-on. Plus it does cost $$$ or is very difficult for the average novice or beginner user to implement. A PIN CODE generated by Joomla! itself makes more sense than reaching outward to third parties for "touted" Joomla! two factor authentication being "built in" - IT IS NOT.


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

avatar brianteeman
brianteeman - comment - 9 Apr 2020

It does not have to cost anything

avatar brianteeman
brianteeman - comment - 9 Apr 2021

Maintainers please make a decision about this feature request. If it would not be accepted (if developed) then it should be closed @wilsonge @rdeutz

avatar sshcli
sshcli - comment - 9 Apr 2021

Please feel free to close this feature request If you don't want it. I really mean it.

avatar richard67 richard67 - change - 9 Apr 2021
Labels Added: ?
avatar richard67 richard67 - labeled - 9 Apr 2021
avatar brianteeman
brianteeman - comment - 8 Jun 2022

This has been in the RLDQ for 14 months. the entire point of the RLDQ was to avoid this from happening

avatar joomdonation joomdonation - change - 14 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-14 05:06:09
Closed_By joomdonation
Labels Added: No Code Attached Yet ?
Removed: ? ?
avatar joomdonation joomdonation - close - 14 Nov 2022
avatar joomdonation
joomdonation - comment - 14 Nov 2022

Base on feedback from some maintainers on this topic, I can see that this is something would not be implemented in core. Therefore I'm closing this issue.

Add a Comment

Login with GitHub to post a comment