News for hackers. Stuff that matters.
Re:Show HN: Windows 2000 on Docker by iforgotpassword on Sunday November 14, 2021 @01:04PM (#29219053)
Google looks at your user agent and doesn't redirect to https if it's an old browser.
Re:Show HN: Windows 2000 on Docker by speedgoose on Sunday November 14, 2021 @01:07PM (#29219077)
Isn't this a security vulnerability?
Re:Show HN: Windows 2000 on Docker by toast0 on Sunday November 14, 2021 @02:33PM (#29219883)
For IE5, there's two distinct obstacles to serving https.

1) It's unlikely to accept any x.509 certificates you can get issued under today's CA/B guidelines; and I'm also not sure how many CAs from then are still valid, either because they had too small of keys or they expired

2) I'm not sure if ie5 supports TLS 1.0 and if it does, it's probably not by default, because that how things were back then.

Given these conditions an https handshake is highly likely to fail, and as the server operator there's no way to provide useful information to the user in that case. If they go to your http site and you redirect them to a handshake error that you know they were going to see... That's not useful. You could be secure and not provide service... but then again, your redirect could be MITMed cause http. Or you could provide a useful service with no security.

This is a choice, not a vulnerability.

This doesn't open up any new way to attack a modern client. Modern clients would have google.com HSTS preloaded and not use http at all. But even if that's not available, a MITM that fiddles with the User-Agent to avoid getting a redirect could have fetched the search results via https and proxied them back via http, as long as the client made an http request.

Edit to add: if you could get a cert IE5 would accept, it likely wouldn't be acceptable by modern clients, so you'd need to distinguish clients from the TLS handshake (although, I guess it really is an SSL handshake for ie5?). There's no client identifier in there, but you can certainly tell the difference between modern and ancient; it gets trickier to tell the difference between ancient and pretty old or pretty old and trying to do a fallback handshake.

Re:Show HN: Windows 2000 on Docker by devoutsalsa on Monday November 15, 2021 @01:32AM (#29224428)
When working at Transmeta as a QA engineer, I remember finding a software bug in the Crusoe processor that prevented IE 5.5 from working with SSL.

https://en.wikipedia.org/wiki/Transmeta_Crusoe

Re:Show HN: Windows 2000 on Docker by PeterisP on Sunday November 14, 2021 @04:55PM (#29221104)
Perhaps, but all the vulnerability is in using IE5; there's nothing the site can do to make an IE5-compatible connection secure.
Re:Show HN: Windows 2000 on Docker by duskwuff on Sunday November 14, 2021 @02:20PM (#29219756)
In modern browsers, google.com is in the HSTS preload list, so the browser won't even make an initial request over HTTP.
Re:Show HN: Windows 2000 on Docker by ehPReth on Sunday November 14, 2021 @03:36PM (#29220417)
Only www.google.com and other subdomains are preloaded unfortunately.. I’m having trouble quickly googling the reason (is that irony?) but from memory a Googler said that they had a lot of internal stuff hosted above google.com they couldn’t make https (HVAC controllers and such?)

You can see the full HSTS list here I believe: https://source.chromium.org/chromium/chromium/src/+/master:n...

Re:Show HN: Windows 2000 on Docker by Narretz on Sunday November 14, 2021 @01:10PM (#29219107)
For who? For Google? Or for the client? The server's security shouldn't be dependent on https
Re:Show HN: Windows 2000 on Docker by speedgoose on Sunday November 14, 2021 @01:35PM (#29219324)
Both. If you can stop a https redirect by rewriting the user agent header, it can be used to track the Google searches for example. HSTS would help if the browser did connect to the https website recently, but it looks like a security vulnerability to me.

I just realized after writing this comment that if you can rewrite http headers, you can also stop the redirect so perhaps it doesn't matter.

Re:Show HN: Windows 2000 on Docker by userbinator on Sunday November 14, 2021 @03:41PM (#29220460)
It wouldn't be surprising if they did that so people could download a newer browser (such as Chrome...) which would itself be signed anyway.