This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "Cross-Site Request Forgery (CSRF)"

From OWASP
Jump to: navigation, search
(Fixed category.)
Line 1: Line 1:
 
{{Template:Stub}}
 
{{Template:Stub}}
  
[[Category:Vulnerability]]
+
Cross-Site Request Forgery (CSRF) is an attack that tricks the victim into loading a page that contains img links like the one below:
  
[[Category:Input Validation Vulnerability]]
+
<img src="http://forum.example.org/send.cfm?subject=test&msg=attack" />
  
[[Category:Input Validation]]
+
When the victim's browser attempts to render this page, it will issue a request to forum.example.org to the send.cfm page with the specified parameters.  In this way, the attacker can make the victim perform actions that they didn't intend to, such as logout, purchase item, or any other function provided by the vulnerable website.
 +
 
 +
[[Category:Attack]]

Revision as of 19:57, 5 July 2006

This article is a stub. You can help OWASP by expanding it or discussing it on its Talk page.


Cross-Site Request Forgery (CSRF) is an attack that tricks the victim into loading a page that contains img links like the one below:

<img src="http://forum.example.org/send.cfm?subject=test&msg=attack" />

When the victim's browser attempts to render this page, it will issue a request to forum.example.org to the send.cfm page with the specified parameters. In this way, the attacker can make the victim perform actions that they didn't intend to, such as logout, purchase item, or any other function provided by the vulnerable website.