News for hackers. Stuff that matters.
Re:Logjam: the latest TLS vulnerability explained by r1ch on Thursday May 21, 2015 @05:52AM (#9581740)
A bit off topic, but I find it quite disheartening that cloudflare has regular blog posts about how great their security is and how safe you are with cloudflare, but at the same time offers customers seriously broken SSL options.

2 of the 3 options ("Universal SSL" and "Full SSL") are not "secure" by today's standards. Universal SSL leaves connections to the origin unsecured allowing for passive and active MITM attackers to intercept things. Full SSL allows an active MITM to intercept origin connections.

Advertising these services as "SSL" is misleading and offers a false sense of security to visitors as they will see the nice green SSL lock and think their connection to a cloudflare-protected website is fully protected. Meanwhile their credit card information and other personal details could be travelling over the internet in plain text to the origin.

Re:Logjam: the latest TLS vulnerability explained by spacefight on Thursday May 21, 2015 @05:59AM (#9581754)
Yes. I have said it before and I say it again: Cloudflare (and any other large CDNs) are a perfect setup for a MITM or a perfect target for a nation-state's secret service.
Re:Logjam: the latest TLS vulnerability explained by sschueller on Thursday May 21, 2015 @09:14AM (#9582460)
Especially when cloudflare is governed by the laws of the US which includes the patriot act. How do we know this isn't already the case?
Re:Logjam: the latest TLS vulnerability explained by sarciszewski on Thursday May 21, 2015 @10:46AM (#9583040)
If your threat model includes intelligence agencies, set up your own HTTPS with HSTS and HPKP and don't use CloudFlare.

Wow, that was easy.

Re:Logjam: the latest TLS vulnerability explained by tikums on Friday May 22, 2015 @04:58AM (#9587201)
So, basically anyone providing online services to customers then? Who's threat model should not include intelligence agencies? Online pet shop?
Re:Logjam: the latest TLS vulnerability explained by sarciszewski on Friday May 22, 2015 @10:34AM (#9588524)
It comes down to personal opinion more than anything.
Re:Logjam: the latest TLS vulnerability explained by jgrahamc on Thursday May 21, 2015 @06:36AM (#9581843)
Universal SSL does not imply "origin unsecured": https://blog.cloudflare.com/universal-ssl-encryption-all-the...
Re:Logjam: the latest TLS vulnerability explained by r1ch on Thursday May 21, 2015 @08:25AM (#9582190)
It seems I meant "Flexible SSL" instead of "Universal SSL". According to the main website, flexible SSL is not secured. https://www.cloudflare.com/ssl

The beta test of a Cloudflare CA for "Full SSL" is a big improvement over accepting any self-signed certificate, but I still think "Flexible SSL" should not be a thing.

Re:Logjam: the latest TLS vulnerability explained by xyzzy123 on Thursday May 21, 2015 @08:29AM (#9582211)
It misleads users, for a start.

I get the business case (the whole point is that SSL is hard for a large class of server admins). Also it does help for e.g. users coming in via tor or un-trusted networks.

But dammit, I still can't bring myself to like it.

Re:Logjam: the latest TLS vulnerability explained by RpPr on Thursday May 21, 2015 @08:49AM (#9582312)
Not to mention their disgraceful Tor captchas.
Re:Logjam: the latest TLS vulnerability explained by christop on Thursday May 21, 2015 @09:44AM (#9582684)
Supposedly they're working on that: https://www.youtube.com/watch?v=QdVL54l-VWY#t=25m11
Re:Logjam: the latest TLS vulnerability explained by jamespo on Thursday May 21, 2015 @09:10AM (#9582436)
Why do you think they have implemented these? Just to inconvenience you?
Re:Logjam: the latest TLS vulnerability explained by lucb1e on Thursday May 21, 2015 @09:16AM (#9582477)
(Another Tor browser user here.) Yes, it sure seems so. Half the time I visit Hacker News (which is behind Cloudflare) I have to fill in a captcha. I'm logged in with a 3k rep account and I'm not trying to do any action, I'm just trying to see the front page. That is surely suspicious enough to give me a captcha every ten minutes.

Edit: to respond to both comments at once: alright Cloudflare may not recognize my HN cookie and account, but they do have two cf_* cookies, and I am merely loading the homepage. No weird URL parameters, no POST data, nothing.

Re:Logjam: the latest TLS vulnerability explained by d23 on Thursday May 21, 2015 @01:10PM (#9584006)
Dude, you're assuming that from that same exact IP address they aren't getting a ton of other traffic that isn't spamming the hell out of them or doing completely sketchy stuff. That's what happens when you share an IP address with other people -- especially those who might be criminals or have other nefarious motives for using tor.
Re:Logjam: the latest TLS vulnerability explained by lucb1e on Thursday May 21, 2015 @02:08PM (#9584377)
And that's why IP banning is a silly thing in IPv4. In Italy there is CGNAT widely deployed for years and Asian ISPs have big trouble obtaining IPv4 addresses as well.

Dude.

Re:Logjam: the latest TLS vulnerability explained by jamespo on Thursday May 21, 2015 @09:37AM (#9582632)
Are you suggesting cloudflare should hook into HN to check your reputation, I'm not sure they have the engineering capacity to extend this to all sites.
Re:Logjam: the latest TLS vulnerability explained by jtdowney on Thursday May 21, 2015 @09:47AM (#9582698)
To be fair, Cloudflare has no concept of how much reputation you have on HN.
Re:Logjam: the latest TLS vulnerability explained by RpPr on Thursday May 21, 2015 @09:40AM (#9582653)
They're the only major internet provider I know that consistently has difficulty providing adequate service to Tor browser users in the common case.

They've even acknowledged that they're doing an unsatisfactory job of it, but still haven't gotten around to improving their system in several months.

Re:Logjam: the latest TLS vulnerability explained by eastdakota on Thursday May 21, 2015 @01:55PM (#9584305)
It's a hard problem. The challenge is the vast majority of the traffic we see across Tor is malicious. I don't mean malicious in a normative/political sense (e.g., visiting a controversial site) I mean it in the sense that it is trying to harm the visited site (e.g., spam, SQL injection, etc.). Our customers sign up for us to protect them from these malicious visitors. Tor makes users individually anonymous -- which I think is extremely important for the health of the Internet -- but the challenge is that then means we have to fall back on less granular data when assessing a visitor's reputation (e.g., an IP address). CAPTCHAs are an imperfect way of differentiating malicious and non-malicious users both coming from a space where we see a majority of attempted harmful requests. Agree it's not perfect, but we haven't yet come up with a way to respect anonymity, protect our customers from attacks, and not introduce some additional annoyance/friction to good users on shared networks with a large amount of malicious traffic like Tor.

To be clear, we don't disfavor (or favor) Tor exit nodes. The reputation of their IPs is generated automatically, just like the reputation of a company's VPN or your home router. People have suggested we provide our customers a way to whitelist all of Tor's nodes. We could do that, but I worry it may have the opposite of the intended effect. The vast majority of our customers, if given the ability to apply a rule to the Tor network, would choose to blacklist it entirely. While not the HN crowd, most site owners see Tor as a source of their headaches (e.g., credit card fraud, spam, trolling, hacking attempts, etc.). I'm not sure how we can build a system to allow customers to identify a set of IPs to whitelist without also allowing them to blacklist those IPs. I've been the voice internally who has resisted providing a selector on Tor but, maybe counter intuitively, because I am worried about not further harming the network's ability to allow users to surf the network anonymously.

All that said, I agree right now our solution is far from perfect. I believe long term we'll always add a bit of friction to anonymous, shared networks but I think we can make it less painful/annoying. A number of very high profile individuals ranging from human rights activists to ACLU attorneys to even Edward Snowden and Julian Assange have personally asked me to, please!, make it better. A significant portion of our team is working to improve the experience for legitimate anonymized visitors without putting our customers at more risk. We've gotten incrementally better, but we're far from perfect. If you have ideas on how we can be better while still offering the protection our customers hire us for, send them our way or, better yet, come work with us. This is a hard engineering and Internet policy problem that there isn't a silver bullet solution for but that making progress on will have an enormously positive impact to millions of Internet users globally.

Re:Logjam: the latest TLS vulnerability explained by RpPr2 on Thursday May 21, 2015 @05:03PM (#9585373)
Thanks for replying to this, it's good to see you recognize this as an issue.

Some thoughts based off this:

It's clear that these captchas are 95% broken, the fact that these ones are so unreadable suggests the more readable ones were solved, so apparently this implementation can't last in any case.

For what it's worth I would have no problem filling out captchas if they're readable, and other places on the internet do still have readable captchas.

Another reading here is that Cloudflare has sold a product to its customers (hacking protection) that other cloud providers have not attempted to sell. I'm going to be harsh and call that negative externalities for Tor users.

And I'm not sure that product even works as advertised - a scan of the internet can reveal the backend server, which could still be hacked (probably even more so, if the customer is now relying on Cloudflare to protect it).

It seems we're talking about automated attacks only? Else the attacker could just fill out the captcha manually first.

If a targeted attack can be detected (attacker has completed the captcha), just rely on that code instead? If not, have we gained much?

Clearly a lot of customers will have blindly cranked their s3cur1ty bar to 11. Perhaps make it harder for a customer to do that, given the adverse impact it currently causes? Most people probably think DoS when they head to Cloudflare, not free captchas.

Note that I do mean "common case", because its weakens the anonymity set when normal people are hassled out of Tor. So just making "GET /boring-article.html$" work would be a great improvement. If that then lead to a work-flow of "POST /comment" -> 403, user notices, hits refresh and fills out a magically-appeared captcha, then so be it.. Tor users would learn this flow quick enough, and prefer it.

I could totally ask and suggest ideas about this all day for free, but I won't be applying to Cloudflare for the time being fwiw :P Still, I'm grateful you're working on the issue.

Re:Logjam: the latest TLS vulnerability explained by middleclick on Thursday May 21, 2015 @01:06PM (#9583978)
I can record a screencast in which I enter the right CAPTCHA and CloudFare still refuses to let me in, repeatedly, when I am using the Tor Browser. This happens to a point that I just give up because life is too short to enter right CAPTCHAs and still see CloudFlare complain.