GitHub Advisoryadvisory · npm

GHSA-pwvp-h579-hfxg Total.js CMS Path Traversal

HIGH Published 2022-05-24 Modified 2023-07-17 Official page ↗
Aliases
CVE-2019-15952
Ecosystem
npm
Packages
total4
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22
Reviewed
2023-07-17

Affected packages

• npm total4: 12.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2019-15952 An issue was discovered in Total.js CMS 12.0.0. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References