Attackers Exploit Xen Orchestra Authentication Flaw

Attackers are exploiting a critical authentication bypass in Xen Orchestra to gain administrator access, while the same threat actor is using a zero-day to compromise XCP-ng hosts, Vates warns.

Attackers are exploiting a critical authentication bypass in Xen Orchestra to obtain administrator access, while the same threat actor is using an unpatched zero-day to compromise XCP-ng hosts, software maker Vates warns.

The authentication flaw affects Xen Orchestra releases before 6.9.2 and 6.10.1, as well as the Xen Orchestra Appliance. It is in the REST authentication system. An invalid or empty token is converted into an empty object and treated as an unrestricted search.

That search can return the first token in the system’s token collection. If the token is still valid, the attacker is authenticated as its owner. The flaw can expose reusable login token IDs and allow an unauthenticated attacker to bypass login controls and gain administrator privileges.

The observed campaign initially used the IP address 91.211.251.112 on port 8001 and the Tor network. Vates has not provided a date for the attacks. Unauthorized access is not recorded in Xen Orchestra logs, and neither vulnerability has a CVE identifier.

“Xen Orchestra compromise can lead to arbitrary code execution on managed pools and a full XCP-ng node takeover as root,” Vates warned.

The same threat actor is exploiting a separate zero-day that requires administrator privileges. The vulnerability allows an attacker to import a malicious virtual machine, which can then be used to compromise XCP-ng hosts. Vates is still developing a fix for the defect.

Xen Orchestra is a web-based backup, management and disaster recovery platform for XCP-ng and XenServer virtualization environments. It provides agentless control of hosts, virtual machines, storage and resource pools.

Vates recommends placing Xen Orchestra instances on a dedicated network, blocking IP addresses and domain names linked to the campaign, and configuring a web application firewall to reject empty authentication tokens. The company also recommends rotating credentials that may have been exposed.

Organizations that confirm a compromise should fully reinstall Xen Orchestra because removing visible malicious files may not remove backdoors installed by the attacker. Vates warns that its indicators of compromise apply only to the campaign it observed. Other attackers could use different infrastructure or techniques.

Articles by this author