total.js@3.4.12 vulnerabilities

MVC framework for Node.js

Direct Vulnerabilities

Known vulnerabilities in the total.js package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Improper Access Control

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 Improper Access Control. An authenticated user with limited privileges can get access to a resource that they do not own by calling the associated API. The application correctly manages privileges only for the front-end resource path, and not for API requests. This leads to vertical and horizontal privilege escalation.

How to fix Improper Access Control?

There is no fixed version for total.js.

>=3.1.0
  • H
Improper Authentication

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 Improper Authentication via cookie enumeration. A low privilege user can perform a simple transformation of a cookie to obtain the random values inside it. If an attacker can discover a session cookie owned by an admin, then it is possible to brute force it with O(n)=2n instead of O(n)=n^x complexity, and steal the admin password.

How to fix Improper Authentication?

There is no fixed version for total.js.

>=3.1.0
  • H
Remote Code Execution (RCE)

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

How to fix Remote Code Execution (RCE)?

There is no fixed version for total.js.

>=3.1.0