Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability in Xen Orchestra, a system for managing XCP-ng and XenServer infrastructure, allows unauthorized access to authentication tokens by exploiting how it parses REST cookies. This issue has been actively exploited and is fixed in recent versions.
- Unfiltered access to management tokens.
- Affects infrastructure management and access.
- Confirm relevance and exposure of Xen Orchestra.
Attack Path
How an attacker could exploit the issue
An attacker can exploit this vulnerability by sending a specially crafted request to the Xen Orchestra REST API. This request manipulates how authentication tokens are processed, allowing the attacker to bypass authentication and gain access to the system. Once authenticated, the attacker can retrieve reusable login tokens, potentially leading to unauthorized control over the virtual infrastructure.
- Network exposure required.
- Malformed REST cookie triggers vulnerability.
- Full system compromise is possible.
Live Threat
Current exploitation, exposure, and threat context
When supported by the advisory, this vulnerability could allow an unauthenticated attacker to bypass authentication and gain access to user data or system control by exploiting how Xen Orchestra parses authentication tokens. Specifically, an invalid token format is processed in a way that allows it to be treated as an empty object, leading to the retrieval and potential use of an unexpired login token belonging to the first user.
- User authentication tokens could be exposed.
- An invalid token format can trigger vulnerable parsing.
- An attacker could gain unauthorized access.
Operational Fix
Recommended remediation, mitigation, and detection steps
The Xen Orchestra (XO) application owners and infrastructure teams are responsible for managing this critical vulnerability. The first practical step is to inventory all XO instances, confirm their network reachability and business criticality, and identify the system owner for each. Once identified, a risk-based remediation plan should be developed and executed, likely involving coordination with vendor management if using a managed service.
- Xen Orchestra owners must remediate.
- Verify all XO instances are inventoried.
- Plan remediation based on confirmed risk.