Xen Orchestraに認証回避の脆弱性、悪用確認済みで修正版あり
Summary
Xen Orchestraに認証を回避される脆弱性があり、実際の悪用が確認されています。XCP-ngやXenServerを管理している組織は、修正版へ今すぐ更新し、管理者の操作履歴と認証トークンも点検してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Xen Orchestraに認証を回避される脆弱性があり、実際の悪用が確認されています。XCP-ngやXenServerを管理している組織は、修正版へ今すぐ更新し、管理者の操作履歴と認証トークンも点検してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| vatesfrxen-orchestra | — | Not listed |
| xen-orchestraxo-server | — | Not listed |
| npmxo-server |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Summary
REST cookie parsing turns authenticationToken=j:%7B%7D into {}. REST authentication passes that object to the XO token provider without requiring a string. The token collection treats {} as an unfiltered lookup and returns its first token; the provider authenticates as that token's owner if it is unexpired. The authenticated /rest/v0/users/me/authentication_tokens route then returns reusable login token IDs.
Details
- In
packages/xo-server/src/api/session.mjs, functionsignIn(credentials)has noparamsschema (unlike the deprecatedsignInWithToken, which declarestoken: { type: 'string' }), socredentials.tokencan be any JSON value. packages/xo-server/src/xo-mixins/authentication.mjs, token provider:this.registerAuthenticationProvider(async ({ token: tokenId }, { ip } = {}) => { if (!tokenId) return // {} is truthy → passes const token = await app.getAuthenticationToken(tokenId) ... return { bypassOtp: true, expiration: token.expiration, userId: token.user_id }getAuthenticationToken(properties)explicitly accepts an object, and_getAuthenticationToken(id, properties)doesthis._tokens.first(properties ?? id).Collection#first(properties)->_get(properties); incollection/redis.mjs,if (isEmpty(properties)) return redis.sMembers(prefix + '_ids')…→ all tokens. Non-empty objects on indexed fields (user_id,client_id) do an index lookup → token of the…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web docs.vates.tech
- web github.com