Live data from Hacker News

Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats

techcrunch.com

11–17 of 17 posts

Re: Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats

#11
post #10
post #8

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.

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

#12
post #10

Earlier 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.

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

#13
post #12

Earlier 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.

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

#14
post #12

Earlier 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.

Oooh, I see how it's done now. Guess that makes sense, though it's still strange that browsers allow cross-domain form submissions...

Re: Don’t Click The WTF Link On Twitter Unless You Do Like Sex With Goats

#16
post #14

Earlier 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...

If browsers didn't support cross-site form submission, many common "web gadgets" wouldn't work: there would be no site-customized Google search boxes, and none of those third-party "share this page" buttons. Sure, the merit of those things is itself debatable—but they exist, and web developers will increasingly rely on them (e.g. the Facebook Like button.)

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

#17
post #14

Earlier 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...

[deleted]
Post reply on HN