CVE-2019-15952: Total.js CMS path traversal in page inclusion

CVE-2019-15952 · Severity: low · CVSS 3 · Published 2022-05-24

Total.js CMS is a content management system used to build and manage websites. An authenticated user with page editing privileges can exploit a path traversal vulnerability to include HTML files from outside the intended directory, and then inject malicious template code to execute arbitrary commands on the server.

Technologies: total4 (npm). Vendors: npm.

Quick answers

Is CVE-2019-15952 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-15952 being exploited in the wild.
How severe is CVE-2019-15952?
Low severity, with a CVSS score of 3, published 24 May 2022.
Which products and versions are affected?
Total.js CMS 12.0.0.
Is there a fix for CVE-2019-15952?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2019-15952 attacked?
It is attacked over the network.
Am I affected by CVE-2019-15952?
Check whether you run total4 (npm). Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a path traversal issue (CWE-22) in Total.js CMS version 12.0.0 affecting the page inclusion functionality. An authenticated user with the Pages privilege can use directory traversal sequences (../) to access .html files outside the intended directory. If a traversed .html file contains template directives, the server processes them server-side, allowing template injection. An attacker who controls the content of an accessible .html file can inject malicious template directives to achieve remote code execution. The vulnerability requires authentication and the Pages privilege to exploit, and works only with .html file extensions.

Affected products

  • Total.js CMS 12.0.0

Identifiers

  • CVE-2019-15952
  • GHSA-pwvp-h579-hfxg

Timeline

  • 2019-09: disclosed: Vulnerability disclosed via full-disclosure mailing list
  • 2022-05-24: advisory: GitHub Security Advisory published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.