🔍 CVE-2026-32747

6.8
CVSS Score
MEDIUM
2026-03-19
2026-06-17 10:36
✅ 완료

🇰🇷 한글 설명

SiYuan 개인 지식 관리 시스템 3.6.0 이하 버전에서 발생하는 취약점으로, globalCopyFiles API가 파일 경로를 검증할 때 불완전한 차단 목록을 사용합니다. 공격자는 이를 통해 /proc/이나 Docker 비밀 정보와 같이 시스템의 민감한 파일에 접근하여 워크스페이스로 복사할 수 있습니다.

💡 쉬운 설명

프로그램이 허용되지 않은 시스템 파일까지 읽어올 수 있는 보안 구멍이 발견되었습니다. 이를 통해 컴퓨터 내부의 중요한 비밀번호나 설정 파일이 유출될 위험이 있습니다.

🇺🇸 원문 (English)

SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the globalCopyFiles API eads source files using filepath.Abs() with no workspace boundary check, relying solely on util.IsSensitivePath() whose blocklist omits /proc/, /run/secrets/, and home directory dotfiles. An admin can copy /proc/1/environ or Docker secrets into the workspace and read them via the standard file API. An admin can exfiltrate any file readable by the SiYuan process that falls outside the incomplete blocklist. In containerized deployments this includes all injected secrets and environment variables - a common pattern for passing credentials to containers. The exfiltrated files are then accessible via the standard workspace file API and persist until manually deleted. This issue has been fixed in version 3.6.1.

📍 영향받는 시스템

SiYuan 3.6.0 및 그 이하 모든 버전

⚔️ 공격 벡터

경로 검증 미흡을 이용한 민감한 시스템 파일(환경 변수, Docker 비밀 정보 등)의 워크스페이스 복사 및 탈취

🛡️ 대응 방법

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

🔧 검증 코드

출력된 버전 정보가 3.6.1 미만(예: 3.6.0)이면 취약한 상태입니다.

Shell / Script
curl -s http://localhost:PORT/api/version | grep -E '3\.[0-6]\.'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker