<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: xrequestedby</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/xrequestedby.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2008-09-24T09:40:07+00:00</updated><author><name>Simon Willison</name></author><entry><title>Robust Defenses for Cross-Site Request Forgery [PDF]</title><link href="https://simonwillison.net/2008/Sep/24/robust/#atom-tag" rel="alternate"/><published>2008-09-24T09:40:07+00:00</published><updated>2008-09-24T09:40:07+00:00</updated><id>https://simonwillison.net/2008/Sep/24/robust/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pdf"&gt;Robust Defenses for Cross-Site Request Forgery [PDF]&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Fascinating report which introduces the “login CSRF” attack, where an attacker uses CSRF to log a user in to a site (e.g. PayPal) using the attacker’s credentials, then waits for them to submit sensitive information or bind the account to their credit card. The paper also includes an in-depth study of potential protection measures, including research that shows that 3-11% of HTTP requests to a popular ad network have had their referer header stripped. Around 0.05%-0.10% of requests have custom HTTP headers such as X-Requested-By stripped.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/csrf"&gt;csrf&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/http"&gt;http&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/logincsrf"&gt;logincsrf&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/paypal"&gt;paypal&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/pdf"&gt;pdf&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/phishing"&gt;phishing&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/security"&gt;security&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xrequestedby"&gt;xrequestedby&lt;/a&gt;&lt;/p&gt;



</summary><category term="csrf"/><category term="http"/><category term="logincsrf"/><category term="paypal"/><category term="pdf"/><category term="phishing"/><category term="security"/><category term="xrequestedby"/></entry></feed>