News for hackers. Stuff that matters.
Re:Google and HTTP by cutler on Tuesday July 04, 2023 @12:29PM (#36588932)
Sites which don't handle user data do not need HTTPS.
Re:Google and HTTP by naikrovek on Tuesday July 04, 2023 @12:37PM (#36589045)
they do if they don't want a user's ISP to inject ads or modify content in transit.

this does happen

Re:Google and HTTP by bmacho on Tuesday July 04, 2023 @12:54PM (#36589297)
Just make it illegal (I think it already is on most of the world), problem solved.
Re:Google and HTTP by naikrovek on Tuesday July 04, 2023 @02:54PM (#36591094)
you're right. making an activity illegal always stops it.
Re:Google and HTTP by bmacho on Tuesday July 04, 2023 @04:35PM (#36592213)
I don't remember saying that, or anything close to it?

If the law forbids ISPs to show ads or modify the content in any way, then they won't do it.

Re:Google and HTTP by pixl97 on Tuesday July 04, 2023 @05:20PM (#36592630)
No what you stated was "take money out of politics" which is going to be far more difficult then the technical issues we're presented with.

Why that statement, because any law to ban ISPs from doing this will be met with millions in political investment by said ISPs to prevent it. Since the average person doesn't care about this issue it's a losing proposition.

Re:Google and HTTP by davewiner on Tuesday July 04, 2023 @01:38PM (#36589978)
i'm not going to re-do all the sites i did in the 90s, 00s, 10s. never going to happen.
Re:Google and HTTP by naikrovek on Tuesday July 04, 2023 @02:54PM (#36591096)
I'm not asking you to
Re:Google and HTTP by nlewycky on Tuesday July 04, 2023 @03:58PM (#36591816)
Could you elaborate? I thought upgrading to HTTPS wouldn't involve redoing any sites, no changes to the HTML/CSS/JS/server side code, except for the TLS configuration and maybe replacing links from "http:" to "https:" but that's optional. I'd like to hear how it requires redoing a website?
Re:Google and HTTP by amf12 on Tuesday July 04, 2023 @12:42PM (#36589122)
It's not just for sites which handle user data. MITM attacks are real. Non-tech people don't know what VPN, HTTP or HTTPS are.

Here's an example: a person goes to say Reddit, and clicks on a HTTP link about a new recipe. It's possible for a link to a malicious site being injected in the page. These were pretty common in developing countries.

Re:Google and HTTP by nlewycky on Tuesday July 04, 2023 @01:04PM (#36589447)
Nonsense, all sites need HTTPS. Any HTTP connection can have its contents rewritten by an middle party, so if you are using HTTP and not HTTPS then you are 100% OK with the recipient getting altered or incorrect data. If that's the case, just delete your content and serve a 404 instead since you've already stated you're OK with this.

Why do you think "handling user data" is the only reason to employ encryption? What if the website is serving up static content that seems completely fine to you or I but the user is in a legal situation where they would be in trouble for reading it? What if the user is somebody the local police are trying to frame, so the request was normal, the response was normal, but the response was replaced with something illegal so the police can arrest for possession? Why should every router on the path be able to see what I'm reading, what I'm reading web pages about medical conditions? Why do you insist that everyone should collectively make technical decisions that serve to enable this kind of thing?

This isn't hypothetical. A country once used their position of owning the local telecom to inject javascript into web pages that would DDoS another website they didn't like. See https://en.wikipedia.org/wiki/Great_Cannon .

The web moved from HTTP-over-TCP to HTTP-over-TLS because it fixes real problems. One of the common mistakes people make when thinking about security is trying to imagine the attacks themselves and then only defending against those. Your imagination is not the limit, you're up against the collective creativity of everyone else. Encrypt your stuff and remove a whole category of possible problems.

Re:Google and HTTP by jackweirdy on Tuesday July 04, 2023 @04:24PM (#36592076)
Do LAN sites need HTTPS? IE wifi router, printer, fax control panel?

I am pro-HTTP for these use cases for as long as browsers have more serious warnings against self signed certs, old SSL/TLS versions and weak algo choices than the warnings for HTTP.

Hardware deserves to be supported as long as it physically works rather than as long as its embedded TLS stays supported

Re:Google and HTTP by pixl97 on Tuesday July 04, 2023 @05:17PM (#36592601)
Depends if another device in your network is compromised.
Re:Google and HTTP by nlewycky on Tuesday July 04, 2023 @05:44PM (#36592892)
> Do LAN sites need HTTPS? IE wifi router, printer, fax control panel?

Of course. All traffic needs to be encrypted. Why must these not be encrypted?

> I am pro-HTTP for these use cases for as long as browsers have more serious warnings against self signed certs, old SSL/TLS versions and weak algo choices than the warnings for HTTP.

IMO, HTTP-over-TCP support should have been removed from all browsers years ago, solving your self-cert vs HTTP problem.

Good solutions for the LAN use case have been rather weak so far. The two categories of solutions are a) a CA for your LAN. People are OK using this for things like dev servers on localhost, but what you want is to have router that issues DHCP leases also issue IP certs for local devices. b) TLS-TOFU for self-certs. We can even do this over the public web too, but we can also treat self-signed certs on LAN vs. public web differently and report when the identity behind the IP has changed. (Generally a bad idea over the public web because we want to allow key rotation, but that might be fixable by adding multiple keys or some hack like publishing the next key into .well-known/next-key or something -- I'm riffing here.)

> Hardware deserves to be supported as long as it physically works rather than as long as its embedded TLS stays supported

Why? Or put differently, if the manufacturer has stopped providing firmware updates, they've unsupported it no matter what the rest of the world has done. Why should the rest of the world compromise security by design in order to only partially not-break a hardware device that the manufacturer doesn't support? In this one exact scenario? Maybe in the future we can provide a small ethernet-to-ethernet (or wifi-to-wifi) device that wraps a single old TLS device and provides a modern interface to it, if support is that important.

Re:Google and HTTP by jackweirdy on Tuesday July 04, 2023 @06:05PM (#36593122)
The argument I have in favour of not requiring encryption is best summarised by what you have outlined. It would require a massive industry shift towards no obvious solution with no backwards compatibility that doesn't solve anything

Until I hear a convincing story of how I will do the usual lan tasks of

- connect to my router to fiddle with settings

- see the management interface on my printer

- join my parents network and do things for them without having to explicitly trust a CA

- And most importantly, see consumers who don't understand any of those things be able to do these things all out of the box

I can't see how it is a viable expectation

I totally love encryption. It's great. But seriously: what domain will I visit to fix my pppoe settings. Who's going to control that domain, and who's going to renew the certs for it. Because if the answer we will expect consumers and SMEs to trust a certificate authority created by a factory with its own crappy security practices, I'm not sure how that's an improvement

Otherwise we are breaking things to "fix" something that doesn't "fix" anything. if someone is MITMing my lan, it doesn't matter whether my router is TLS or not. it's compromised