Electermに脆弱性、ファイル名経由でWindows上でOSコマンドを実行されるおそれ
Summary
Electermの5.9.0より前のバージョンには、Windows上でOSコマンドを注入される脆弱性があります。全角に近いUnicodeの引用符を含むファイル名やフォルダー名を使い、フォルダーサイズの取得時にPowerShellのコードを実行される可能性があります。修正版の5.9.0以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Electermの5.9.0より前のバージョンには、Windows上でOSコマンドを注入される脆弱性があります。全角に近いUnicodeの引用符を含むファイル名やフォルダー名を使い、フォルダーサイズの取得時にPowerShellのコードを実行される可能性があります。修正版の5.9.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| electermelecterm |
< 5.9.0→ 5.9.0 |
5.9.0 |
Original description The description as published by the source.
Electerm before 5.9.0 on Windows contains an OS command injection vulnerability that allows attackers to execute PowerShell code via crafted file or folder names containing Unicode quote characters. Attackers can deliver names containing U+2019 through archives, WSL distributions, or SMB shares, which break out of getFolderSizeWin() and calcLocal() quoting when victims request folder sizes, executing code as the electerm user.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com