Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-32831— Code injection in total.js

Quick assessment

Affected
totaljs framework
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

total.js是开源的一个采用JavaScript开发用于Node.js平台的框架。它能够用于开发web、桌面、服务和IoT平台。 Total.js 存在代码注入漏洞,该漏洞源于在 3.4.9 版本之前的 total.js 框架中,使用用户控制的值调用 utils.set 函数会导致代码注入。攻击者可利用该漏洞生成非法的代码段,修改网络系统或组件的预期的执行控制流。

CVSS 7.5 · High EPSS 1.47% · P73

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-32831

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Code injection in total.js
Source: CVE Program / CVE List V5
Vulnerability Description
Total.js framework (npm package 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. In total.js framework before version 3.4.9, calling the utils.set function with user-controlled values leads to code-injection. This can cause a variety of impacts that include arbitrary code execution. This is fixed in version 3.4.9.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
total.js 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
total.js是开源的一个采用JavaScript开发用于Node.js平台的框架。它能够用于开发web、桌面、服务和IoT平台。 Total.js 存在代码注入漏洞,该漏洞源于在 3.4.9 版本之前的 total.js 框架中,使用用户控制的值调用 utils.set 函数会导致代码注入。攻击者可利用该漏洞生成非法的代码段,修改网络系统或组件的预期的执行控制流。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
totaljs framework < 3.4.9 -

II. Public POCs for CVE-2021-32831

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-32831

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-32831 (1)

Other References for CVE-2021-32831 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2021-32831

No comments yet


Leave a comment