Remote Code Execution (RCE) Affecting total.js Open this link in a new tab package, versions >=3.1.0


0.0
high
  • Exploit Maturity

    Mature

  • Attack Complexity

    Low

  • User Interaction

    Required

  • Integrity

    High

  • Availability

    High

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>.