Vulnerabilities > CVE-2019-15954 - Missing Authorization vulnerability in Totaljs Total.Js CMS 12.0.0

047910
CVSS 9.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
totaljs
CWE-862
critical
exploit available
metasploit

Summary

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>

Vulnerable Configurations

Part Description Count
Application
Totaljs
1

Common Weakness Enumeration (CWE)

Exploit-Db

idEDB-ID:47531
last seen2019-10-22
modified2019-10-22
published2019-10-22
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/47531
titleTotal.js CMS 12 - Widget JavaScript Code Injection (Metasploit)

Metasploit

descriptionThis module exploits a vulnerability in Total.js CMS. The issue is that a user with admin permission can embed a malicious JavaScript payload in a widget, which is evaluated server side, and gain remote code execution.
idMSF:EXPLOIT/MULTI/HTTP/TOTALJS_CMS_WIDGET_EXEC
last seen2020-06-12
modified2019-10-15
published2019-10-15
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/totaljs_cms_widget_exec.rb
titleTotal.js CMS 12 Widget JavaScript Code Injection

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/154924/totaljs_cms_widget_exec.rb.txt
idPACKETSTORM:154924
last seen2019-10-22
published2019-10-21
reportersinn3r
sourcehttps://packetstormsecurity.com/files/154924/Total.js-CMS-12-Widget-JavaScript-Code-Injection.html
titleTotal.js CMS 12 Widget JavaScript Code Injection