Test password reset for account enumeration

Information disclosureDiscovery

Written with a model's help from “When ‘Forgot Password’ Becomes ‘Found Account Takeover’ : The Complete Testing Checklist” by Swati Choudhary on at0625309 (Medium). Read the writeup before relying on it.

When testing a password reset feature, try submitting a registered email address and an unregistered one to see if the application's responses differ. Compare not just the displayed messages, but also the HTTP status codes, response bodies, response lengths, redirect behavior, and response times. An attacker may use differences in these responses to identify registered users and build targeted phishing lists. Also, intercept the password reset request using a tool like Burp Suite to compare the complete server responses. Additionally, test for time-based account enumeration by measuring the response times for registered and unregistered accounts, and for identifier manipulation issues by submitting variations of the same identifier, such as different cases or Unicode normalization. Look for consistent differences in the application's behavior that could reveal whether an account exists.

Follow #account-enumeration, #information-disclosure or #password-reset for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.