Send GitLab an email, push to main
GitLab's issue email feature has a security flaw that lets anyone with the address push code and run jobs on all projects.
Overview
GitLab provides users with a private email address that allows them to create issues in their projects. This address contains a long-lived token that never expires and grants the holder the ability to push code and execute CI/CD jobs. If this address is leaked, an attacker can bypass IP restrictions and access both public and private projects. The vulnerability affects all GitLab.com accounts and self-hostedSoftware that an organization installs and runs on its own servers instead of using a vendor's cloud service serversA computer or program on a network that stores data and responds to requests from client devices that have the email-to-issue feature enabled. Users can check if the feature is active by looking for a specific button in their project settings. Anyone who has shared this address must reset their token to stop the old address from working.
Terms in this story
- self-hosted
- Software that an organization installs and runs on its own servers instead of using a vendor's cloud service. Running a self-hosted password manager, code server, or chat platform gives a company full control over its data, but also means its own staff must install every security patch.
- servers
- 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.
- domain
- The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
- open source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- access tokens
- 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
- pipeline
- 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
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 Aikido website. Cite the article, not this page.
Read the full article on Aikido (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: Advisory or warning
GitLab gives you a private email address to create... Found by reading the article; these words are close to its own - Who is affected: "...all GitLab.com accounts and self-hosted GitLab servers..." Organizations using the product
Copied word for word from the article - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"......who has it can push code, execute CI/CD jobs, and bypass IP restrictions across all..." Found in the opening sentences
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- GitLab issue email's only security is obscurity
- GitLab Email Token Lets Attackers Push Code to Main and Execute CI/CD Jobs
- GitLab Email Addresses Can Be Weaponized for Supply Chain Attacks
- A Leaked GitLab Issue Email Address Lets Anyone Push Code and Run CI Jobs as You
- GitLab Email Feature Vulnerability Lets Attackers Push Code Into Private Repositories