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

Garmin's new radar-equipped tail light will keep you safe on your e-bike

Garmin's Varia bike radars are some of the most popular pieces of cycling tech around – and now the company has delivered its first rearview radar to have been specially designed for some of the best e-Bikes .   Garmin's Varia range mounts to the back of your bike and broadcasts a radar signal behind you, so you can get visual and audible alerts when something's overtaking you. Even better, the new Varia eRTL615 plugs directly into most e-bikes, with no battery required. Because the catchily-named Varia eRTL615 is also a tail light, it'll also make sure you're visible to other vehicles too, promising to emit a flashing or solid light that's visible from up to a mile away in daylight. To connect Garmin's new radar tail light to your e-bike, you'll need to pick the right Garmin adapter cable (which isn't included). You can buy power cables compatible with Bosch, Shimano, or USB-A terminals or connections, with more info on those available on Garmin...

Revolution Software is using their own AI technology to remake Broken Sword

TechRadar Gaming is reporting live from Gamescom 2023 on the latest and greatest developments in gaming and hardware. Revolution Software announced at Gamescom 2023 that Broken Sword would be coming back, with Broken Sword - The Shadow of the Templars getting a full remake while a sixth title in the series is coming in the future too, under the title Broken Sword - Parzival’s Stone .  Speaking to TRG ahead of the announcement, Cecil talked about the studio’s plans for a Broken Sword remake and the sixth title in the series. Cecil is a larger-than-life character, who is able to talk about the studio’s plans with enthusiasm. It even carries a pocketful of stones to illustrate the plans for Parzival’s Stone , but he also talks about how Broken Sword - The Shadow of the Templars would be using AI to upscale.  Cecil wasn’t shy about the studio’s use of AI technology, but he gave a fairly robust explanation of why the game was using it. The AI technology will be used to upda...

Hackers steal passwords, emails from hookup websites

Two gay hookup websites have been breached with sensitive and personal user data stolen and sold online, new reports have claimed. The databases, which are now being sold on dark web forums, were taken from platforms called TruckerSucker, and CityJerks. They contain enough personally identifiable information to engage in identity theft , such as usernames and passwords, email addresses, profile pictures, sexual preferences, birth dates, postal addresses, IP addresses, and bios. The passwords are encrypted, but according to TechCrunch, the algorithm is “weak” and could be broken by a more persistent hacker. The silent treatment HaveIBeenPwned founder Troy Hunt, who was tipped off on the leak, described the incident as a “typical forum breach, albeit with super sensitive content.”  However the content includes more than just identity data, as there are also messages users exchanged, including arranging meetings and describing their sexual preferences.  In total, more than...