News for hackers. Stuff that matters.
Re:Klarna users are being signed in to random accounts by paxys on Thursday May 27, 2021 @11:09AM (#27304033)
Having at least authenticated sections of your site use HTTPS was standard well before 2011.
Re:Klarna users are being signed in to random accounts by tl on Thursday May 27, 2021 @11:43AM (#27304427)
Let's Encrypt started in 2014 to address HTTP overuse.

In 2011, I (in-house corp app dev) was still stuck with HTTP services (behind a firewall, accessible only via VPN).

In 2014, public facing mobile apps using HTTP was prevalent enough to prompt name and shame campaigns. [1] My fuzzy memory suggests some banks were still using HTTP.

[1] https://arstechnica.com/information-technology/2014/08/new-w...

Re:Klarna users are being signed in to random accounts by benlivengood on Thursday May 27, 2021 @12:21PM (#27304833)
Bank of America back in 2005 (timestamp from the annoyed email I sent them) refused to load the front page over https. I think it even redirected https attempts back to http. The form submission was over https.

The solution was to enter garbage for the first login since the "re-enter your password" page was served over https. I think they fixed it before 2011, but don't have an exact record of when.

Re:Klarna users are being signed in to random accounts by shkkmo on Thursday May 27, 2021 @12:19PM (#27304815)
I started doing professional web development in 2011. It was very clear at the time that not using HTTPS for any site with a login was an BAD practice that made your users less secure. There were clearly people and institution still using bad practices, but risks were clear to most web developers.

What was shifting at the time was developer views on using HTTPS for non-secure, unauthenticated portions of websites. This is where the "HTTPS Everywhere" plugin and other such movements came in.

Re:Klarna users are being signed in to random accounts by pooper on Thursday May 27, 2021 @12:36PM (#27305019)
From what I remember there was a lot of pushback from infrastructure as we thought using https for the whole website would increase CPU load. Never verified if this was true... but I'm sure someone here should know.
Re:Klarna users are being signed in to random accounts by shkkmo on Thursday May 27, 2021 @12:45PM (#27305112)
Re 2011

Push back on what? There was pushback against HTTPS for non-authenticated pages for various reasons.

That does not mean that HTTPS for authenticated pages was not considered a standard and necessary security measure.

Re:Klarna users are being signed in to random accounts by birdyrooster on Thursday May 27, 2021 @03:28PM (#27307101)
Let’s encrypt came way way late to the party. We had been banging the drum for 20 years by then.
Re:Klarna users are being signed in to random accounts by kaszanka on Thursday May 27, 2021 @03:54PM (#27307439)
If the pages are only accessible via a VPN, what does HTTPS really get you?
Re:Klarna users are being signed in to random accounts by tl on Thursday May 27, 2021 @04:47PM (#27308288)
Not needing a VPN. rimshot

In all seriousness, better security. You are leaking whatever payload is sent right after VPN drops. An early version of the application had a defect because it did not check response payloads on an endpoint (the code handled errors, but 200 OK was all it needed on success). This is not what you want when the 200 OK is followed by the HTML of a hotel's wi-fi access page.

Re:Klarna users are being signed in to random accounts by oxplot on Thursday May 27, 2021 @11:35AM (#27304324)
That only protects the user's password. The auth cookie will be sent in all subsequent requests in plain text.

EDIT: that's how firesheep (https://en.wikipedia.org/wiki/Firesheep) hijacked sessions for e.g.

Re:Klarna users are being signed in to random accounts by nly on Thursday May 27, 2021 @11:43AM (#27304417)
That's not true. Cookies can have a 'secure' attribute which tells the browser to send them only over TLS
Re:Klarna users are being signed in to random accounts by chc on Thursday May 27, 2021 @12:12PM (#27304721)
But that just makes your login not work if the rest of your site is HTTP, doesn't it?
Re:Klarna users are being signed in to random accounts by shkkmo on Thursday May 27, 2021 @12:27PM (#27304915)
You should not show authenticated pages without HTTPS
Re:Klarna users are being signed in to random accounts by oxplot on Thursday May 27, 2021 @12:27PM (#27304916)
A secure cookie would be of no use for a site whose only secure page is the login page, which is what the parent post I replied to was talking about.
Re:Klarna users are being signed in to random accounts by eli on Thursday May 27, 2021 @12:08PM (#27304684)
in 2011?
Re:Klarna users are being signed in to random accounts by shkkmo on Thursday May 27, 2021 @12:26PM (#27304902)
Yes
Re:Klarna users are being signed in to random accounts by the_duke on Thursday May 27, 2021 @01:11PM (#27305411)
Only for certain domains and in certain regions.

A lot of the web was still on http, including some banks.

Even Facebook was still primarliy http when Firesheep [1] came out in 2010.

[1] https://en.wikipedia.org/wiki/Firesheep

Re:Klarna users are being signed in to random accounts by birdyrooster on Thursday May 27, 2021 @03:24PM (#27307048)
Not sure why you are being downvoted but this is exactly correct. We had, as an industry, been so focused on PCI during this time and TLS was and continues to be the most important aspect of the protective technology. SSL/TLS had already made e-commerce viable in the 90s and its power was well known and being applied for the decade following. Being in 2011 without full ssl for authenticated access was quite bad behavior indeed. Maybe excusable for some low rent bulletin board, but perhaps that is what the commenter was operating. I have no clue.
Re:Klarna users are being signed in to random accounts by dang on Thursday May 27, 2021 @03:57PM (#27307466)
We detached this subthread from https://news.ycombinator.com/item?id=27303744.