Questions tagged [password-reset]

How to let users reset their passwords in a safe manner.

Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

Password Recovery email - secure enough?

I am currently implementing new auth schemes for a site, and decided to implement an "I forgot my password" email looking at this guide for inspiration. My Flow The flow I have designed is ...
user avatar
  • 123
0 votes
0 answers
112 views

Windows hello pin removal/crack

Is there a workaround to the Windows 10 Hello PIN security login policy? The PIN is the only credential needed to log in, no password is set, checked with samdump2. I inherited this computer from a ...
user avatar
  • 1
10 votes
3 answers
4k views

Isn't "BIOS reset password" a security flaw?

According to this article Dell Support can help a user to gain access to data after forgetting the HDD password: Once Dell Support has provided the reset password, you enter this when prompted and ...
user avatar
  • 215
1 vote
0 answers
44 views

Web password reset steps

I'm trying to implement authentication for users on a web page using JWT tokens and, so far, I can create users and authorize them. I'm now trying to write the password reset functionality and I think ...
user avatar
  • 11
1 vote
1 answer
66 views

Reset password parameters to send

I'm building a web app in Node.js, Express, and Mongoose. I'm worried about security and optimization issues on what to send in the email link. I see many of them sending: /:userId/:token, but if I ...
user avatar
0 votes
3 answers
117 views

Send password reset email after too many failed logins versus X minutes of lock out

Some sites lock me out for a while after too many failed attempts. For our own site, we want to force a password reset email after X amount of failed attempts. After all, if your email is compromised, ...
user avatar
  • 115
0 votes
0 answers
116 views

EFS-encrypted files not lost when domain admin resets password

There are many articles out there stating that a user's encrypted files are lost after an administrator resets the password of that user. I tried: Logged on as user (Domain User) with password 54321 ...
user avatar
  • 101
0 votes
4 answers
242 views

Forget Me Not? Abandoning the Forgot Password Functionality

They say a chain is only as secure as its weakest link. When it comes to account security it seems to me that the Forgot My Password functionality is the weakest link in the security chain because it ...
user avatar
0 votes
1 answer
138 views

If my home router password was reset, is that a sign of a security breach?

Recently I started having issues with my home Wi-fi connection. My devices showed as connected to the router, but no Internet was coming through. While trying to log into the router through my browser ...
user avatar
  • 863
0 votes
1 answer
108 views

How to force web sites and services to stop resetting passwords of accounts without user's permission and prompt? [closed]

A new trend in account security is spreading: web services like LinkedIn reset passwords automatically when detect attempts of getting access with wrong password or from new locations. Thus, a user ...
user avatar
-1 votes
1 answer
116 views

How to guess 8 character long reset token [closed]

Reset token contains lower case a-z, 0-9 number, there will be at maximum 5 number, at minimum there will be 0 number. It is randomly generated. How many possiblities do we have? How much time does ...
user avatar
0 votes
2 answers
213 views

Best practice to change password while user is already logged in

What is the best practice for changing passwords while the user is already logged in? In my application to change the password, the user who is already logged in has to pass the current password and a ...
user avatar
  • 1,148
1 vote
3 answers
165 views

Is it safe to send an encrypted blob as a URL parameter?

The context is a password reset functionality. The user has requested a password reset, either via the web, or via a call to the help desk. The proposed solution is, behind the scenes: If Self-...
user avatar
0 votes
3 answers
244 views

How many bytes for password reset token? Should one take steps to hash or conceal raw CSPRNG bytes?

I'm trying to follow the OWASP 'Forgot Password Cheat Sheet' recommendations for password reset functionality via email. This requires my server to generate a token. OWASP says that PHP's random_bytes(...
user avatar
  • 206
1 vote
1 answer
220 views

Benefits of only allowing one password reset per day? [duplicate]

I recently had to reset my password for a popular instant messaging service. Unfortunately, I failed to write down the new password I picked. So I had to reset the password again. That is when I got ...
user avatar
  • 64.2k
2 votes
2 answers
242 views

Why should password reset link be single use?

Reading from here: https://cheatsheetseries.owasp.org/cheatsheets/Forgot_Password_Cheat_Sheet.html It mentioned that password reset link should be single use and expire after appropriate period. I don'...
user avatar
  • 121
1 vote
2 answers
379 views

Hashing bcrypt password hash for use as a password reset token

There is an existing user database that has the following columns: userId (v4 uuid) created timestamp bcrypt password hash email I must add a password reset functionality and I cannot add any new ...
user avatar
1 vote
1 answer
150 views

Allowing a password reset if an account is locked

Similar to another question about keeping an account locked, is it preferable to allow a user to reset their password while the account is locked out due to the wrong password being used too many ...
user avatar
1 vote
1 answer
135 views

How do sites detect credential sniffing, and what is the purpose of this attack?

I just got an email from the Unsplash service telling me that someone had logged into my account via credential sniffing: Five minutes later I get three more emails, each one notifying that a (...
user avatar
2 votes
0 answers
256 views

In forgotten password is asking user their TOTP among other details secure?

I have started to work on the Forgotten password feature on my website. Based on OWASP Forgot Password cheatsheet, the user should provide enough information to confirm that it is really them. The ...
user avatar
  • 3,733
3 votes
2 answers
545 views

What's the security risk in password recovery attempts

I'm the administrator of a Wordpress site, with just two users: me and one other user. Last days I've received multiple password recovery attempts for that other user (as an administrator I get a mail ...
user avatar
  • 133
18 votes
1 answer
5k views

Why does Windows not always force me to confirm my password when changing it?

If I can change my password with cmd net user example * without needing to confirm my old password, why, when I change my password in the usual way (via settings or control panel), do I need to ...
user avatar
  • 183
0 votes
2 answers
247 views

Best practice for authenticating resend email requests

I have a Node.js/Express 4/JWT user authentication service using Passport.js, with Sequelize and MySQL for database. In my service, upon signing up/resetting a password, the user will be redirected to ...
user avatar
  • 1
0 votes
1 answer
84 views

Password-reset mechanism based on Sessions

I was wondering if the following password-reset mechanism is safe: The user clicks on 'I forgot my password' and enters his mail. After he has submitted, a security_token gets generated. This token ...
user avatar
  • 2,740
27 votes
7 answers
6k views

Where should I store a username during a password reset?

I am new to web development and am trying to implement a password reset feature according to the OWASP cheat sheets: Forgot Password Cheat Sheet The cheat sheet advises not to send the username as a ...
user avatar
  • 388
2 votes
2 answers
177 views

Website attack: What is the attacker's goal?

A bot network(?) has been after my website for quite a while now. Here is a breakdown of what they do: They register several accounts using random characters for building a first and last name which ...
user avatar
0 votes
1 answer
1k views

Reflected XSS in form action - understanding

I am trying to learn basics of web security vulnerabilities. I have found a website, where on reset password, you get a link in the email with a token, and when you click this link, the webpage opens ...
user avatar
0 votes
3 answers
884 views

What is the best practice for resetting multi-factor when a user requests to recover their password?

I am in the process of developing a web-application which requires MFA on every login. (On the first login, before you can do anything, you are forced to setup MFA. Due to monetary restrictions and ...
user avatar
2 votes
0 answers
293 views

Repeated microsoft password reset requests - Should I be concerned?

Background Since the middle of last month, I have started recieving multiple microsoft password reset e-mails a day, sent to my secondary e-mail address, regarding my primary e-mail address. These e-...
user avatar
0 votes
1 answer
69 views

Resetting password upfront, before getting email

I recently reset my password on a site that had me enter the new password I wanted to use upfront at the same time I said what email I wanted to reset it for. Then all I had to do was click the link ...
user avatar
  • 181
0 votes
2 answers
290 views

Should password reset disable biometric sign in until the user signs in with username and password again?

Background: My team's mobile apps have biometric sign in (Touch ID, Face ID, fingerprint). You can enable and disable biometric sign in when you are signed in. You always have the option to sign in ...
user avatar
  • 103
12 votes
2 answers
5k views

How does password reset work if 2FA is enabled?

(There is a highly related question, however I believe mine is not a duplicate, since it deals with resetting a password without access to the account, not changing it while being logged in.) Say ...
user avatar
  • 313
2 votes
2 answers
275 views

Where should 'reset password' functionality be?

We've recently overhauled the backend to our mobile app from having a very basic authentication mechanism that went through the API to having both an authentication server and an API server, with the ...
user avatar
  • 265
2 votes
1 answer
674 views

Implications of a 6 digit password reset token

I'm designing a password reset system for my website/app right now and I'm not sure if the solution that I've reached could be considered suitably secure. The steps for resetting a password are as ...
user avatar
32 votes
6 answers
8k views

Password reset giving clues of possible valid email addresses

We have a system where if you forgot your password and want to reset it, to go to the forgot password page and enter your email address. A temporary link will be sent to your email to reset your ...
user avatar
2 votes
2 answers
635 views

Password reset link vs Temporary password

Which is harder to exploit: Password reset link with tokens/timestamps/code/ticket etc Or, temporary password sent on user mail using which login can be done and password can be changed. Any ...
user avatar
2 votes
0 answers
160 views

Admin able to set new plaintext user password - security problem?

I am working on this application that can be deployed and run by anyone on their server. Most often, it is run as a web service. In our new version, we removed the possibility for admins to set and ...
user avatar
  • 53
0 votes
0 answers
28 views

How to approach a site that doesn't manage passwords correctly? [duplicate]

I am registered to a site which doesn't manage password correctly. It is a user area for a company that provides services of some sort and which uses the area to show details of the contracts and for ...
user avatar
  • 123
1 vote
0 answers
163 views

How to implement a "Forgot password?" functionality using php-encryption's KeyProtectedByPassword and 2FA?

I'm currently migrating the encryption functionality used in a PHP project from mcrypt (which was deprecated in PHP 7.1.x and no longer works from PHP 7.2 onward) to openssl, using the defuse/php-...
user avatar
2 votes
3 answers
151 views

Benefits of signing a random number?

Is there any benefit to signing a random number? E.g. a link for password reset, sent to email, often includes a base64 encoded random number to prevent someone guessing what the password reset link ...
user avatar
  • 123
1 vote
3 answers
669 views

Is an 8 characters long password reset token strong enough?

I am testing a website with a password reset functionality that provides a link with a token like most websites. I asked for multiple password reset links to see any pattern in the tokens. All the ...
user avatar
1 vote
2 answers
2k views

When resetting a password using OTPs, how can I prevent users from bypassing the OTP input page?

I am implementing the password reset functionality using OTPs (one-time passwords). When the user clicks on the 'forgot password' link, he / she is sent an OTP and is redirected to the OTP input page. ...
user avatar
2 votes
3 answers
619 views

Password reset vs change

My webapp has "password reset" and "password change" functionality. Password "reset" is typical: user clicks "I forgot my password", enters his email, one-time link emailed there, he visits a form to ...
user avatar
  • 363
0 votes
2 answers
18k views

Possible attack via Netflix; what action should I take, if any?

Late last night I received a "password reset" email from info@mailer.netflix.com. It looked legit, but I had not requested a password reset. I checked my account's "recent account access" but saw ...
user avatar
  • 343
14 votes
3 answers
13k views

How to properly create a password reset token?

I searched for a long time, and never really find any articles or posts that fully explain how a password reset token should be created. What I know so far: It should be random. Its hash should be ...
user avatar
  • 243
33 votes
2 answers
5k views

Ability To Change Root User Password (Vulnerability?)

I am studying for my RHCSA exam, and one of the topics is the ability to "change a forgotten root user password." This is an official exam objective and even has official Redhat documentation. How ...
user avatar
0 votes
1 answer
556 views

Is detecting if an email has an account considered a vulnerability with AWS cognito?

Am doing a pen test on a client system using AWS Cognito and userpools for authentication using the client side SDK provided by AWS. during the forget password flow, I noticed that Cognito request ...
user avatar
  • 149
0 votes
1 answer
133 views

Is there a way to post directly to the server without going client side?

I was pentesting a web app and while doing a password change, the client checks for the old password but not the server. Also they've a CSRF vulnerability. So would it be possible to post directly to ...
user avatar
  • 3
0 votes
1 answer
82 views

Safe to consider webapp user's email as implicitly confirmed after a password reset?

In my system, a new user must confirm his email. But there is an edge case: he registers does not confirm forgets password, performs password reset (which involves a mail loop) At that point I know ...
user avatar
  • 363
2 votes
1 answer
665 views

Anti-CSRF mechanism in a form changing password with an old password input is it required?

What is the risk for a form changing password with an old password input that doesn't have CSRF protection? A form without an old password input, I understand the risk but if the old password input ...
user avatar
  • 259