CSRF
Posted: Wed Mar 23, 2011 3:24 pm
Hi!
I have a question about Cross-site request forgeries: I know NoScript blocks them by sanitizing and turning POST requests between sites into empty GET ones, and that blocking javascript takes care of most CSRF.
But what does it do against GET requests with parameters between sites, through images or links or anything? (I guess I'm talking about a request like example.com/changesomething.php?item=yourhouse&newvalue=owned)
And are there other vectors for CSRF?
And let's reverse the situation (I guess it's not CSRF anymore): What if an ad.com company has access to my cookie when I'm on example.com, due to example.com setup? Does NoScript prevent that cookie from being read and its data sent over to ad.com? The question extends to DOM storage, form currently filled etc.
I'm not sure I'm very clear though, so I'll quote a comment on AMO:
Thanks
EDIT: I had to untick the "hide noscript element" checkbox on untrusted sites to see the captcha before posting. What good does that checkbox bring when protecting against fingerprinting and privacy issues on untrusted sites? I mean, what's the downside of unticking that box? (upside being more user friendly experience)
I have a question about Cross-site request forgeries: I know NoScript blocks them by sanitizing and turning POST requests between sites into empty GET ones, and that blocking javascript takes care of most CSRF.
But what does it do against GET requests with parameters between sites, through images or links or anything? (I guess I'm talking about a request like example.com/changesomething.php?item=yourhouse&newvalue=owned)
And are there other vectors for CSRF?
And let's reverse the situation (I guess it's not CSRF anymore): What if an ad.com company has access to my cookie when I'm on example.com, due to example.com setup? Does NoScript prevent that cookie from being read and its data sent over to ad.com? The question extends to DOM storage, form currently filled etc.
I'm not sure I'm very clear though, so I'll quote a comment on AMO:
Will CsFire block 3rd party cookies? I control my cookies with CS Lite, but I don't want google, for example, reading my cookies when i'm on example.com, if they have a tracking bit there, etc.
This review is for a previous version of the add-on (0.5.1).
And so I come to the last question: Is there any gain in using CsFire when you already have NoScript installed?Short answer
by Philippe De Ryck (Developer) on April 28, 2010 #
The short answer is yes, CsFire will strip cookies from a request from example.com to google.com. Of course, this situation can be manipulated using the user-specifiable policies available in CsFire.
Thanks
EDIT: I had to untick the "hide noscript element" checkbox on untrusted sites to see the captcha before posting. What good does that checkbox bring when protecting against fingerprinting and privacy issues on untrusted sites? I mean, what's the downside of unticking that box? (upside being more user friendly experience)