Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. total4
  4. ›
  5. CVE-2019-15952

CVE-2019-15952: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 24, 2022 (updated July 17, 2023)

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

  • github.com/advisories/GHSA-pwvp-h579-hfxg
  • github.com/beerpwn/CVE/blob/master/Totaljs_disclosure_report/report_final.pdf
  • nvd.nist.gov/vuln/detail/CVE-2019-15952
  • seclists.org/fulldisclosure/2019/Sep/2

Code Behaviors & Features

Detect and mitigate CVE-2019-15952 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 12.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/total4/CVE-2019-15952.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.