ChaosDB: How We Hacked Databases of Thousands of Azure Customers
summary
A chained exploit escalates a Cosmos DB Jupyter notebook container from unprivileged cosmos user to root by executing the host language that runs with elevated rights, then runs iptables -F to reach the host Wire Server. the Wire Server returns a 25 certificates bundle including a fabric secrets cert that decrypts primary keys for hundreds of Cosmos DB accounts (one cluster yields 500+), allows authenticating to service-fabric management on port 19080 across 100+ endpoints, and exposes storage creds; Microsoft disables the notebook feature and patches the bug.
AI-written summary · about
chapters (15)
- 0:00Intro
- 0:19Wiz Research Team
- 2:27Motivation
- 3:30Research Mindset
- 4:27Bug #1 - Jupyter Notebook LPE
- 7:11Bug #2 - Unrestricted Network Access
- 9:06Network Recon - IMDS
- 11:00Network Recon - WireServer
- 14:58WireServer 101 - Extension Configuration
- 16:18Wire Server 101 - Certificate Endpoint
- 18:07Decoding CertificatesBondPackage
- 23:21Listing Running Applications in Cluster
- 26:19Recap - The Full Exploit
- 31:52Disclosure Timeline
- 33:32Account Service Takeover
