Skip to content

Total.js CMS RCE Vulnerability

Critical severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Jul 17, 2023

Package

npm total4 (npm)

Affected versions

= 12.0.0

Patched versions

None

Description

An issue was discovered in Total.js CMS 12.0.0. An authenticated user with the widgets privilege can gain achieve Remote Command Execution (RCE) on the remote server by creating a malicious widget with a special tag containing JavaScript code that will be evaluated server side. In the process of evaluating the tag by the back-end, it is possible to escape the sandbox object by using the following payload: <script total>global.process.mainModule.require(child_process).exec(RCE);</script>

References

Published by the National Vulnerability Database Sep 5, 2019
Published to the GitHub Advisory Database May 24, 2022
Reviewed Jul 17, 2023
Last updated Jul 17, 2023

Severity

Critical
10.0
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVE ID

CVE-2019-15954

GHSA ID

GHSA-v287-9w3v-x5c5

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.