Insecure Bootstrap Process in Oracle Cloud CLI
The Oracle Cloud CLI installer script downloaded binaries without any way to verify their authenticity, so an attacker who compromised the download source could supply malicious files. The vendor now publishes SHA-256 checksums to allow verification.
Nightwatch Cybersecurity Follow
Published on wwws.nightwatchcybersecurity.com
The bootstrap process for Oracle Cloud CLI using the “curl | bash” pattern was insecure since there was no way to verify authenticity of the downloaded binaries. The vendor is now publishing checksums that can be used to verify the downloaded binaries.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the installer script downloaded binaries without verifying their integrity against a known checksum or signature.
Impact
An attacker who could tamper with the downloaded files could potentially compromise the end-user's system through a supply chain attack.
What the attacker needed
User runs the curl | bash installer; attacker can tamper with downloaded files
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you install software by piping a script from the internet directly into a shell, you trust that the script and everything it downloads are genuine. Here, the installer fetched files but gave you no way to check they were the real ones, so if someone tampered with them you would not know. The fix is to publish checksums (like a fingerprint) so you can verify the files before using them.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.