ChaosDB: How We Hacked Databases of Thousands of Azure Customers (rev)
summary
A cross‑tenant flaw in Azure Cosmos DB lets any Azure user obtain full admin keys for thousands of accounts. The chain uses a Jupyter notebook jailbreak (switching to the C# host to escalate to root), removal of container iptables to reach IMDS, a wire server certificate dump (≈25 certs retrieved, including fabric‑westus‑1), and a fabric‑secret decryptor to crack cluster tokens with sfctl — yielding primary Cosmos DB keys, storage connection strings and access to Service Fabric management endpoints; an exploit demo records success and Microsoft disables the notebook and revokes certs.
AI-written summary · about
chapters (21)
- 0:00Introduction to ChaosDB
- 1:10Cosmos DB overview and motivation
- 3:14Jupyter Notebook feature discovery
- 4:40First bug: Local privilege escalation
- 6:49Demo: Container jailbreak
- 7:09Second bug: Network restrictions bypass
- 9:16Metadata Service discovery
- 11:02Wire Server and Service Fabric
- 13:32Goal state and extension config
- 15:58Certificate endpoint decryption
- 19:11Decoding certificate bundle
- 21:38Service Fabric cluster access
- 23:46Cosmos DB account keys decryption
- 24:50Exploit chain demonstration
- 26:57Behind the scenes of the demo
- 27:40Azure Storage account access
- 29:06Public Service Fabric endpoints
- 30:08Impact and authentication tokens
- 32:15Disclosure timeline with Microsoft
- 34:23Full attack chain recap
- 35:48Q&A session
