When creating a new account in Joomla!, the software sends an e-mail with the data of the user (including the password). However, if the server is not setup correctly (to send e-mails), the site admin will receive a return message like (similar) this:

Hello XXX,

Thank you for registering at YYY. Your account is created and must be activated before youcan use it.
To activate the account click on the following link or copy-paste it in your browser:
Activation link here.

After activation you may login to YYY using the following username and password.

- Username: myusernamehere

- Password: mypasswordhere



Best Regards,
YYY

The major issue here is that any bad site admin, by simply miss-configuring the e-mail server, would be able to see the password of anyone who registers in his/her web site.

I honestly think, this is a major drawback in the security of Joomla! and usually no passwords should be send via e-mail ever. The post is provoked due to a accident crash of my mail server and receipt of about 10 e-mails like this today, with the passwords of the people who registered.


What is your opinion?

Views: 4

Tags: e-mails, joomla, security

Erik Roznbeker Comment by Erik Roznbeker on March 8, 2010 at 6:11am
I don't think this is mayor security issue because it is standard used by almost everyone. Also admins on servers have more easier ways of hacking user accounts than checking registration e-mails.
Ivo Apostolov Comment by Ivo Apostolov on March 8, 2010 at 6:15am
Erik, the idea is not to hack the user account. Any site admin could easily change his/her password.
The idea is that the password is displayed in pure text, which is not acceptable IMO.
Ajmal Afif Comment by Ajmal Afif on March 8, 2010 at 6:52am
I fully understand and share the sentiment. From security perspective and that alone, when superman or superadmin could see password in plain text is not favorable. I could imagine lotsa lotsa of bad consequences out of this flaw. One of the obvious would be that any other email with the same password (simply imagine the user's gmail account or facebook or ATAAW?!!). If it wouldn't be considered for 1.5, lets hope that it will at least "fixed" in 1.6.

ps: Another thing I wrote on suggestion thread for Joomla 1.6 @ joomla.org forum regarding security was for end users to key in old or existing passwords in order to renew their passwords on front-end (or more accurately, user account panel). Arguably you can say this is the standard security with other cms or web engine (like forums etc.).

One first-hand experience I had with that issue was, I had this recreational site once made for my dorm/college mates (college students) who played pranks on each other by messing up each other passwords on each others' laptops (which in their case most of them had "Remember Me" on the site if not on browsers or keychains, just so they don't have to enter username and password ever again.)
Phil Taylor Comment by Phil Taylor on March 8, 2010 at 7:57am
I believe this is bad practice and should be changed.
Ivo Apostolov Comment by Ivo Apostolov on March 8, 2010 at 11:19am
The issue is that really a lot of users use one and the same password for many web sites, so having this, it directly provides opportunity to people who are willing to obtain passwords of end users. Imagine the user having the same password for PayPal or other similar sites?
Ajmal Afif Comment by Ajmal Afif on March 8, 2010 at 11:32am
Couldn't agree with you more. Like engineers always prioritize, "Safety First".
Manoel J. Silva Comment by Manoel J. Silva on March 8, 2010 at 11:39am
"Is this secure enough?"

No, it is not as secure as it should be!
Ivo Apostolov Comment by Ivo Apostolov on March 8, 2010 at 11:48am
What worries me is that this was not challenged enough for almost 5 years and 32 versions.
It is also worrying that very serious 3PD apply the very same style
Joe LeBlanc Comment by Joe LeBlanc on March 8, 2010 at 1:57pm
A while back, I remember talking with a co-worker about applications that store passwords in the database, citing how insecure they were. Then he signed up for an account on our site and it sent him the email with his password in plain text. Yeah, I had to eat that one ;)

And I agree, even though we do encrypt the password before sending it to the DB, we shouldn't be emailing out the password in plain text ever!
Ajmal Afif Comment by Ajmal Afif on March 9, 2010 at 1:54am
Usually in Joomla world we'll see alternatives or workarounds (or unfavorably hacks), but I don't know if we have that for this. Scaryy~

Comment

You need to be a member of All Together, As A Whole to add comments!

Join All Together, As A Whole

Badge

Loading…

© 2012   Created by Amy Stephen.

Badges  |  Report an Issue  |  Terms of Service