Password Reset Allows For User Email Enumeration in athou/commafeed
Reported on
Jul 5th 2022
Description
The password reset function at the login page responds to valid and invalid emails in the application. Submitting an invalid email result in "The e-mail address is not assigned to any user account." A valid response results in a message stating an email has been sent.
Proof of Concept
1. Select "Forgot Password" on the commafeed sign on page
2. Enter an invalid email and observe the results suggested in the description.
Impact
An attacker can identify valid user email accounts which permits the attacker to increase the application's attack surface. The severity is lowered slightly due to email accounts being separate from the username.
Recommendation
Synchronize response messages in the password reset request. I suggest something like, "You will receive an email in a few minutes if the email is in our system."
SECURITY.md
exists
a year ago