🇰🇷 한글 설명
오픈 소스 개인 지식 관리 소프트웨어인 SiYuan의 특정 버전에서 ZipSlip 취약점이 발견되었습니다. 인증된 사용자가 importZipMd 기능을 악용하여 시스템의 파일을 덮어쓸 수 있으며, 특정 상황에서는 원격 코드 실행으로 이어질 수 있습니다.
💡 쉬운 설명
압축 파일을 불러올 때 파일 경로를 조작하여 컴퓨터의 중요한 파일을 마음대로 바꿀 수 있는 보안 약점입니다. 해커가 이 기능을 이용하면 컴퓨터를 완전히 장악할 수도 있습니다.
🇺🇸 원문 (English)
SiYuan is self-hosted, open source personal knowledge management software. Versions 0.0.0-20251202123337-6ef83b42c7ce and below contain function importZipMd which is vulnerable to ZipSlips, allowing an authenticated user to overwrite files on the system. An authenticated user with access to the import functionality in notes is able to overwrite any file on the system, and can escalate to full code execution under some circumstances. A fix is planned for version 3.5.0.
📍 영향받는 시스템
SiYuan versions 0.0.0-20251202123337-6ef83b42c7ce and below
⚔️ 공격 벡터
인증된 사용자가 조작된 ZIP 파일을 업로드하여 경로 탐색(Path Traversal) 공격 수행
🛡️ 대응 방법
SiYuan 버전을 3.5.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 3.5.0 미만인지 확인하여 취약 여부를 판단합니다.
grep -r "SiYuan" /opt/siyuan/version.txt 2>/dev/null || echo "Version info not found"