🔍 CVE-2026-49253

7.1
CVSS Score
HIGH
2026-08-19
2026-09-09 21:13
✅ 완료

🇰🇷 한글 설명

electerm 3.11.11 미만 버전에서 Zmodem 및 Trzsz 파일 전송 시 원격에서 제공된 파일 이름을 검증 없이 경로 결합에 사용합니다. 공격자가 경로 탐색 문자열(예: ../)이 포함된 파일 이름을 전송하면 사용자가 지정한 디렉토리를 벗어나 시스템의 민감한 파일을 덮어쓸 수 있습니다.

💡 쉬운 설명

파일을 다운로드할 때 파일 이름에 '상위 폴더로 이동'하는 명령이 숨겨져 있어, 원래 저장하려던 폴더가 아닌 엉뚱한 곳에 파일을 저장할 수 있는 문제입니다. 이를 통해 해커가 컴퓨터의 중요한 설정 파일을 망가뜨릴 수 있습니다.

🇺🇸 원문 (English)

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.11.11, electerm uses remote-supplied filenames directly with path.join() while receiving Zmodem and Trzsz transfers. In src/app/server/zmodem.js, prepareReceiveFile() joins the filename to the user-selected save path, and in src/app/server/trzsz.js, getUniqueFilePath(), the openSaveFile() callback, and the savedFilePaths mapping construct destinations without sanitization. A malicious SSH server or remote shell can provide a filename containing traversal components such as ../escaped.txt or ../../.bashrc. When the victim accepts the transfer and selects a download directory, electerm can write outside that directory and overwrite files accessible to the desktop user, potentially changing sensitive configuration or impairing availability. This issue is fixed in version 3.11.11.

📍 영향받는 시스템

electerm versions prior to 3.11.11

⚔️ 공격 벡터

악의적인 SSH 서버 또는 원격 셸을 통한 경로 탐색(Path Traversal) 파일 이름 전송

🛡️ 대응 방법

electerm을 3.11.11 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 3.11.11 미만이면 취약한 상태입니다.

Shell / Script
npm list -g electerm 2>/dev/null | grep -E 'electerm@'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

💻 영향받는 소프트웨어

Remote Desktop Client