Hi,
We recently had our PowerApps Portal penetration tested. One of the medium-severity findings in the report was that an attacker could enumerate user accounts via the forgot password functionality. The message displayed when an account doesn't exist in the database is "an account could not be found for the provided user id." An attacker could exploit this to identify valid user accounts registered in the application, potentially leading to brute-force attacks, social engineering, etc.
The PEN test recommendation is to implement a generic error message for the forgot password functionality.
Has anyone else encountered this issue during their Portal/Page PEN tests? If so, how did you address it? Is it a significant task to modify the forgot password flows?
Thanks