🔍 CVE-2026-104025

0.0
CVSS Score
UNKNOWN
2026-10-15
2026-10-16 19:56
✅ 완료

🇰🇷 한글 설명

PeaZip 11.2.0 및 이전 버전의 archive object viewer 내 execute_obj 함수에서 경로 탐색(CWE-22) 취약점이 발견되었습니다. 공격자가 조작된 압축 파일의 항목을 미리보기하도록 유도하면, 시스템에 이미 존재하는 임의의 프로그램을 경고 없이 실행할 수 있습니다. 이는 파일 이름에 대한 경로 검증 미흡과 실행 파일에 대한 보안 확인 절차 누락으로 인해 발생합니다.

💡 쉬운 설명

압축 파일 안에 특수하게 조작된 이름의 파일을 넣어두면, 사용자가 이를 미리보기 할 때 컴퓨터에 있는 다른 프로그램이 몰래 실행될 수 있는 보안 결함입니다. 사용자의 허락 없이 프로그램이 실행될 수 있어 위험합니다.

🇺🇸 원문 (English)

Path Traversal (CWE-22) in the execute_obj function of the archive object viewer (peach.pas) in PeaZip 11.2.0 and earlier on Windows allows an attacker who convinces a victim to preview an entry of a crafted archive via the "Preview with... -> Associated application" action (Shift+Ctrl+O) to execute an arbitrary program already present on the victim's system, with no warning dialog. The function validates only outname (PeaZip's own temporary directory) with checkfiledirname, while the string actually executed is the concatenation outname+tempstring; tempstring is taken verbatim from the archive entry name (StringGridList.Cells[12,...]) and is never validated. checkfiledirname (list_utils.pas) rejects control and reserved characters in the file name but performs no ".." path-containment check, so an entry named ../../../../Windows/System32/calc.exe escapes the extraction directory and is passed to cp_open -> ShellExecuteW; the extracting backend (7-Zip) strips the traversal while the opener does not. In addition, the SECEXTCONST dangerous-extension confirmation prompt is implemented only in the double-click handler (grid_obj_open) and not on this preview route, so an executable inside an archive reaches ShellExecuteW unannounced, and where the prompt does fire it names the entry's display name rather than the resolved path that will run. Arbitrary code execution was demonstrated with a proof of concept against official PeaZip builds, confirmed on two archive formats (.zip and .tar) to show the defect is in PeaZip's own path handling and not in a single format parser.

📍 영향받는 시스템

PeaZip 11.2.0 및 그 이전 버전 (Windows 환경)

⚔️ 공격 벡터

조작된 압축 파일 내의 항목을 '연결된 애플리케이션으로 미리보기(Shift+Ctrl+O)' 기능을 통해 실행 유도

🛡️ 대응 방법

PeaZip을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 11.2.0과 같거나 그보다 낮은 경우 취약한 버전입니다.

Shell / Script
powershell -Command "(Get-Item 'C:\Program Files\PeaZip\PeaZip.exe').VersionInfo.ProductVersion"

💻 영향받는 소프트웨어

Storage Protect Snapshot for Windows