News for hackers. Stuff that matters.
Re:HTTPS Everywhere will sunset in January 2023 by theandrewbailey on Wednesday May 25, 2022 @08:53AM (#31503823)
That was a good extension for a specific time. I stopped using it about 5 years ago when everyone had been pushing HTTPS hard, and Let's Encrypt had become popular. I didn't notice any websites not using HTTPS, so I didn't look back.
Re:HTTPS Everywhere will sunset in January 2023 by bombcar on Wednesday May 25, 2022 @09:04AM (#31503941)
http://neverssl.com remains for those badly-setup wifi networks.
Re:HTTPS Everywhere will sunset in January 2023 by RealStickman_ on Wednesday May 25, 2022 @09:51AM (#31504513)
Or alternatively http://httpforever.com/
Re:HTTPS Everywhere will sunset in January 2023 by rav on Wednesday May 25, 2022 @10:29AM (#31505045)
Similar to HTTPS-only being built into web browsers, isn't captive portal detection built into all modern OSes? What's the badly-setup wifi network that requires you to open your browser but doesn't get detected properly by the OS as a captive portal?
Re:HTTPS Everywhere will sunset in January 2023 by notatoad on Wednesday May 25, 2022 @10:41AM (#31505255)
it isn't so much "badly" set up as maliciously set up. Captive portal vendors like to find ways of defeating the operating system's captive portal detection, because it hinders their ability to show ads after the captive portal login process.
Re:HTTPS Everywhere will sunset in January 2023 by ezfe on Wednesday May 25, 2022 @12:29PM (#31506792)
Many don't because the captive portal works differently than the regular browser, I'm guessing. If you exit the captive portal on iOS (say to look up a password), you can't just go back to it, you have rejoin the network and start over.
Re:HTTPS Everywhere will sunset in January 2023 by eslaught on Wednesday May 25, 2022 @12:23PM (#31506715)
It's funny that if I navigate to this site with HTTPS-only mode, it redirects to an HTTPS page.
Re:HTTPS Everywhere will sunset in January 2023 by hudson_hiring on Wednesday May 25, 2022 @12:31PM (#31506813)
Re:HTTPS Everywhere will sunset in January 2023 by lambda_matt on Wednesday May 25, 2022 @09:39AM (#31504348)
Beat me to it. beats the hell out portscanning the subnet at the airport
Re:HTTPS Everywhere will sunset in January 2023 by silviot on Wednesday May 25, 2022 @09:10AM (#31504006)
Thanks! I'll stop using captive.apple.com now that I know about this!
Re:HTTPS Everywhere will sunset in January 2023 by robjan on Wednesday May 25, 2022 @10:28AM (#31505028)
You can also use example.com. I find that easier to remember.
Re:HTTPS Everywhere will sunset in January 2023 by tialaramex on Wednesday May 25, 2022 @02:34PM (#31508630)
The example names are just examples, it so happens that today they have a web site and it isn't HSTS. Tomorrow maybe they have HSTS. The week after maybe they get rid of the web site. The names are merely examples, and so it's probably a bad idea to use them for any other purpose.
Re:HTTPS Everywhere will sunset in January 2023 by doliveira on Wednesday May 25, 2022 @09:20AM (#31504119)
Cool, they even generate subdomains dynamically to avoid caching
Re:HTTPS Everywhere will sunset in January 2023 by viraptor on Wednesday May 25, 2022 @09:13AM (#31504034)
There are still places that don't auto-redirect to https for some reason. Maybe a temporary misconfiguration. I just ran into http://www.mbsonline.gov.au today and was surprised it didn't redirect and has broken https, even though that org really shouldn't do that.
Re:HTTPS Everywhere will sunset in January 2023 by necovek on Wednesday May 25, 2022 @10:30AM (#31505074)
A redirect itself is considered bad by some because it encourages relying on http in the first place (imagine always hitting a web site through http and expecting a redirect instead of going to https directly).

As soon as you do that, you are similarly prone to MITM attacks: on an insecure network, you hit an http site and it replaces the redirect with one to a https site that looks like the same domain but really isn't (with a valid cert for mbsonline.gov.au.foo.io).

For my personal sites, I prefer to go with no redirects and if it really processes data, https-only.

For users, the right solution isfor browsers to always attempt https first even if those could be technically serving entirely different content (that would be one hell of an anti-pattern though, so I wouldn't worry about it).

Re:HTTPS Everywhere will sunset in January 2023 by marcosdumay on Wednesday May 25, 2022 @11:21AM (#31505840)
A permanent redirection before setting the correct headers is the best you can do at the server side.

Yes, the user is using insecure practices, and no, you can't correct it on your server.

Re:HTTPS Everywhere will sunset in January 2023 by necovek on Wednesday May 25, 2022 @12:07PM (#31506526)
I am arguing that the best you can do is not even have HTTP enabled.

A permanent redirect is the second best ;) And yeah, most practical for commercial entities (which is why I highlighted what I do for my personal sites).

Re:HTTPS Everywhere will sunset in January 2023 by viraptor on Wednesday May 25, 2022 @06:20PM (#31511448)
No, you're actually less secure without HTTP. Scenario: someone figure out how to mitm your http traffic. You visit the page:

For the first time - you're affected either way.

For the second time - if you still have the permanent redirect cached, you avoid the mitm.

Disabling your own http only helps the attacker in specific situations.

Re:HTTPS Everywhere will sunset in January 2023 by necovek on Wednesday May 25, 2022 @08:50PM (#31512890)
My point is that you want to "educate" visitors to never use HTTP (eg. for their bookmarks and typing the URL in), which I hope is effectively achieved by not having HTTP web site even on a connection you trust (eg. your local network) — so if you succeeded in "educating" them at least for your web site, they are similarly protected when they come back, including from another device. If they only rely on their browsers caching the permanent redirect, they are protected for a short time on the same browser.

But ultimately, browsers have to default to HTTPS for a guaranteed "protection" from the start (whether that's through HSTS preload lists or simply by defaulting to HTTPS, does not matter much).

Re:HTTPS Everywhere will sunset in January 2023 by C4K3 on Wednesday May 25, 2022 @12:54PM (#31507155)
The best you can do is set HSTS and redirect from http to https.

You not serving http won't prevent a MITM from serving http to the victim.

Re:HTTPS Everywhere will sunset in January 2023 by philsnow on Wednesday May 25, 2022 @02:03PM (#31508216)
There's a corner case where users who have never visited your domain (either ever or just on that browser) do so for the first time over a malicious connection. In this case, Mal sends them a page that looks reasonable, they create an account or login or whatever, Mal gets the password and probably proxies the requests to the origin domain (properly over https so even if the site operator redirects all pages to https, this still works) so that the user gets the email confirmation or whatever.

A tiny bit better is to submit your domain to https://hstspreload.org/ so that (major) browsers force https on the first connection. You should still set the HSTS header of course, it's a requirement for inclusion in the preload list and it should also catch people who have a browser from before your inclusion in the list or browsers that don't support the preload list at all.

Re:HTTPS Everywhere will sunset in January 2023 by tialaramex on Wednesday May 25, 2022 @02:39PM (#31508695)
You could also choose names whose parent domain is already HSTS pre-loaded. The .dev TLD is pre-loaded for example.
Re:HTTPS Everywhere will sunset in January 2023 by necovek on Wednesday May 25, 2022 @08:56PM (#31512949)
What happens if your browser (eg. new device, another browser, first visit) does not have a record of HSTS data for a domain, and you visit it by going to HTTP on an insecure network?

Can't they similarly serve HTTP data without any HSTS headers? Or do browsers also check HTTPS for any HSTS headers on the same IP and cross-compare?

Re:HTTPS Everywhere will sunset in January 2023 by kevincox on Wednesday May 25, 2022 @09:46AM (#31504433)
I've been using HTTPS-only mode on Firefox for many months now. The place where I see HTTP links most often is email tracking links. I'm commonly automatically upgraded to HTTPS and it works but very often there is no HTTPS support at all. Even for sensitive things like password resets that have secret tokens in the URL.
Re:HTTPS Everywhere will sunset in January 2023 by tialaramex on Wednesday May 25, 2022 @10:10AM (#31504754)
A few sites I run into once in a while have the following bad setup, which HTTPS-only flags (because it's actually unsafe) but looks normal to most people:

1. http://www.example.com/ exists and redirects to http://example.com/

2. http://example.com/ also exists and redirects to https://example.com/

3a https://example.com/ works fine but

3b https://www.example.com/ does not exist

4. External links go to http://www.example.com/stuff/goes/here

You will also see the mirror image mistake (www.example.com is canonical, but the redirects go from example.com only on HTTP) at similar rates.

This is all because Tim chose not to rely on SRV records to make his toy hypermedia system work and decades later we're still paying for this (among others) mistake.

Re:HTTPS Everywhere will sunset in January 2023 by Dunedan on Wednesday May 25, 2022 @09:22AM (#31504149)
One website not supporting HTTPS which caught my eye is http://paulgraham.com/
Re:HTTPS Everywhere will sunset in January 2023 by Lanley on Wednesday May 25, 2022 @09:57AM (#31504582)
I'm surprised by the number of German websites (.de) I've encountered this year that don't support HTTPS. I think they're all small businesses or personal sites, but still unexpected.