Frozen Privilege: Remote Code Execution in Snowflake-Managed PostgreSQL
Researchers found a flaw in a cloud database service that lets attackers use normal permissions to take control of the server.
Overview
Varonis Threat Labs found a security flaw in Snowflake managed PostgreSQL that allowed a standard user role to gain full control of the underlying serverA computer or program on a network that stores data and responds to requests from client devices. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend worked by chaining together legitimate databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software features to bypass normal security limits and execute commands on the host machine. This issue was significant because it could let an attacker damage database files and hide their actions from standard monitoring tools. The discovery highlighted that even trusted cloud services can have hidden paths that allow users to escalate their privileges beyond what is intended. Snowflake fixed the problem on their servers after the researchers shared the details with them. Snowflake customers do not need to take any further action because the issue has been resolved.
Terms in this story
- 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.
- server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- 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
- 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.
- Remote Code Execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- 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.
- data integrity
- The property that data was not changed. File checksums and digital signatures protect integrity so you know a downloaded software update or bank wire instruction was not altered in transit by an attacker. From the CYBR 101 room CYBR 101: What is a hash?
- attack paths
- The chain of accounts, permissions, and network links an attacker follows from a foothold to a target. Cloud security tools map every possible attack path so defenders can see if a minor bug on a public test server connects to a production database key.
- mitigations
- A defensive step or setting change that lowers the risk of a flaw before patching. When a software vendor has not finished a patch yet, its advisory often lists a mitigation such as turning off an optional feature or blocking a specific URL path at the firewall. Security+ objective 2.5 lists the term
- audit trails
- The chronological sequence of log records showing who logged in and what actions they took in a system. When a company keeps an unbroken audit trail, investigators after a breach can see every file an intruder opened, even if the intruder tried to cover their tracks.
- remediated
- The steps taken to fix a security flaw or clean up a system after a breach. In incident reports, remediation includes installing patches, revoking stolen keys, removing backdoors, and changing configuration settings so the attacker cannot get back in.
- privilege-escalation
- A flaw or trick that lets a low-level user account gain administrator control over a system. After breaking into a regular guest or employee account, an attacker uses privilege escalation to gain full system rights and disable security tools. Security+ objective 2.4 lists the term
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 Varonis website. Cite the article, not this page.
Read the full article on Varonis (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.
- Kind of story: Research and reports
"Varonis Threat Labs uncovered a remote code execution (RCE) vulnerability..." Found by reading the article; these exact words are in it - Who is affected: "Snowflake customers..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"......Labs uncovered a remote code execution (RCE) vulnerability in Snowflake-managed PostgreSQL that turns an ordinary..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......Labs uncovered a remote code execution (RCE) vulnerability in Snowflake-managed PostgreSQL that turns an ordinary..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of current and emerging data remediation security features in databases.
"...bypass customer-visible logging, undermine data integrity..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role