🇰🇷 한글 설명
Notepad++ 8.9.2 미만 버전에서 Windows 탐색기를 실행할 때 절대 경로를 사용하지 않아 발생하는 안전하지 않은 검색 경로(CWE-426) 취약점입니다. 공격자가 프로세스 작업 디렉토리를 제어할 수 있는 경우, 악성 explorer.exe를 실행시켜 애플리케이션 권한으로 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
프로그램이 특정 파일을 찾을 때 엉뚱한 위치를 먼저 확인하는 허점을 이용한 공격입니다. 해커가 가짜 파일을 미리 준비해두면, 사용자가 프로그램을 쓸 때 해커가 만든 악성 프로그램이 몰래 실행될 수 있습니다.
🇺🇸 원문 (English)
Notepad++ is a free and open-source source code editor. An Unsafe Search Path vulnerability (CWE-426) exists in versions prior to 8.9.2 when launching Windows Explorer without an absolute executable path. This may allow execution of a malicious explorer.exe if an attacker can control the process working directory. Under certain conditions, this could lead to arbitrary code execution in the context of the running application. Version 8.9.2 patches the issue.
📍 영향받는 시스템
Notepad++ 8.9.2 미만 모든 버전
⚔️ 공격 벡터
공격자가 프로세스의 작업 디렉토리를 조작하여 악성 explorer.exe가 실행되도록 유도
🛡️ 대응 방법
Notepad++를 최신 버전인 8.9.2 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 8.9.2보다 낮으면 취약한 상태입니다.
notepad++ --version 2>/dev/null || powershell "(Get-Item 'C:\Program Files\Notepad++\notepad++.exe').VersionInfo.FileVersion"