Vulnerability Information
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
electerm: Command Injection in File System Operations (rmrf, mv, cp)
Vulnerability Description
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.11.11, electerm constructs operating system commands in src/app/lib/fs.js by interpolating untrusted file paths into the rmrf(), mv(), and cp() functions. A malicious SSH or SFTP server can provide a filename containing quote characters and shell metacharacters, and a victim can cause that filename to reach the affected operation during remote-to-local transfer, conflict renaming, copying, moving, or removal. The generated `rm -rf`, mv, `cp -r`, PowerShell Remove-Item, Move-Item, or Copy-Item command can then interpret the filename as shell syntax. This allows arbitrary command execution with the electerm desktop user's privileges on POSIX and Windows systems, enabling data exfiltration, file modification, malware installation, or denial of service. This issue is fixed in version 3.11.11.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
electerm 命令注入漏洞
Vulnerability Description
electerm是electerm组织的一款终端仿真程序。 electerm 3.11.11之前版本存在命令注入漏洞,该漏洞源于在src/app/lib/fs.js中构造操作系统命令时将不受信任的文件路径插入rmrf()、mv()和cp()函数,恶意SSH或SFTP服务器可提供包含引号和shell元字符的文件名,可能导致任意命令执行,造成数据泄露、文件修改、恶意软件安装或拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A