Password reset tokens stay valid after use
High CVSS 8.1
- Affected
POST /api/v2/auth/reset- Reproduce
-
- Request a reset for an account you control and open the emailed link.
- Complete the reset. Then submit the same token again with a new password.
- It is accepted a second time, and keeps working for 24 hours.
- Impact
- Anyone who sees a used reset link (shared inbox, proxy log, browser history) can take over the account for a day.
- Fix
- Delete the token on first use, expire unused tokens after 15 minutes, and bind each token to the current password hash.
- Status
- Fixed on day 3. Retested, closed.
- Foundday 1
- In your trackerday 1
- Fixed by your teamday 3
- Retested, closedday 5