Electerm
electerm's RDP clipboard file download may parse unsafe file name
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.15.120, electerm allows a malicious RDP server to write attacker-controlled content outside the selected save directory because the RDP clipboard download path in src/client/components/rdp/file-transfer.js passes the server-controlled CLIPRDR filename fileInfo.name to osResolve without sanitization. This issue is fixed in version 3.15.120.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
electerm electerm
- < 3.15.120
Fixed in 3.15.120
Mitigation
Upgrade electerm to 3.15.120 or later.
References
- Vendor advisory github.com/electerm/electerm/security/advisori…
- Patch github.com/electerm/electerm/commit/451bf30006…
- Release notes github.com/electerm/electerm/releases/tag/v3.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.