Unauthorized Access to CI/CD Infrastructure and Project Secrets via Compromised GitLab Runner Token
A publicly exposed GitLab Runner registration token allowed an external researcher to register an unauthorised runner in NASA's CI/CD infrastructure. The compromised runner could potentially access CI/CD secrets and influence build processes, though further exploitation was intentionally avoided.
Originally disclosed on Bugcrowd
- Fixed in 50 days
- Disclosed after 3 months
Summary by oguzhan_00
A publicly exposed NASA GitLab Runner registration token allowed an external researcher to successfully register and authenticate an unauthorized runner within NASA’s SMCE CI/CD infrastructure. This demonstrated a real supply-chain security impact, as the compromised runner could potentially access CI/CD secrets and influence build processes, while further exploitation was intentionally avoided. Best Regards, oguzhan_00
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the GitLab Runner registration token was exposed publicly, for example in a public repository or configuration file, allowing anyone to register a runner.
Impact
The compromised runner could potentially access CI/CD secrets and influence build processes, though the researcher intentionally avoided further exploitation.
What the attacker needed
Publicly exposed runner registration token
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A CI/CD system is the set of automated tools that build and deploy software. A runner is a worker machine that executes those build jobs. A registration token is like a password that lets a new worker join the system; if it leaks, anyone can add their own worker and potentially see secrets or change what gets built.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.