r/linux • • 1d ago

Security Leaked SSL Intermediate Certificates: https connections cannot be trusted

curl https://q3k.google.com --resolve 'q3k.google.com:443:135.181.235.221'
<!DOCTYPE html>

<meta charset="utf-8">
<title>q3k.google.com</title>

<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" type="image/png" href="/favicon.png">

<style>
body {
font: courier, sans-serif;
font-size: 12px;
text-align: center;
margin-top: 100px;
}
</style>
<p>

<b>oh, this is bad</b>
</p>

Yeah, eight SSL Intermediate Certificates of eMudhra have been publicly leaked. All your servers https traffic can be broken right now. Browsers are fine as they have revoked the certificates but as you can see, curl and many other libraries still accept those.

No download can be trusted right now. Remember to not only patch your main systems but every docker container you run.

This is bad 😅

802 Upvotes

213 comments sorted by

View all comments

Show parent comments

16

u/pickle9977 1d ago

I really like this idea of certs and domains being more closely tied

The only reason they weren’t is we moved too fast with the web and did everything in clear text like a bunch of morons to start.

We had to add ssl/tls on and even then it was a fight

4

u/average_monster 14h ago edited 14h ago

Because it wasn't being exploited, if domains were being mitm all over the place people would have cared but it literally just didn't happen

Kinda makes sense, you pretty much have to have a bad actor as an ISP or on your local network, pretty much leaves free wifi as the only reliable attack vector and that's not really exploitable at any scale

3

u/pickle9977 13h ago

Well, I guess you had to be there, it was so wonderfully exploitable, WiFi was just the icing on the cake, with MAC address spoofing you could take over entire local networks in minutes.

And that was on switched networks most early/small networks were originally hubs which was even more insanely insecure.

2

u/average_monster 4h ago

i mean i was, i was literally a web dev deciding whether the sites i was selling were worth putting a cert on or not

if you think that stuff was bad pre windows xp windows had no firewall and isps tended to just shove your ip directly onto the raw internet so you could directly connect to poorly configured windows shares just by finding ips

dunno why you'd need to MAC spoof, no one really did MAC whitelists cause it was a pain in the arse and having duplicate MAC addresses tends to just break everything rather than let you onto the network

3

u/pickle9977 4h ago

You would spoof the Mac of the router and within minutes you would have everyone on the network passwords

And they had no clue b/c you would just forward the traffic.

You’d have to be running a *nix os though it took a while for windows to get anywhere close to what you could do with your favorite Unix distribution.