MEDIUM 5.3
GHSA-5h3x-6gwf-73jm
vantage6 vulnerable to a username timing attack on recover password/MFA token
Details
### Impact Much like https://github.com/vantage6/vantage6/security/advisories/GHSA-45gq-q4xh-cp53, it is possible to find which usernames exist in vantage6 by calling the API routes `/recover/lost` and `/2fa/lost`, which send emails to users if they have lost their password or MFA token. Usernames can be found by assessing response time differences, and additionally, they can be found because the endpoint gives a response "Failed to login" if the username exists.
### Patches No
### Workarounds No
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/vantage6/vantage6/security/advisories/GHSA-45gq-q4xh-cp53 [WEB]
- https://github.com/vantage6/vantage6/security/advisories/GHSA-5h3x-6gwf-73jm [WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-24770 [ADVISORY]
- https://github.com/vantage6/vantage6/commit/aecfd6d0e83165a41a60ebd52d2287b0217be26b [WEB]
- https://github.com/vantage6/vantage6 [PACKAGE]