Cybersecurity news

Jessica Doner

Back to the list

Snowflake GitHub Actions Flaw Lets Crafted Issues Trigger Command Injection

The Hacker News,

A flaw in Snowflake's public repository allowed crafted issues to trigger command injection, exposing internal Jira credentials in its workflow.

Vulnerabilities and patches

Overview

Researchers at Wiz found a security flaw in the automated build system of Snowflake's public code repositoryA central storage place where a software project's source code, change history, and configuration files are kept. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend allowed an attacker to send a specially crafted issue that would execute commands on the system. This happened because the system inserted the issue text directly into a shellThe command-line interpreter program that accepts text commands and runs them on an operating system command without checking it first. The flaw also failed to properly verify the user because it looked for a pull requestA proposed set of code changes submitted to a software repository for maintainers to review and merge property that did not exist for an issue. When the researchers tested the flaw, they gained access to a Jira APIA structured interface that lets one software program request data or actions from another program tokenA short-lived digital pass that a server gives a logged-in user or app that allowed reading internal project data. Snowflake fixed the issue by changing how the data is passed to the system and rotating the compromised token.

Terms in this story

repository
A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
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
shell
The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
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
TOKEN
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
Command Injection
A flaw where untrusted user input is passed to the operating system shell and run as a command. For example, if a router's web settings page lets you ping an address and does not filter extra characters, an attacker can tack on a shell command that the router executes.
exploited
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
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
URL
The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
CI/CD
The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. Security+ objective 4.7 lists the term
pull_request
A proposed set of code changes submitted to a software repository for maintainers to review and merge. In open-source security news, attackers sometimes submit a normal-looking pull request that hides a backdoor or exploits the project's automated test pipeline.
bot
An automated program that performs repetitive tasks over a network, either for legitimate indexing or malicious attacks. Search engines use benign bots to index web pages, while criminals deploy malicious bots to scrape prices, buy up tickets, or test stolen passwords.

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 The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (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

Same story at other outlets

Related