#VU20849 Code Injection in Totaljs CMS - CVE-2019-15954 

 

#VU20849 Code Injection in Totaljs CMS - CVE-2019-15954

Published: September 4, 2019 / Updated: October 22, 2019


Vulnerability identifier: #VU20849
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Green
CVE-ID: CVE-2019-15954
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Totaljs CMS
Software vendor:
Total.js

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in widget creation. A remote authenticated user with “widgets” privilege can send a malicious widget with a special tag containing JavaScript code that will be evaluated server side and execute arbitrary code on the target system. In the process of evaluating the tag by back-end is possible to escape the sandbox object by using the following payload:

<script

total>global.process.mainModule.require(‘child_process’).exec(‘RCE here’); </script>

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

External links