The vulnerability described as 'No limit on emails sent for password/MFA reset' was addressed in vantage6 version 5.0.0. The fix involved a complete migration of the authentication system to Keycloak, as detailed in the release notes. This migration removed the custom-built authentication logic that contained the rate-limiting flaw.
The vulnerable functions were part of the API endpoints that handled password and MFA recovery. By analyzing the code structure of vantage6 before version 5.0.0, the most likely location for this logic is in vantage6-server/vantage6/server/resource/recover.py. The post methods of the PasswordLost and MfaLost resources were responsible for sending recovery emails. Since these methods lacked any rate-limiting mechanism, they could be abused to send an excessive number of emails, leading to the described denial-of-service vulnerability. Therefore, these functions are the primary indicators of the vulnerability being exploited in a runtime environment.