CVE-2021-36383: Xen Orchestra Mishandles Authorization
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.36492%
CWE
Published
5/24/2022
Updated
10/19/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
xo-web | npm | <= 5.80.0 | |
xo-server | npm | <= 5.84.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability explicitly involves manipulation of the WebSocket resourceSet.getAll
method's permission field. Though no code was provided, the method name and attack pattern indicate the authorization check occurs in this handler. The server-side implementation fails to validate()
the user's actual permissions when processing these requests, instead relying on client-modified values. This matches CWE-863 (trusting client-side authorization claims rather than enforcing server-side checks). The resourceSet
nomenclature and WebSocket context strongly suggest this handler resides in xo-server
's WebSocket handling code.