漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
Vulnerability Description
systeminformation is a System and OS information library for node.js. Prior to 5.31.7, networkInterfaces() on Linux is vulnerable to OS command injection through the Debian/Ubuntu interfaces(5) source directive because lib/network.js checkLinuxDCHPInterfaces() reads /etc/network/interfaces, extracts a source <path> token from file content, and interpolates it unquoted into cat ${file} 2> /dev/null | grep 'iface\|source' executed by execSync(cmd, util.execOptsLinux), allowing a path containing shell metacharacters to execute commands in any process that calls networkInterfaces(), including via getStaticData() and getAllData(). This issue is fixed in version 5.31.7.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Sebastian Hildebrandt Systeminformation 命令注入漏洞
Vulnerability Description
sebhildebrandt systeminformation是sebhildebrandt的系统信息收集库。 Sebastian Hildebrandt Systeminformation 5.31.7之前版本存在命令注入漏洞,该漏洞源于lib/network.js中checkLinuxDCHPInterfaces()函数在读取/etc/network/interfaces文件并提取source<path>令牌后,未加引号地将其拼接到execSync执行的命令中,容易受到os命令注入攻击,允许包含sh
CVSS Information
N/A
Vulnerability Type
N/A