Miggo Logo

CVE-2021-36383: Xen Orchestra Mishandles Authorization

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.36492%
Published
5/24/2022
Updated
10/19/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
xo-webnpm<= 5.80.0
xo-servernpm<= 5.84.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

X*n Or***str* (wit* xo-w** t*rou** *.**.* *n* xo-s*rv*r t*rou** *.**.*) mis**n*l*s *ut*oriz*tion, *s **monstr*t** *y mo*i*i** W**So*k*t `r*sour**S*t.**t*ll` **t* is w*i** t** *tt**k*r ***n**s t** p*rmission *i*l* *rom non* to **min. T** *tt**k*r **in

Reasoning

T** vuln*r**ility *xpli*itly involv*s m*nipul*tion o* t** W**So*k*t `r*sour**S*t.**t*ll` m*t*o*'s p*rmission *i*l*. T*ou** no *o** w*s provi***, t** m*t*o* n*m* *n* *tt**k p*tt*rn in*i**t* t** *ut*oriz*tion ****k o**urs in t*is **n*l*r. T** s*rv*r-si