Miggo Logo

CVE-2019-15954: Total.js CMS RCE Vulnerability

10

CVSS Score
3.1

Basic Information

EPSS Score
0.98096%
Published
5/24/2022
Updated
7/17/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
total4npm= 12.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from insufficient sandboxing in the widget processing mechanism. The payload demonstrates direct access to Node.js's 'global.process' object, indicating the evaluation context isn't properly isolated. While exact file paths aren't disclosed, the core issue lies in the function evaluating widget content containing <script total> tags. This function fails to restrict access to dangerous Node.js APIs, enabling command injection via crafted JavaScript.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*n issu* w*s *is*ov*r** in Tot*l.js *MS **.*.*. *n *ut**nti**t** us*r wit* t** wi***ts privil*** **n **in ***i*v* R*mot* *omm*n* *x**ution (R**) on t** r*mot* s*rv*r *y *r**tin* * m*li*ious wi***t wit* * sp**i*l t** *ont*inin* J*v*S*ript *o** t**t wi

Reasoning

T** vuln*r**ility st*ms *rom insu**i*i*nt s*n**oxin* in t** wi***t pro**ssin* m****nism. T** p*ylo** **monstr*t*s *ir**t ****ss to No**.js's '*lo**l.pro**ss' o*j**t, in*i**tin* t** *v*lu*tion *ont*xt isn't prop*rly isol*t**. W*il* *x**t *il* p*t*s *r