GitLab issue email's only security is obscurity
GitLab's issue-creating email address contains a long-lived token that lets anyone with the address push code and trigger jobs.
Overview
GitLab includes a feature that lets users create project issues by sending an email to a specific address. This address contains a long-lived tokenA short-lived digital pass that a server gives a logged-in user or app that grants the sender the same permissionsThe specific rights granted to an account or app to read, write, or run files and services as the account owner. Aikido Security found that anyone with this address can push code and trigger CI/CDThe automated pipeline that tests, builds, and deploys software whenever developers push new code jobs in every project the account can reach. The feature is enabled for every account on GitLab.com and cannot be turned off. GitLab allows users to restrict access by IP address, but these restrictions do not apply to emails. The vulnerable addresses have the form incoming+project-id-glimt-XXXXXXXXXXXXXX-issue@incoming.gitlab.com.
Terms in this story
- 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
- permissions
- The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.
- 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
- 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.
- IP addresses
- The numerical network label assigned to a device so internet traffic knows where to reach it. Every server and router on the internet has an IP address, and defenders inspect connection logs for unfamiliar IP addresses when tracing where an attack came from.
- 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
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.
- Kind of story: Vulnerability and patch
"...long-lived token embedded in gitlabs issue-creating email address..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of threats to OPSEC when installing, using, modifying, and uninstalling tools.
"...poor security defaults and a long-lived token embedded in the address..." 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
Same story at other outlets
- 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
- Send GitLab an email, push to main