This thread is frustrating. Everyone seems more interested in nitpicking the specifics of what OP is saying and are ignoring that a forum sends you your password (not an automatically generated one) in an email on registration.

91 points

Just wow, yeah. Nothing should ever send you a password in cleartext - once that’s been done, a MITM attack’s success rate just went to 100%.

It’s painless to use password resets if the person forgot the password. Never, ever should a password be in cleartext.

hunter2

permalink
report
reply
88 points

Why did you put a bunch of asterisks at the bottom of your post?

permalink
report
parent
reply
35 points

I’m delighted you get the reference!

permalink
report
parent
reply
2 points

I’d be more worried if someone who uses the internet to such a degree that they use Lemmy over Reddit, on a programming forum, didn’t get the reference. This is famous hacker lore at this point.

permalink
report
parent
reply
5 points
*

It’s painless to use password resets

Ya and have they send you the (one-time) password in cleartext

permalink
report
parent
reply
3 points

In my experience it’s always a tokenized link, no clear text required.

permalink
report
parent
reply
8 points

I don’t see how’s either way better or worse as long as they force you to change the password upon login

permalink
report
parent
reply
15 points

Well, the tokenized link is essentially a clear text one time password. Not really any better than just a one time password except for the convenience that the user does not need to type it in. If someone gets hold of the link or password before you they can get access to your account.

permalink
report
parent
reply
4 points

And what is the token in the link?

permalink
report
parent
reply
5 points

(one-time)

You make it sound like an irrelevant detail, but that’s kind of the key part. If implemented properly, it’s only valid once and for a short period of time, which greatly reduces risk.

permalink
report
parent
reply
2 points

Sure. I just want to point out that there is valid case when passwords are sent in clear text.

permalink
report
parent
reply
-2 points

MITM attack’s success rate just went to 100%

No, it didn’t. It’s stupid and shouldn’t be done, but all ham nowadays is encrypted.

I know that because I’ve been running my email server for some years now, technically breaking one of the RFCs for not allowing unencrypted connections. Zero email has been missed.

permalink
report
parent
reply
6 points

While I agree that likely most SMTP traffic is sent encrypted these days, you simply cannot be sure. Just because you received something over an encrypted connection doesn’t mean that relays in between also used this. The webserver could have handed over the email unencrypted to an SMTP server for all you know. And even if an encrypted connection was used the mail might still have been copied to a log on the SMTP server. Email is unfortunately inherently unsafe.

permalink
report
parent
reply
2 points

Fair point. Although it’s very rare to have actual 3rd party relays in path.

permalink
report
parent
reply
8 points
*

An issue if you’re reusing passwords. If not, every forgot my password email is also vulnerable.

A combination of bad practices could be… bad.

Edit: apparently around the same time, their forum was also lacking https. This would be an even easier vector.

permalink
report
parent
reply
3 points

Many years ago, I had forgotten my password to the Sprint websiteb so I could log in and pay my cellular bill. I had to call customer support to resolve this. After verifying my activity, the support agent read me my existing password one letter at a time. While this was alarming, I was amused she had to spell out a somewhat obscene phrase for me. This was maybe 20 years ago and I no longer use Sprint.

permalink
report
parent
reply
3 points

I no longer use Sprint

I mean, nobody else does either.

permalink
report
parent
reply
1 point

Definitely. You don’t send passwords, ever, even if it’s encrypted by a quantic email server from the future.

permalink
report
reply
-8 points
*
Deleted by creator
permalink
report
reply
5 points
*
Deleted by creator
permalink
report
parent
reply
5 points

The only issue I can see is why are you sending the password to the person in the email at all just seems redundant… I think I may have run into a tree though.

permalink
report
reply
57 points

This was hashed out pretty thoroughly in that thread.

The initial concern over the password being stored in plaintext was shown to be a mistaken assumption, and it was made clear that this kind of email doesn’t happen anymore, it’s an outdated problem.

No need to keep the discussion going past that, is there? Much less spread it around?

permalink
report
reply
15 points

Sending passwords via email Will compromise any passwords sent via email. Regardless if the password is stored anywhere in the process if the password is sent via email it is compromised and no longer safe to use. Email is not end and encrypted you have no idea who’s running the mail exchange servers that your email follows, it’s entirely possible for this company to store that password in a log dealing with their email servers. Password sent via email should be considered immediately compromised and any sites following a practice like this should not be trusted with standard passwords which you shouldn’t be using anyway.

permalink
report
parent
reply
23 points

Right, and everyone agreed that wasn’t the greatest practice. Two years ago.

This thread from two days ago was bringing attention to an issue that was fixed two years ago, and calling it out as if it was a different problem than it was.

It’s good to have discussions about security best practices, but this thread is pointless. This problem is simply not there anymore.

permalink
report
parent
reply
3 points
*

Email isn’t end to end encrypted but, but it generally is encrypted. The people who will have it are the sender (who already have the password since they created it) and whoever runs the recipient’s mail server. Which is hopefully someone the recipient trusts.

From the sounds of it, this was a password that the server randomly generated, so it’s never been used before, and you are forced to reset the password as soon as you use it, so it’ll never be used again and they do treat it as “immediately compromised”.

Hardly state of the art security, but it also doesn’t really have any major problems… especially since this is for a forum.

permalink
report
parent
reply
2 points

Email often is end to end encrypted these days. It’s just that there are no guarantees.

permalink
report
parent
reply
1 point

Sending passwords via email Will compromise any passwords sent via email.

100%. But that is a different problem and a different attack vector than storing passwords in plain text for authentication. When reporting security issues, it’s important to be precise.

permalink
report
parent
reply
4 points

hashed out

heheh

permalink
report
parent
reply

Programming

!programming@programming.dev

Create post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Community stats

  • 3.5K

    Monthly active users

  • 1.6K

    Posts

  • 26K

    Comments