Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability exists in Burrito, a Terraform Automation Collaboration Software (TACoS) Kubernetes operator, that could allow an attacker to forge events and trigger unauthorized infrastructure plan modifications. This could potentially expose or misattribute changes to infrastructure configurations by manipulating how the operator processes pull requests.
- Forged events can alter infrastructure plans.
- Affects automation software interacting with code repositories.
- Confirm relevance and exposure of this automation software.
Attack Path
How an attacker could exploit the issue
An attacker can forge events to manipulate Terraform pull requests if they can reach the Burrito server and know a repository's URL. The vulnerability occurs when webhook secrets are not configured, allowing unsigned GitHub or GitLab events to be accepted. This can lead to unauthorized Terraform plans being generated and potentially commented on real pull requests, exposing infrastructure changes from different branches.
- Accessible without authentication.
- Triggered by forging webhook events.
- Risk of exposing infrastructure changes.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow an unauthenticated attacker to forge webhook events and create or delete Terraform resources. When supported, this could lead to unauthorized `terraform plan` executions for affected infrastructure layers, potentially exposing infrastructure changes from unintended branches. The attacker could also cause the plan to be posted to an unrelated pull request's comment thread.
- Unauthorized `terraform plan` execution.
- Forged webhook events targeting the API.
- Exposure of infrastructure changes.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability impacts the Burrito Terraform Automation Collaboration Software (TACoS) Kubernetes operator. The first practical step is for infrastructure or platform teams to identify all instances of Burrito, confirm their network reachability and criticality, and then locate the accountable owner for remediation. Coordination with vendor management may be necessary if Burrito was procured externally.
- Platform and infrastructure teams own resolution.
- Verify Burrito instance reachability and criticality.
- Plan remediation with vendor and owner.