Horizon Alert
Summary of the vulnerability and why it matters
This vulnerability affects a worker component responsible for handling sandbox file operations. An authenticated user with a running sandbox could potentially gain root-level access to files on the hosting worker, including other tenants' data and sensitive system files. This could lead to unauthorized data access and manipulation.
- Sensitive files accessible by authenticated users.
- Allows tenant access to host worker files.
- Confirm relevance and verify exposure.
Attack Path
How an attacker could exploit the issue
An attacker with a workspace token and an active sandbox could leverage the Beta9 worker's file API to access files outside the container. By manipulating file paths to traverse directories or follow symbolic links, an attacker can reach arbitrary locations on the worker host. This allows them to read, write, list, and delete files as root, potentially affecting other tenants' data and gaining access to sensitive credentials like Kubernetes service account tokens.
- Requires authenticated tenant access.
- Triggers when processing file API requests.
- Risk of host file access and credential theft.
Live Threat
Current exploitation, exposure, and threat context
A tenant with a workspace token and a running sandbox could gain root-level access on the hosting worker. This could allow them to read, write, list, and delete files on the worker's filesystem, potentially affecting other tenants' data or sensitive system files. In some configurations, this access might extend to reading Kubernetes service account tokens.
- Worker filesystem access and control.
- Malicious path manipulation.
- Unauthorized data access and modification.
Operational Fix
Recommended remediation, mitigation, and detection steps
Platform and infrastructure teams are likely responsible for addressing this vulnerability, given that it affects a worker component and its file API. The first practical step involves identifying all instances of the affected worker, confirming their reachability and criticality to business operations, and then locating the accountable owner for remediation planning.
- Platform and infrastructure teams own the issue.
- Verify worker instances, reachability, and criticality.
- Plan remediation with vendor coordination.