A online security flaw called cross-site request forgery (CSRF) enables an
attacker to trick users into taking actions they did not plan to take. It
gives an attacker the ability to partially get around the same origin policy,
which is meant to stop various websites from interfering with one another.
A successful CSRF attack involves the attacker tricking the victim user into doing
an accidental action. For instance, they might need to do this to make a money transfer,
reset their password, or update their email address on file. The attacker might be able to
take full control of the user's account depending on the nature of the action. The attacker
might be able to fully manage all the data and functionality of the application if the
compromised user has a privileged role inside it.
How to protect
User django's builtin csrf_token
For other framework look for similar method
This lab contains a very baddly designed bank application
can you attack user : `Alfresko` ( you need to login as Alfresko (Alfresco) for completeting the attack process )