How I Chained 2FA Bypasses in a Crypto P2P System to Steal User U
The two-factor authentication check for adding a P2P payment method and creating a sell order was performed only in the browser and the code was never sent to the server. An attacker could therefore add a payment method and create a sell order without knowing the victim's 2FA code, potentially stealing user funds.
While hunting on a popular cryptocurrency exchange platform with over 2 million users, I discovered 2FA bypass that could let an attacker steal user funds — without ever passing two-factor authentication.
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 did not verify the one-time password for these actions; the check existed only in client-side code.
Impact
An attacker could add a payment method and create a sell order without passing 2FA, which could lead to theft of user funds.
What the attacker needed
Victim account with 2FA enabled; ability to send requests directly
The fix
The report was resolved, implying the server now enforces OTP verification for these actions.
How it was found
- Intercept the request to add a P2P payment method.
- Observe that no OTP is included in the request.
- Intercept the request to create a sell order using the added payment method.
- Observe again that no OTP is included in the request.
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 proof of identity, usually a short code from an app or SMS. Here the website asked for that code in the browser but never checked it on the server, so anyone could skip the step by sending the request directly. That let an attacker act as if they had passed 2FA.
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.