Lawmakers Demand Answers After CISA Data Leak Exposes CI/CD Pipeline Vulnerabilities
The U.S. Cybersecurity & Infrastructure Security Agency (CISA) is facing intense scrutiny from lawmakers after a recent report by KrebsOnSecurity revealed a substantial data leak. The breach originated when a CISA contractor unintentionally uploaded highly sensitive agency information, including AWS GovCloud keys and numerous other secrets, to a publicly accessible GitHub account.
Security researcher Dylan Ayrey, creator of the open-source secret-discovery tool TruffleHog, identified the exposed data. Ayrey specifically pointed to an RSA private key that remained uninvalidated for over a week after CISA was initially notified of the leak. This key provided an attacker with comprehensive access to a GitHub application owned by the CISA enterprise account, which was installed on the CISA-IT GitHub organization.
The implications of this exposure are severe. According to Ayrey, an adversary possessing this key could gain the ability to read source code from every repository within the CISA-IT organization, including private ones. More critically for continuous integration and continuous delivery (CI/CD) practices, the attacker could register unauthorized self-hosted runners to hijack CI/CD pipelines and access sensitive repository secrets. Furthermore, the exposed key allowed for the modification of repository administration settings, such as branch protection rules, webhooks, and deploy keys.
Lawmakers from both the House and Senate have voiced strong concerns, demanding answers from CISA regarding the incident. Representative Bennie Thompson, ranking member of the House Homeland Security Committee, and Representative Delia Ramirez co-signed a letter to CISA's acting chief, expressing worries that the incident reflects a "diminished security culture and/or an inability for CISA to adequately manage its contract support."
The ongoing nature of the remediation efforts, with CISA still working to invalidate and replace many of the exposed keys and secrets more than a week after initial notification, underscores the challenge of containing such a breach. This incident serves as a stark reminder of the critical importance of secure secret management and robust security practices throughout the entire software development lifecycle, particularly within CI/CD pipelines, to prevent unauthorized access and potential compromise of critical infrastructure.
Read original source