Description
An issue was discovered in Total.js CMS 12.0.0. An authenticated user with the Pages privilege can conduct a path traversal attack (../) to include .html files that are outside the permitted directory. Also, if a page contains a template directive, then the directive will be server side processed. Thus, if a user can control the content of a .html file, then they can inject a payload with a malicious template directive to gain Remote Command Execution. The exploit will work only with the .html extension.
References (4)
Core 4
Core References
Exploit, Third Party Advisory x_refsource_misc
http://packetstormsecurity.com/files/154340/Totaljs-CMS-12.0-Path-Traversal.html
Exploit, Mailing List, Third Party Advisory x_refsource_misc
https://seclists.org/fulldisclosure/2019/Sep/2
Exploit, Third Party Advisory x_refsource_misc
https://github.com/beerpwn/CVE/blob/master/Totaljs_disclosure_report/report_final.pdf
Mailing List mailing-list
x_refsource_fulldisc
http://seclists.org/fulldisclosure/2019/Sep/11
Scores
CVSS v3
8.8
EPSS
0.0512
EPSS Percentile
91.3%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-22
Status
published
Products (2)
npm/total4
npm
totaljs/total.js_cms
12.0.0
Published
Sep 05, 2019
Tracked Since
Feb 18, 2026