vantage6 vulnerable to a username timing attack on recover password/MFA token
GHSA-5h3x-6gwf-73jm · CVE-2024-24770 · PYSEC-2026-2005
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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
References
- WEB https://github.com/vantage6/vantage6/security/advisories/GHSA-45gq-q4xh-cp53
- WEB https://github.com/vantage6/vantage6/security/advisories/GHSA-5h3x-6gwf-73jm
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2024-24770
- WEB https://github.com/vantage6/vantage6/commit/aecfd6d0e83165a41a60ebd52d2287b0217be26b
- PACKAGE https://github.com/vantage6/vantage6
Ready to move
Start Securing
Free, no credit card | First findings in minutes