Cybersecurity news

Jessica Doner

Back to the list

Critical Azure Cosmos DB flaw threatened cross-tenant database takeover

CSO Online,

A flaw in a database service allowed attackers to escape a query sandbox and access any customer's data, including Microsoft's own services.

Vulnerabilities and patches

Overview

A security firm named Wiz found a serious weakness in Microsoft Azure's Cosmos DB databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software service. This flaw allowed attackers to break out of a restricted area called the Gremlin query sandboxAn isolated test environment where a program can run without touching the rest of the computer and run code on shared infrastructure. By doing this, they could steal a platform-wide credential known as the Cosmos Master KeyThe secret value that locks or opens a message. This key gave access to any customer's database, including data used by Microsoft services like Entra ID, Teams, and Copilot. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend worked across different tenantsOne organization's dedicated, isolated slice of accounts and data inside a shared cloud service, regions, and APIA structured interface that lets one software program request data or actions from another program types such as SQLThe standard query language used to read, add, update, and delete records in relational databases, MongoDB, and Cassandra. Microsoft fixed the issue by redesigning the platform before the flaw could be widely exploited.

Terms in this story

database
An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
sandbox
An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
Key
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
tenant
One organization's dedicated, isolated slice of accounts and data inside a shared cloud service. Even though many companies share the same cloud provider's hardware, each company manages its own users, policies, and storage inside its own cloud tenant.
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
SQL
The standard query language used to read, add, update, and delete records in relational databases. Almost every banking, retail, and hospital system stores its records in a database controlled by SQL, which is why SQL injection bugs that alter those queries are so dangerous.
endpoints
Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
arbitrary code execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
configuration
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
exploit chain
Two or more separate vulnerabilities linked together in sequence to break through multiple layers of defense. A single bug in a browser tab might not be enough on its own, so an attacker combines a browser bug with a second kernel bug in an exploit chain to escape the sandbox.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the CSO Online website. Cite the article, not this page.

Read the full article on CSO Online (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related