Remote Code Execution (RCE) Affecting total.js package, versions >=3.1.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 35.43% (98th percentile)
Expand this section
NVD
9.9 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-TOTALJS-461099
  • published 5 Sep 2019
  • disclosed 5 Sep 2019
  • credit Riccardo Krauter

How to fix?

There is no fixed version for total.js.

Overview

total.js is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.NET MVC. It can be used as web, desktop, service or IoT application.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). It is possible for an attacker to create a malicious widget with a special tag containing JavaScript code which will then be evaluated application.

PoC by Riccardo Krauter

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