CSRF Attack!!!
The final bank login endpoint lacked a CSRF token, allowing an attacker to craft a request that linked a demo bank account to a victim's account when the victim visited a malicious page. The researcher reported the bug and received a $500 reward.
Published on balapraneeth.medium.com
In this article, I’m going to share my recent finding which was mostly about the enumeration part. So without any further delay let’s dive in.
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
Impact
An attacker could link a demo bank account to a victim's account without the victim's consent, potentially enabling unauthorised financial actions.
What the attacker needed
Victim is logged in; victim clicks a crafted link
How it was found
- Register an account on the development domain and inspect requests in Burp.
- Use the feature to link a demo bank and examine the final bank login endpoint.
- Notice the endpoint lacks a CSRF token.
- Craft a CSRF proof-of-concept using Burp's generator and make a victim click it.
- The victim's account becomes linked to the demo bank account.
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.
CSRF (Cross-Site Request Forgery) is when a malicious website tricks your browser into sending a request to another site where you're logged in, without you knowing. Here, the bank-linking step didn't check for a secret token, so an attacker could make your account link to their demo bank by getting you to click a link.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.