🇰🇷 한글 설명
Notepad++ 8.9.8 미만 버전에서 shortcuts.xml의 HMAC 검증이 불완전하게 수행되는 취약점이 발견되었습니다. 공격자가 조작된 매크로 파일을 이용할 경우, 매크로 반복 실행 대화 상자를 통해 외부 프로그램을 실행하는 등 내부 명령을 현재 사용자 권한으로 실행할 수 있습니다.
💡 쉬운 설명
메모장 프로그램의 설정 파일이 변조되었는지 확인하는 과정에 허점이 있어 발생한 문제입니다. 나쁜 의도로 수정된 설정 파일을 실행하면 해커가 사용자의 컴퓨터에서 몰래 프로그램을 실행할 수 있습니다.
🇺🇸 원문 (English)
Notepad++ is a free and open-source source code editor. Prior to 8.9.8, Notepad++ incompletely enforces shortcuts.xml HMAC validation because WM_MACRODLGRUNMACRO, the Run a Macro Multiple Times entry point, calls macroPlayback() without the validation used by command(). A tampered shortcuts.xml macro that is blocked through the Macro menu or a shortcut key can therefore execute through the multi-run dialog and invoke internal Notepad++ commands, including commands that launch external programs, in the current user context. This issue is fixed in version 8.9.8.
📍 영향받는 시스템
Notepad++ 8.9.8 미만 모든 버전
⚔️ 공격 벡터
조작된 shortcuts.xml 파일을 통한 매크로 반복 실행 기능 악용
🛡️ 대응 방법
Notepad++를 최신 버전인 8.9.8 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 8.9.8보다 낮으면 취약한 상태입니다.
notepad++ --version 2>/dev/null || powershell "(Get-Item 'C:\Program Files\Notepad++\notepad++.exe').VersionInfo.FileVersion"