Live data from Hacker News

This is why sites choose to stay vulnerable to Firesheep

google.com

61–70 of 143 posts

Re: This is why sites choose to stay vulnerable to Firesheep

#61
post #10

Is the solution to Firesheep to have every logged in page in https? Or is this not necessary?

Any HTTP request that includes the session cookie needs to be secured, otherwise the firesheep user will be able to grab the session cookie and use it in their own requests.

That is the solution to protect websites from the current iteration of FireSheep. It doesn't fix the underlying problem though. If a version of FireSheep comes out that can do MITM we might have bigger problems.

The solution to the problem is SSL on every page.

Re: This is why sites choose to stay vulnerable to Firesheep

#62

Earlier quoted context omitted.

> The difference between free and $10/year is bigger than most of us think it is. > I agree with you that we need some good free CAs https://www.startssl.com/ Supported by just about every browser. Entirely free. A fellow Hacker News user linked to it in a similar thread. I was impressed :)

Last time I checked, StartSSL was not recognized by some (slightly old) browsers. I wonder if this issue has been resolved now?

Their root CA was generated in 2006. In theory, any browser shipped before 2006 will not support it unless it was added (through, for example, Windows Updates).IE7+ is supported; I haven't tested (and don't care to test) IE6.

Re: This is why sites choose to stay vulnerable to Firesheep

#63
post #37
post #17

Earlier quoted context omitted.

Exactly. Browser makers (including Mozilla/Firefox to a large degree) are responsible for the fact that HTTPS hasn't become the standard protocol as it should have been years ago. It's not only the unproductive mixed content warning but also the insistence of all browsers to only accept expensively bought certificates and throw a very scary and hard to overcome error dialog if a site uses any other kind of cert. Whil…

StartSSL ( http://www.startssl.com/?app=1 ) provides free certificates that are browser-recognised.

I've been using StartSSL for quite some time, and only wget has been unwilling to accept it (whereas curl, firefox and chrome have all accepted it):

ERROR: cannot verify [site]'s certificate, issued by `/C=IL/O=StartCom Ltd./OU=Secure Digital Certificate Signing/CN=StartCom Class 1 Primary Intermediate Server CA':

  Self-signed certificate encountered.
To connect to [site] insecurely, use `--no-check-certificate'.

Re: This is why sites choose to stay vulnerable to Firesheep

#64

Earlier quoted context omitted.

> The difference between free and $10/year is bigger than most of us think it is. > I agree with you that we need some good free CAs https://www.startssl.com/ Supported by just about every browser. Entirely free. A fellow Hacker News user linked to it in a similar thread. I was impressed :)

Last time I checked, StartSSL was not recognized by some (slightly old) browsers. I wonder if this issue has been resolved now?

[deleted]

Re: This is why sites choose to stay vulnerable to Firesheep

#65
post #39
post #37

Earlier quoted context omitted.

StartSSL ( http://www.startssl.com/?app=1 ) provides free certificates that are browser-recognised.

Thanks for the link, I didn't know them. I just tried it. I generated a certificate for a site of mine, uploaded it, changed the config and the cert was pulled by Firefox. However sadly, the authority of StartSSL was NOT recognized by Firefox. This is what it said in the egregious warning dialog: *-------.com uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided. (E…

Off the top of my head, you probably didn't include the intermediate certificate. Read #31 on the faq: "Why does Firefox present a warning when connecting to my website?"

http://www.startssl.com/?app=25

Re: This is why sites choose to stay vulnerable to Firesheep

#67

Earlier quoted context omitted.

Any HTTP request that includes the session cookie needs to be secured, otherwise the firesheep user will be able to grab the session cookie and use it in their own requests.

That is the solution to protect websites from the current iteration of FireSheep. It doesn't fix the underlying problem though. If a version of FireSheep comes out that can do MITM we might have bigger problems. The solution to the problem is SSL on every page.

I'm not sure I'm parsing your post correctly, but as I understand it you're talking about third party websites accepting responsibility to protect you over an insecure network connection. If that's the case, then I think you're mistaken.

Certainly SSL is not required on every page, and MITM tools have been around for some time (including fairly friendly ones like Cain - http://www.oxid.it/). At the end of the day companies such as Facebook, Twitter et al have a moral (and in some cases legal) obligation to protect the information assets you uploaded to their systems from compromise. Likewise it is not unreasonable that you take certain steps to protect yourself.

The current version of FireSheep is a real known threat. We don't know what might be in future versions. For protecting against Session ID theft, SSL and the secure flag on cookies are the way to go. Certainly for data that doesn't need to be secure (such as static publicly available graphics), there's no need to use SSL for the majority of use cases.

The use of SSL for delivering dynamic client side code (such as HTML or Javascript) is an interesting issue, but ultimately the user has to bear some responsiblity for their own actions somewhere along the line. Not every network is insecure, not every browser has to support a zillion and one insecure means of using Javascript.

Rather than using SSL on every page and expecting the web sites to do the heavy lifting, consider not using insecure bearer networks, or some sort of means of securing insecure Internet links such as a VPN or SSH tunnel.

Re: This is why sites choose to stay vulnerable to Firesheep

#68
post #39
post #37

Earlier quoted context omitted.

StartSSL ( http://www.startssl.com/?app=1 ) provides free certificates that are browser-recognised.

Thanks for the link, I didn't know them. I just tried it. I generated a certificate for a site of mine, uploaded it, changed the config and the cert was pulled by Firefox. However sadly, the authority of StartSSL was NOT recognized by Firefox. This is what it said in the egregious warning dialog: *-------.com uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided. (E…

If you're using nginx, check out [1] for instructions on how to get it working.

[1]: http://blog.dembowski.net/2010/02/25/startssl-and-nginx/

Re: This is why sites choose to stay vulnerable to Firesheep

#69
post #66

An alternative? : http://www.tcpcrypt.org/

> Tcpcrypt is opportunistic encryption. If the other end speaks Tcpcrypt, then your traffic will be encrypted; otherwise it will be in clear text.

I like that, as opposed to requiring users to have to install some plugin before they can even talk to the server.

Re: This is why sites choose to stay vulnerable to Firesheep

#70
post #10

Is the solution to Firesheep to have every logged in page in https? Or is this not necessary?

You can also SSH tunnel out to a secure server, which is what you should do on any public network that isnt under your control.

It won't protect you from man in the middle attacks on the general internet, or fix the underlying issue with most websites, but it will stop firesheep.

Post reply on HN