Skip to main content

Docker Hub could be containing thousands of valuable secrets, and they're all in plain view

There are “thousands” of secrets exposed on Docker Hub, ranging from harmless API keys to potentially harmful information.

This is according to researchers from the Cybernews Research team, who recently analyzed 10,178 Docker Hub images. In those, they found almost 5,500 container images (54%) holding secrets that could be deemed sensitive information.

From those 5,500 container images, the researchers pulled exactly 191,529 secrets. Many were duplicates which, when removed, left the researchers with exactly 48,481 unique secrets. 


Reader Offer: $50 Amazon gift card with demo
Perimeter 81's Malware Protection intercepts threats at the delivery stage to prevent known malware, polymorphic attacks, zero-day exploits, and more. Let your people use the web freely without risking data and network security.

Preferred partner (What does this mean?) 

Billions of downloads

The most common secret was GitHub tokens, comprising 26.6% of all the secrets discovered (51,038). This one was followed by Datadog Tokens (13.9%), and Uniform Resource Identifiers (7.6%). Ten thousand private keys used for encrypting or decrypting were also discovered. 

While these numbers are staggering, those with an eye for detail can discover even more potent secrets. For example, the researchers found more than 9,000 PayPal OAuth secrets, used to control access to user accounts and financial information. Furthermore, there were almost 8,000 UnifyID secrets that could expose identity data.

The containers holding these secrets have been downloaded more than 132 billion times already.

“That means that exposed secrets could be running on multiple servers around the globe, posing risks and draining cloud resources from inconspicuous Docker Hub contributors," Cybernews researcher Vincentas Baubonis warns.

"Leaving any secrets exposed while uploading your images online poses a high risk of threat actors finding them.” 

Most secrets, the researchers further explained, came from re-using packages with sensitive information.

“Developers expose diverse hidden data types and a vast amount of sensitive data. The ratio of unique secrets per each vulnerable docker image is practically eight to one, meaning that one image, exposing any secrets, is likely exposing eight of them on average,” Baubonis warned.

The research reveals a widespread practice of leaving sensitive data in container images, prompting a call for organizations to strengthen security measures. Baubonis advises developers to reset exposed secrets, encrypt sensitive data within images, and educate staff on the risks associated with embedded data.

More from TechRadar Pro



Comments

Popular posts from this blog

TechRadar's Year in Review: AI revolution, smartphone evolution, and visions of the future

If I had to sum up 2023 in one word it would be AI. Okay, technically that’s two initials, but let’s not quibble – because there’s no doubt that it provided the year in tech with its main story arc. Artificial intelligence was everywhere this year, as every company in the world gawped at the massive impact of ChatGPT, and decided they wanted to jump aboard that bandwagon. You could barely move for new chatbots, new image generators, and new AI-enhanced features in every device released in 2023. And there’s no sign of that changing in 2024; in fact, we expect it to be an even bigger deal. Elsewhere, phones and laptops did much the same as they had the previous year – well, except where they had new AI-enhanced features – so it was in the virtual reality space where bigger changes were afoot. If the Meta Quest 3 was impressive then the Apple Vision Pro looks to be genuinely game-changing, and we can’t wait to see what impact it has in the next 12 months. Of course we also saw plenty ...

Microsoft and Sony enter "binding agreement" to keep Call of Duty on PlayStation

Microsoft has announced that it has reached a "binding agreement" with Sony, pledging to keep Call of Duty on PlayStation following the acquisition of Activision Blizzard.  With Microsoft having won its anti-trust case with the US Federal Trade Commission , its planned acquisition of Call of Duty developers Activision Blizzard has taken a big step closer to becoming a reality. In order to alleviate the concerns of monopoly-building that got Microsoft in legal hot water to begin with, the head of Xbox, Phil Spencer, announced yesterday via Tweet that it has entered into an "agreement to keep Call of Duty on PlayStation."  This agreement will no doubt come as a relief to fans concerned that Microsoft's acquisition plans might result in Call of Duty becoming an Xbox exclusive, following in the footsteps of future Bethesda releases. Since Microsoft's acquisition of Bethesda caused the studio to break its tradition of offering titles cross-platform for upcomi...

This Stardew Valley-like farming sim plays at the bottom of your screen so you work and play at the same time

Stardew Valley and Animal Crossing are among some of the best choices out there if you're looking for a game to get swept up in for hours at a time. But, if you're a fan of management sims and a multitasker as well, this upcoming farming sim will likely pique your interest.  Developed by Mister Morris Games, Rusty's Retirement is an idle-farming simulation game that runs at the bottom of your gaming monitor, allowing you to focus on other tasks like working while you tend to your crops. Set to release in Q1 2024 on Steam , the idle sim puts you in the shoes of a wholesome robot as you grow crops and use them to produce clean and energy-efficient biofuel. Having gathered this "vital robot power source," you'll then need to sell your harvest to the other machine inhabitants of your settlement. This, in turn, will let you reinvest the money into expanding your farm. If you're a terrible procrastinator (like me) this might not sound like your cup of tea...