Miggo Logo

GHSA-h79x-98r2-g6qc: Impersonation of other users (passing XBOX Live authentication) by theft of logins in PocketMine-MP

4.7

CVSS Score
3.1

Basic Information

CVE ID
-
EPSS Score
-
CWE
-
Published
1/21/2022
Updated
1/11/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
pocketmine/pocketmine-mpcomposer>= 3.0.0, < 4.0.04.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing protocol encryption implementation in PocketMine-MP 3.x. The ProcessLoginTask's onRun method verifies JWT authenticity but doesn't validate() client private key possession through ECDH key exchange. The technical details explicitly state that the lack of encryption (which includes ECDH verification) enables login replay attacks. The fix in commit d28be4eaf24a890f7ef110a51181a3d806a6acca would have added encryption-related checks to this login handling process, confirming this as the vulnerable area.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

# Imp**t Min**r**t ***ro*k *ut**nti**tion *n* its proto*ol *n*ryption *r* ins*p*r**ly link**. On* is not *ompl*t* wit*out t** ot**r. T*is vuln*r**ility *****ts s*rv*rs w*i** *r* **l* to ** *ir**tly *onn**t** to vi* t** int*rn*t (i.*. not ***in* * pr

Reasoning

T** vuln*r**ility st*ms *rom missin* proto*ol *n*ryption impl*m*nt*tion in Po*k*tMin*-MP *.x. T** `Pro**ssLo*inT*sk`'s `onRun` m*t*o* v*ri*i*s JWT *ut**nti*ity *ut *o*sn't `v*li**t*()` *li*nt priv*t* k*y poss*ssion t*rou** **** k*y *x***n**. T** t***