GitHub Advisoryadvisory · npm
GHSA-v287-9w3v-x5c5 Total.js CMS RCE Vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2019-15954
- Ecosystem
- npm
- Packages
- total4
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-77, CWE-862
- Reviewed
- 2023-07-17
Affected packages
• npm total4: 12.0.0 (no fix yet)
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: `global.process.mainModule.require(child_process).exec(RCE);`
Related
Alias · CVE (1)
- CVE-2019-15954 An issue was discovered in Total.js CMS 12.0.0. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-15954 advisory
- https://github.com/beerpwn/CVE/blob/master/Totaljs_disclosure_report/report_final.pdf web
- https://github.com/totaljs/cms package
- https://seclists.org/fulldisclosure/2019/Sep/5 web
- http://packetstormsecurity.com/files/154924/Total.js-CMS-12-Widget-JavaScript-Code-Injection.html web