🇰🇷 한글 설명
SumatraPDF 3.5.2 및 이전 버전에서 SyncTeX 소스 파일 이름에 적절한 인용 부호 처리가 되지 않는 취약점이 발견되었습니다. 공격자가 조작된 .synctex.gz 파일을 통해 외부 편집기 명령줄에 임의의 플래그를 주입할 수 있으며, 이는 편집기의 설정에 따라 의도하지 않은 동작이나 코드 실행으로 이어질 수 있습니다.
💡 쉬운 설명
PDF를 읽는 프로그램이 외부 편집기를 실행할 때 파일 이름을 안전하게 처리하지 못해 발생하는 문제입니다. 악성 파일이 포함된 PDF를 열고 특정 기능을 실행하면 해커가 명령어를 몰래 끼워 넣어 컴퓨터를 조작할 수 있습니다.
🇺🇸 원문 (English)
SumatraPDF is a multi-format reader for Windows. In 3.5.2 and earlier, an attacker-controlled SyncTeX source filename is substituted for the %f placeholder in an external editor command line without safe Windows argument quoting, and the resulting command line is passed to CreateProcessW(). A user with an external editor configured or auto-detected who opens a PDF with a crafted .synctex.gz file and invokes inverse search can inject command-line flags; the resulting impact depends on the target editor interpreting those flags and can include unintended editor actions or code execution through a malicious extension. No broader impact is claimed beyond the advisory-supported conditions. No fixed version is available as of this review.
📍 영향받는 시스템
SumatraPDF 3.5.2 및 그 이전 버전
⚔️ 공격 벡터
조작된 .synctex.gz 파일이 포함된 PDF를 열고 역방향 검색(Inverse Search) 기능을 실행하여 명령줄 인자 주입
🛡️ 대응 방법
현재 수정 버전이 없으므로 외부 편집기 설정을 주의하고, 향후 보안 패치가 출시되면 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 3.5.2 이하인지 확인하여 취약 여부를 판단합니다.
powershell -command "(Get-Item '. ext.exe').VersionInfo.FileVersion"
💻 영향받는 소프트웨어
Storage Protect Snapshot for Windows