Earlier quoted context omitted.
The fact that they're using a GET is not the problem (though it is slightly bad). The malicious javascript would have to be only slightly more complex if it was a POST. The issue is that there is no security token required when making the request to do the status update.
No, it's entirely the fault of GET. They're opening an iframe on their page with a source your post URL. If it were POST-only, they'd be blocked by Javascript being unable to communicate across domains.
Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats
11–17 of 17 posts
Re: Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats
#12Earlier quoted context omitted.
No, it's entirely the fault of GET. They're opening an iframe on their page with a source your post URL. If it were POST-only, they'd be blocked by Javascript being unable to communicate across domains.
No, it's not entirely the fault of GET. The browser does not prevent script from triggering POSTs to third party sites.
Re: Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats
#13Earlier quoted context omitted.
No, it's not entirely the fault of GET. The browser does not prevent script from triggering POSTs to third party sites.
Seriously? Seems like a security problem waiting to happen... gotta give this a try now.
Re: Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats
#14Earlier quoted context omitted.
Seriously? Seems like a security problem waiting to happen... gotta give this a try now.
Seriously. Search the web for documents on "cross site request forgery". Most of the documents discuss the POST issue. Some documents don't mention GET because GET should not be used when the request has side effects.
Re: Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats
#15Though I haven't seen that error consistently.
Re: Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats
#16Earlier quoted context omitted.
Seriously. Search the web for documents on "cross site request forgery". Most of the documents discuss the POST issue. Some documents don't mention GET because GET should not be used when the request has side effects.
Oooh, I see how it's done now. Guess that makes sense, though it's still strange that browsers allow cross-domain form submissions...
Also, sure, every webserver could proxy the requests—but then you have to guarantee that you haven't created an open proxy, which is a much worse hole than a simple CSRF—and then you have to do some more server-side configuration every time you want to enable your views to touch a new third-party API—which excludes a lot of hosted sites, like blogs, from using any API that their server admin hasn't considered.
Re: Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats
#17Earlier quoted context omitted.
Seriously. Search the web for documents on "cross site request forgery". Most of the documents discuss the POST issue. Some documents don't mention GET because GET should not be used when the request has side effects.
Oooh, I see how it's done now. Guess that makes sense, though it's still strange that browsers allow cross-domain form submissions...