한국   대만   중국   일본 
Major Cloudflare bug leaked sensitive data from customers' websites | TechCrunch
Security

Major Cloudflare bug leaked sensitive data from customers’ websites

Comment

Cloudflare revealed a serious bug in its software today that caused sensitive data like passwords, cookies, authentication tokens to spill in plaintext from its customers’ websites. The announcement is a major blow for the content delivery network, which offers enhanced security and performance for more than 5 million websites.

This could?have allowed anyone who noticed the error to collect a variety of very personal information that is typically encrypted or obscured.

Remediation was complicated by an additional wrinkle. Some of that data was automatically cached by search engines, making it?particularly difficult to clean up?the aftermath?as Cloudflare had to approach Google, Bing, Yahoo and other search engines and ask them to manually scrub the data.

The leak may have been active as early as Sept. 22, 2016, almost five months before a security researcher at Google’s Project Zero discovered it and reported it to Cloudflare.

However, the most severe leakage occurred between Feb. 13 and Feb. 18, when?around 1 in every 3,300,000 HTTP requests to Cloudflare sites would have caused data to be exposed. Attackers could have accessed the data in real-time, or later through search engine caches.

Cloudflare notes in its announcement of the issue that even at its peak, data only leaked in about 0.00003% of requests. It doesn’t sound like much, but Cloudflare’s massive customer base includes categories like dating websites and password managers, which host particularly sensitive data.

“At the peak, we were doing 120,000 leakages of a piece of information, for one request, per day,” Cloudflare chief technology officer? John Graham-Cumming told TechCrunch. He emphasized that not all of those leakages would have contained secret information. “It’s random stuff in there because it’s random memory,” he said.

The bug occurred in an HTML parser that Cloudflare uses to increase website performance ? it preps sites for distribution in Google’s publishing platform AMP and upgrades HTTP links to HTTPS. Three of Cloudflare’s features ( email obfuscation , Server-side Excludes and Automatic HTTPS Rewrites ) were not properly implemented with the parser, causing random chunks of data to become exposed.

Ultimately, even Cloudflare itself was affected by the bug. “One obvious piece of information that had leaked was a private key used to secure connections between Cloudflare machines,” Graham-Cumming wrote in Cloudflare’s announcement. The encryption key allowed the company’s own machines to communicate with each other securely, and was implemented in 2013 in response to concerns about government surveillance.

Graham-Cumming?emphasized that Cloudflare discovered no evidence that hackers had discovered or exploited the bug, noting that Cloudflare would have seen unusual activity on their network?if an attacker were trying to access data from particular websites.

“It was a bug in the thing that understands HTML,” Graham-Cumming explained. “We understand the modifications to web pages on the fly and they pass through us. In order to do that, we have the web pages in memory on the computer. It was possible to keep going past the end of the web page into memory you shouldn’t be looking at.”

Cloudflare’s teams in San Francisco and London handed off shifts to one another, working?around the clock to fix the bug once it was reported. They had stopped the most severe issue within seven hours. It took six days for the company to completely repair the bug and to work with search engines to scrub the data.

Tavis Ormandy, an engineer at Google, first noticed the bug, which he jokingly called “Cloudbleed” in reference to the Heartbleed vulnerability . He said in a blog post that he encountered unexpected data during a project and wondered at first if there was a bug in his own code. Upon further testing, he realized the leak was coming from Cloudflare.

“We fetched a few live samples, and we observed encryption keys, cookies, passwords, chunks of POST data and even HTTPS requests for other major Cloudflare-hosted sites from other users,” Ormandy wrote. “This situation was unusual, [personally-identifiable information] was actively being downloaded by crawlers and users during normal usage, they just didn’t understand what they were seeing.” Ormandy added that he later destroyed the samples because of the sensitive information they contained, but he posted redacted screenshots of some of the information leaked from Uber, Fitbit and OkCupid.

Beyond the samples Ormandy collected, it’s not clear what other information may have leaked. “It’s very hard to say, because this information is transient,”?Graham-Cumming said. But Ormandy says his samples revealed highly sensitive data.

“We keep finding more sensitive data that we need to cleanup. I didn’t realize how much of the internet was sitting behind a Cloudflare CDN until this incident,” Ormandy wrote. “I’m finding private messages from major dating sites, full messages from a well-known chat service, online password manager data, frames from adult video sites, hotel bookings. We’re talking full HTTPS?requests, client IP addresses, full responses, cookies, passwords, keys, data, everything.”

Although Cloudflare worked with Ormandy to address the issue, he contends?that the company’s final blog post on the matter “severely downplays the risk to customers.” Ormandy also expressed frustration that Cloudflare didn’t move faster in the remediation process.

But Graham-Cumming says it wouldn’t have been possible for Cloudflare to work any more quickly than it did. Graham-Cumming also says that Ormandy called Cloudflare’s disclosure “completely acceptable” when he reviewed a copy.

“This is subject to a 90 day disclosure. We were disclosing after six days,” Graham-Cumming said. “He’s saying he’s frustrated but I’m a little bemused at why he’s frustrated with six days rather than 90. We would have disclosed even earlier, but because some of this info had been cached, we thought we had a duty to clean that up before it became public. There was a danger that info would persist in search engines like Google.”

Graham-Cumming said that Cloudflare customers like Uber and OkCupid weren’t directly notified of the data leaks because of the security risks involved in the situation. “There was no backdoor communication outside of Cloudflare ? only with Google and other search engines,” he said.

More TechCrunch

Care/of, a company offering personalized subscription vitamin packs, says it will be canceling all subscriptions as of Monday, June 17 and will no longer be accepting new orders. The news…

Subscription vitamin company Care/of is shutting down

Welcome back to TechCrunch’s Week in Review ? TechCrunch’s newsletter recapping the week’s biggest news. Want it in your inbox every Saturday? Sign up here. Apple’s Worldwide Developers Conference had…

Apple ushers in a new era with Apple Intelligence

No one knows what AI looks like, or even is supposed to look like. It does everything, but looks like nothing.

Apple joins the race to find an AI icon that makes sense

There has been a lot of bad news about social media startups lately. Multiple companies, including Twitter alternative Post News, and IRL have shut down. And ShareChat’s valuation has dropped…

Deal Dive: BeReal got its best-case scenario exit

OpenAI offers an array of plans for ChatGPT, both paid and free.

How much does ChatGPT cost? Everything you need to know about OpenAI’s pricing plans

FTC Chair Lina Khan was the youngest person appointed to her position when she assumed the job in 2021. But once her term ends in September ?  after which she’ll…

FTC Chair Lina Khan on startups, scaling, and ”innovations in potential lawbreaking”

Satellite imagery startup Albedo is preparing for its up-close-and-personal debut. Albedo’s first satellite will take to orbit next spring as the company looks to turn the commercial Earth observation industry…

Albedo takes Earth observation up close and personal from very low Earth orbit

Tempus, a genomic testing and data analysis company started by Eric Lefkofsky, who previously founded Groupon, debuted on Nasdaq on Friday, rising about 15% on the opening.? The company priced…

Tempus rises 9% on the first day of trading, demonstrating investor appetite for a health tech with a promise of AI

Featured Article

A comprehensive list of 2024 tech layoffs

The tech layoff wave is still going strong in 2024. Following significant workforce reductions in 2022 and 2023, this year has already seen 60,000 job cuts across 254 companies, according to independent layoffs tracker Layoffs.fyi. Companies like Tesla, Amazon, Google, TikTok, Snap and Microsoft have conducted sizable layoffs in the…

1 day ago
A comprehensive list of 2024 tech layoffs

Welcome to Startups Weekly ? Haje’s weekly recap of everything you can’t miss from the world of startups. Sign up here to get it in your inbox every Friday. Hold…

Startups Weekly: Clash of the AI titans, and Europe is firing on all cylinders

How well did the company do telling its own story in the form of its angel pitch deck? Let’s take a look.

Pitch Deck Teardown: Kinnect’s $250K angel deck

The Browser Company’s Arc, a web browser that aims to have a less cluttered user interface, launched a “Live Calendar” feature to ensure you never miss a call or run…

Arc now features a live calendar button to help you stay punctual for meetings

Meta has confirmed that it will pause plans to start training its AI systems using data from its users in the European Union and U.K. The move follows pushback from…

Meta pauses plans to train AI using European users’ data, bowing to regulatory pressure

Privacy-focused search engine and web browser company Brave Software is integrating search results into its Leo chatbot. Search results are based on the Brave Search API and Leo is integrated…

Brave integrates its own search results with its Leo AI assistant

For centuries, people chewed willow tree bark to relieve pain, but scientists at chemical firm Bayer didn’t isolate its active ingredient until the 1800s and eventually patented its modified version…

Enveda raises $55M to combine ancient remedies with AI for drug discovery

We could be entering a renaissance for human spaceflight research, as a record number of private citizens head to space ? and as scientists improve techniques for gathering data on…

We’re about to learn a whole lot more about how the human body reacts to space 

The high-profile addition is likely intended to satisfy critics who think that OpenAI is moving faster than is wise for its customers and possibly humanity.

Former NSA head joins OpenAI board and safety committee

Tesla CEO Elon Musk has secured enough shareholder votes to have his 2018 stock option compensation package approved. Shareholders also approved the company’s decision to re-incorporate Tesla in Texas, moving…

Tesla shareholders vote yes again to approve Elon Musk’s $56B pay plan 

From a new Nominations dashboard in App Store Connect, developers will be able to create their nominations, either one by one or by uploading a spreadsheet to nominate apps in…

Apple gives developers a way to nominate their apps for editorial consideration on the App Store

StepStone raised the largest fund dedicated to investing in venture secondaries ever, the firm announced last week. This fundraise doesn’t just say a lot about StepStone’s venture secondaries investing prowess,…

What StepStone’s $3.3B venture secondaries fund tells us about LPs’ current appetite for venture

Spotify announced on Thursday that it’s venturing further into the ad space with its first in-house creative agency called Creative Lab, helping brands create custom marketing campaigns. It will also…

Spotify announces an in-house creative agency, tests generative AI voiceover ads

The TechCrunch team runs down all of the biggest news from the Apple WWDC 2024 keynote in an easy-to-skim digest.

Here’s everything Apple announced at the WWDC 2024 keynote, including Apple Intelligence, Siri makeover

Tesla shareholders are suing CEO Elon Musk and members of the automaker’s board of directors over Musk’s decision to start xAI, which they say is a competing AI company, and…

Tesla shareholders sue Musk for starting competing AI company

With the Core Spotlight framework, developers can donate content they want to make searchable via Spotlight.

Apple’s Spotlight Search gets better at natural language queries in iOS 18

It’s all part of an effort to say that, this time, when the shareholders vote to approve his monster $56 billion compensation package, they were fully informed.

Tesla and its fans waged an unprecedented battle over Elon Musk’s $56B pay package

Welcome back to TechCrunch Mobility ? your central hub for news and insights on the future of transportation. Sign up here for free ? just click TechCrunch Mobility! Kirsten Korosec…

Tesla shareholders to vote today on $56B pay package

Featured Article

GPTZero’s founders, still in their 20s, have a profitable AI detection startup, millions in the bank and a new $10M Series A

GPTZero’s growth and financials made it one of the AI startups ruthlessly pursued by VCs. And Footwork’s Nikhil Basu Trivedi won the deal.

2 days ago
GPTZero’s founders, still in their 20s, have a profitable AI detection startup, millions in the bank and a new $10M Series A

Apple announced a number of new features and updates onstage during its keynote address at WWDC 2024, including updates to iOS, iPadOS, macOS, VisionOS and the introduction of Apple Intelligence.…

Here are the best WWDC 2024 features you missed

WhatsApp updated the video calling experience across devices on Thursday by introducing screen sharing with audio support and a new speaker spotlight feature. It’s also increasing the limit for video…

WhatsApp adds new features to the calling experience, including support for 32-person video calls

To sweeten the pot, Amazon is pledging that startups in this year’s Generative AI Accelerator cohort will gain access to experts and tech from Nvidia, the program’s presenting partner.

Amazon says it’ll spend $230 million on generative AI startups