CSRF Mitigation methods
This wiki is currently incomplete! Feel free to contribute!
CSRF is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated. With a little help of social engineering (like sending a link via email/chat), an attacker may trick the users of a web application into executing actions of the attacker's choosing. A successful CSRF exploit can compromise end user data and operation in case of normal user. If the targeted end user is the administrator account, this can compromise the entire web application.
For more information on CSRF visit:
OWASP CSRF Protector Project
OWASP CSRF Protector is a new anti CSRF method to mitigate CSRF based attacks in web applications. It comes in two parts :
- Standalone php library: This library can be both easily integrated with both existing web application or easily used while developing a new one.
- Transparent Apache Module: Can be installed on Apache 2.x.x servers to provide CSRF mitigation without doing any modification in web application logic or codes.
|Properties / Tool||CSRF Protector - php library||mod_csrfprotector apache module|
|Works with||php >= 4.3||Apache 2.2.x|
|Current Status||Alpha Version released||Alpha Version released|
|Protection||CSRF Protection for php web applications||CSRF Protection for apache 2.2.x servers, irrespective of languages used as server side script!|
|NOJS Support||Yes (Separate version supporting NoJS)||No|
|More Information||Wiki Github Repository||Wiki Github Repository|
OWASP CSRF Guard Project
The OWASP CSRFGuard library is integrated through the use of a JavaEE Filter and exposes various automated and manual ways to integrate per-session or pseudo-per-request tokens into HTML. It comes in two parts:
- A library that implements a variant of the synchronizer token pattern to mitigate the risk of Cross-Site Request Forgery (CSRF) attacks.
- A JavaEE Filter and exposes various automated and manual ways to integrate per-session or pseudo-per-request tokens into HTML.
|Properties / Tool||CSRF Guard|
|More Information||Wiki Github Repository|