2FA Verification Bypass in Shapeshift [shapeshift.com] (Write Up)
The 2FA verification step during login could be bypassed by tampering with a parameter value in the verification request, allowing access to an account with 2FA enabled without the correct code. The text attributes this to a lack of authentication in the app.
Published on blog.evanricafort.com
Morning of Sunday 18th of April after playing video game I decided to make a quick hunt on one of the bug bounty program that I found on Google. So I fired up some of my favorite recon tools to gather information from the website and while the tools are doing their things I registered my email on the website to test…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server trusted a client-supplied parameter in the 2FA verification request instead of validating the submitted code against the account's expected value.
Impact
An attacker could access an account with 2FA enabled without providing the correct 2FA code during login.
What the attacker needed
A registered account; 2FA enabled on the account; ability to intercept and modify requests
How it was found
- Register an account on the website.
- Enable 2FA verification on the account.
- Start the login procedure and reach the 2FA verification request.
- Tamper with one parameter value in the 2FA verification request to bypass the check.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Two-factor authentication (2FA) is a second check, usually a code from your phone, after your password. Here, the server did not properly check that the code was correct, so changing a value in the request let someone skip that check. That means a stolen password alone could be enough to get into the account.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.