Live data from Hacker News

Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

bugs.chromium.org

371–380 of 1001 posts

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#371

Earlier quoted context omitted.

The first couple I looked at were requests to Uber and Fitbit...

One of my Uber rides two weeks ago went completely nuts. Both my and my drivers app screwed up at the same time and I was never picked up and then seconds later the app claimed I reached my destination. You have to wonder whether something like this is implicated.

Probably not.

If someone knew about this exploit they're not going to be messing with people's Uber rides for lulz.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#372

Earlier quoted context omitted.

The first couple I looked at were requests to Uber and Fitbit...

One of my Uber rides two weeks ago went completely nuts. Both my and my drivers app screwed up at the same time and I was never picked up and then seconds later the app claimed I reached my destination. You have to wonder whether something like this is implicated.

That's one phenomenal leap of logic there. Why would you think that?

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#373

Earlier quoted context omitted.

Many browser features (like location API) are gradually being deprecated from plaintext HTTP.

Interesting. I hadn't heard of that before. Looks like it's just Chrome doing this?

And Firefox

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#374
I'm a little drunk so please forgive me if I'm way off base here or if I'm ultimately describing a service that already exists.

Unless I'm mistaken, CloudFlare's services necessarily require they act as a MITM. Would it be possible or practical change the DDoS protection service such that it uses an agent on the customer's end (the CF customer) that relays relevant data to CF, instead of having CF MITM all data?

As it is now, we have:

  End user  CF MITM to inspect packet data  CF Customer site
where CF uses the data discovered through MITM (and other metadata such as IP) to determine if the end user is a bad actor.

What if we, instead, had something like:

  End user  CF TCP proxy  CF Customer site
                   ^                    |
                   |                    v
             CF decision agent 
The CF captive portal would not work with this but they could still shut down regular ol boring TCP DDoSes.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#375

Earlier quoted context omitted.

Could someone enlighten me on why malloc and free don't automatically zero memory by default? Someone pointed me to MALLOC_PERTURB_ and I've just run a few test programs with it set - including a stage1 GCC compile, which granted may not be the best test - and it really doesn't dent performance by much. (edit: noticeably, at all , in fact) People who prefer extreme performance over prudent security should be the ones…

Some old IBM environments initialized fresh allocations to 0xDEADBEEF, which had the advantage that the result you got from using such memory would (usually) be obviously incorrect. The fact that it was done decades ago is pretty good evidence that it's not about the actual initialization cost: these things cost a lot more back then. What changed is the paged memory model: modern systems don't actually tie an address…

An invariant you get from most kernels is that all new memory pages are zeroed when mapped into processes (normally through mmap or sbrk), so you only have the paging problem when initializing with a value other than zero.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#376
post #177

Cloudflare isn't just a security hole in the middle of the internet, they're a protection racket. If you wanted to pay to DDoS a site, search for "booter" and you'll get a list of sites that will take another site off the internet for money with a flood of traffic. quezstresser.com webstresser.co topbooter.co instabooter.com booter.xyz critical-boot.com top10booters.com betabooter.com databooter.com etc. etc. - from…

You are essentially arguing against freedom of speech. Cloudflare will protect any site that doesn't host child porn. Yes that includes things which you don't like, but it also includes all the things you do.

You don't understand what freedom of speech actually means.

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#377
post #142
post #10

Neither this thread nor the Cloudflare blog post include concise steps for customers who were exposed. There's an argument for changing secrets (user passwords, API keys, etc.) for potentially affected sites, plus of course investigating logs for any anomalous activity. It would be nice if there were a guide for affected users, maybe a supplemental blog post. (and yet again: thank you Google for Project Zero!)

Right there with you. I'm currently scrambling for remediation ideas. "Change everything" isn't tractable.

I'm scrambling to compile an list of impacted domains and some easy-to-understand instructions that I can send friends and family:

https://github.com/pirate/sites-using-cloudflare

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#378

Anyone wrote a script yet that checks the top 1M (or so) web sites to find out which use Cloudflare? It would help with knowing what secrets I need to change (as an end user -- I'm not a Cloudflare customer, thank $deity).

Yup, running it now. Results are being posted as fast as I can here:

https://github.com/pirate/sites-using-cloudflare

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#379

Earlier quoted context omitted.

I know I could find out by checking DNS, etc., but I'd rather not have to do that for every web site I use... and I'm guessing Cloudflare doesn't publish a list of every domain name that they serve.

Maybe you can go backwards and see which websites resolve with these IPs: https://www.cloudflare.com/ips/

Good idea, I'll try that next and add the results here: https://github.com/pirate/sites-using-cloudflare

Re: Cloudflare Reverse Proxies Are Dumping Uninitialized Memory

#380
post #321
post #147

People are going to lambast CF for downplaying the impact, and there could be merit in that. However, I really want to say I am absolutely impressed with both Project Zero AND Cloudflare on so many fronts, from clarity of communication, to collaboration, and rapid response. So many other organizations would have absolutely tanked when presented with this problem. Huge kudos for CF guys understanding the severity and…

CF's infosec team is very, very good at their jobs.

Obviously not, right?
Post reply on HN