🔍 CVE-2026-34607

7.2
CVSS Score
HIGH
2026-04-03
2026-07-24 22:10
✅ 완료

🇰🇷 한글 설명

Emlog 2.6.2 및 이전 버전의 emUnZip() 함수에서 경로 탐색 취약점이 발견되었습니다. 인증된 관리자가 '../' 시퀀스가 포함된 악의적인 ZIP 파일을 업로드하여 서버의 임의 위치에 PHP 웹쉘 등을 생성함으로써 원격 코드 실행(RCE)이 가능합니다.

💡 쉬운 설명

관리자 권한을 가진 사용자가 특수하게 제작된 압축 파일을 올리면 서버의 제한된 구역에 파일을 강제로 저장할 수 있는 취약점입니다. 이를 통해 공격자가 서버의 제어권을 완전히 획득할 수 있습니다.

🇺🇸 원문 (English)

Emlog is an open source website building system. In versions 2.6.2 and prior, a path traversal vulnerability exists in the emUnZip() function (include/lib/common.php:793). When extracting ZIP archives (plugin/template uploads, backup imports), the function calls $zip->extractTo($path) without sanitizing ZIP entry names. An authenticated admin can upload a crafted ZIP containing entries with ../ sequences to write arbitrary files to the server filesystem, including PHP webshells, achieving Remote Code Execution (RCE). At time of publication, there are no publicly available patches.

📍 영향받는 시스템

Emlog 2.6.2 및 이전 버전

⚔️ 공격 벡터

경로 탐색(Path Traversal)을 통한 임의 파일 업로드 및 원격 코드 실행(RCE)

🛡️ 대응 방법

최신 보안 패치를 적용하거나, ZIP 압축 해제 시 파일 경로에 상위 디렉토리 참조 문자(../)가 포함되어 있는지 검증하는 로직을 추가해야 합니다.

🔧 검증 코드

명령어 실행 결과 emUnZip 함수 내에 extractTo 코드가 확인되면 취약한 버전일 가능성이 매우 높습니다.

Shell / Script
grep -n "emUnZip" include/lib/common.php | grep "extractTo"

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP