Live data from Hacker News

Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

bugs.chromium.org

771–780 of 1001 posts

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#771

Earlier quoted context omitted.

It is not the fault of the language if you use it wrong. CloudFlare is to blame here, nothing else. As for the reason why C, I'm pretty confident they knew what they were doing, and had considered other tools that did not meet all requirements.

No, the language is bad if using it wrong can leak sensitive data. The choice of language is wrong if you pick such a language in a situation where mistakes can lead to safety or security problems. The first requirement is security.

You can leak sensitive data with any language. C is not used for web development on the client side, yet people abuse security holes in web apps all the time.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#772

Earlier quoted context omitted.

Another implication: they could be using their access to these sites' traffic to prepare their own infrastructure for attacks before they happen. There's nothing about their hosting of these sites that doesn't reek.

That is how DDOS protection works, learning from data and scale to better defend future attacks. Every large network and security operator does this. What is your issue with that exactly?

I don't mean they are learning from observing attack traffic, they have access to the command and control traffic.

That means they could know about an attack before it happens.

They could know how long it will last, who the target will be, and what volume of traffic to expect.

They could know who had ordered it, who had paid for it.

They. Also. Sell. Protection.

To call the situation deeply conflicting is an understatement.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#773

Earlier quoted context omitted.

> My second thought after relief was the realization that even as a consumer I'm affected by this, my password manager has > 100 entries what percentage of them are using CloudFlare? Should I change all my passwords? Yes. Right now. Don't wait for the vendor to notify you. > What an epic mess. This is the problem with centralization, the system is broken. Yep.

How do you check if a website uses cloudflare ? Any scripts that do that ?

http://www.doesitusecloudflare.com/

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#774
post #651

Yeaaaaa, this isn't good. This is what CloudBleed looks like, in the wild: https://gfycat.com/ElatedJoyousDanishswedishfarmdog A random HTTP request's data and other data injected into an HTTP response from Cloudflare. Sick.

> This is what CloudBleed looks like

Ironically, gfycat seems down now.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#776

Earlier quoted context omitted.

It is not the fault of the language if you use it wrong. CloudFlare is to blame here, nothing else. As for the reason why C, I'm pretty confident they knew what they were doing, and had considered other tools that did not meet all requirements.

No, the language is bad if using it wrong can leak sensitive data. The choice of language is wrong if you pick such a language in a situation where mistakes can lead to safety or security problems. The first requirement is security.

But - I can't think of a single language in which using it "wrong" might not lead to info leaks? Any language with a runtime has to manage memory somehow at the runtime layer and so similar leaks can occur there depending upon design and implementation, and the wider OS context.

At the whole program/application level, when you create your own data structures, you can find lots of ways to leak them to the world.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#777
post #577

Cloudflare's announcement, as it is currently worded, deserves the understatement-of-the-centry award.

Only three thousand something sites [were potentially serving private data from all 7 million customer domains we host]

If the bug exposes random uninitialized memory, can't it affect a lot more sites?

And if it truly is only ~3000 sites, where's the list?

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#778

Earlier quoted context omitted.

Yes, I found some leaked data referencing Discord still in Google's cache so I'd say it's them.

Mind emailing me some details? az@discordapp

I didn't keep details, sorry. It was late (UK time) and I was attempting to get my own response out the door.

I saw three domains directly myself with compromised details:

android-cdn-api.fitbit.com

iphone-cdn-client.fitbit.com

api-v2launch.trakt.tv

I saw data relating to Discord whilst on various cached pages when I was looking at the above domains.

The pages are no longer available in Google's cache so I can't link to them.

Some cached pages had data from multiple sites all together, it was a mess.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#779

Earlier quoted context omitted.

When in a tactical emergency do not say "and why is this shit raining down upon us?" That is a separate step. First you either take cover or help.

However, I haven't seen people enable ButtFlare's proxy only when under DDoS. Most of their users enable the proxying just for the CDN performance or just in case or… you get the idea.

Once your origin is under a DDoS attack, how would Cloudflare's proxy help?

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#780

Has anybody else actually received an email from Cloudflare about this? I'm a paying customer, but haven't heard anything from them yet. I hope they don't expect they can leave it at a random blog post that will go by unnoticed?

Just got an email:

Dear Cloudflare Customer:

Thursday afternoon, we published a blog post describing a memory leak caused by a serious bug that impacted Cloudflare's systems. If you haven't yet, I encourage you to read that post on the bug:

https://blog.cloudflare.com/incident-report-on-memory-leak-c...

While we resolved the bug within hours of it being reported to us, there was an ongoing risk that some of our customers' sensitive information could still be available through third party caches, such as the Google search cache.

Over the last week, we've worked with these caches to discover what customers may have had sensitive information exposed and ensure that the caches are purged. We waited to disclose the bug publicly until after these caches could be cleared in order to mitigate the ability of malicious individuals to exploit any exposed data.

In our review of these third party caches, we discovered data that had been exposed from approximately 150 of Cloudflare's customers across our Free, Pro, Business, and Enterprise plans. We have reached out to these customers directly to provide them with a copy of the data that was exposed, help them understand its impact, and help them mitigate that impact.

Fortunately, your domain is not one of the domains where we have discovered exposed data in any third party caches. The bug has been patched so it is no longer leaking data. However, we continue to work with these caches to review their records and help them purge any exposed data we find. If we discover any data leaked about your domains during this search, we will reach out to you directly and provide you full details of what we have found.

To date, we have yet to find any instance of the bug being exploited, but we recommend if you are concerned that you invalidate and reissue any persistent secrets, such as long lived session identifiers, tokens or keys. Due to the nature of the bug, customer SSL keys were not exposed and do not need to be rotated.

Again, if we discover new information that impacts you, we will reach out to you directly. In the meantime, if you have any questions or concerns, please don’t hesitate to reach out.

Matthew Prince Cloudflare, Inc. Co-founder and CEO

Post reply on HN