Home » Vulnerabilities Knowledge Base » How To Protect From Vulnerable Forgot Password Link Attack
The “forgot password” feature is common on login pages but is it secure? This feature can be a gateway for attackers if not implemented properly, so it must be protected.
How the “forgot password” flow works (simple):
1. User clicks “Forgot password” and submits their email.
2. Server verifies the email and sends a reset link to that address.
3. User clicks the link and is directed to a page to set a new password.
Early implementations were unsafe: originally, clicking “Forgot password” could immediately open a reset form with no verification, allowing attackers to take over accounts.
Improved workflow and important protections:
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...