News for hackers. Stuff that matters.
Re:Dozens of high-traffic websites vulnerable to ‘account pr... by bradgessler on Tuesday May 31, 2022 @12:15PM (#31571347)
I wrote a library for Rails a few weeks ago at https://github.com/rocketshipio/nopassword that eliminates passwords for login by making folks login with an email address and then emailing them a code.

It eliminates the vulnerability this article speaks of and eliminates passwords, along with all the support headaches that comes with.

Re:Dozens of high-traffic websites vulnerable to ‘account pr... by WA on Wednesday June 01, 2022 @04:46AM (#31579521)
Only if existing sessions are invalidated. Otherwise, magic login links like this have a problem:

- Attacker signs up with victim's email address and is immediately logged in (signup usually triggers a login/session creation). The session could last forever

- Victim tries to sign up, but it doesn't work, because the account is already registered. Victim assumes they forgot about them signing up already and requests a login-link/token. Victim logs in using the method and adds sensitive data to the account.

- Attacker session is still active, attacker can read victim's information.

Re:Dozens of high-traffic websites vulnerable to ‘account pr... by bradgessler on Wednesday June 01, 2022 @10:09AM (#31582010)
Attacker can’t sign in with victims email unless they have gained access to victims email account. No session gets created for the authorized user until they provide a valid code and salt (within 3 tries and 5 min).