Forum Discussion
CSRF Explanation request
I don't understand CSRF very well, so could anyone please give me example for it, supposed I've example.com web page,
and what's the difference between CSRF & cookie hijacking or seeion hijacking.
1 Reply
- nathe
Cirrocumulus
Here's an example.
You're logged onto your banking website and you receive an email from an attacker with a link to click on. This link has a maliciously crafted request to post £100 into his account from your own account. Once you click on the link this request goes through i.e. a fraudulent, unwanted transaction.
Relies on pre-authenticated session already existing. Also, to the backend server it looks like a legitimate request - there's not way of distinguishing it.
Ways to mitigate are things like a requirement to re-enter your password when transferring money, or CAPTCHA confirmation or using Tokens. ASM can mitigate CSRF by injecting tokens into the application that can't be posted in a malicious link.
Hope this helps,
N
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com