🔍 CVE-2026-35593

6.8
CVSS Score
MEDIUM
2026-05-20
2026-07-24 09:10
✅ 완료

🇰🇷 한글 설명

Trilium Notes의 0.102.1 이하 버전에서 로컬 파일 포함(LFI) 취약점이 발견되었습니다. 인증된 공격자가 특정 API 요청을 통해 서버의 임의 파일을 읽어 들여 SSH 키나 설정 파일과 같은 민감한 정보를 탈취할 수 있습니다.

💡 쉬운 설명

로그인한 사용자가 프로그램의 허점을 이용해 서버에 저장된 중요한 비밀 파일들을 몰래 훔쳐볼 수 있는 문제입니다. 이를 통해 해커가 서버의 제어권을 완전히 가져갈 위험이 있습니다.

🇺🇸 원문 (English)

Trilium Notes is an open-source, cross-platform hierarchical note taking application for building large personal knowledge bases. Versions 0.102.1 and prior are vulnerable to Local File Inclusion, allowing an authenticated attacker to read sensitive arbitrary files from the server's filesystem. The uploadModifiedFileToAttachment function, which is called when a POST request is received to /api/attachments/{attachmentId}/upload-modified-file, replaces the content of the attachment with the content from another file (whose path is provided in filePath of Request body). After which the content of the attachment can be viewed at /api/attachments/{attachmentId}/download. This exposes sensitive system files such as SSH keys, credentials, configs, and OS files, potentially leading to remote code execution and compromise of co-hosted applications. This issue has been fixed in version 0.102.2.

📍 영향받는 시스템

Trilium Notes 0.102.1 및 그 이전 버전

⚔️ 공격 벡터

인증된 사용자가 /api/attachments/{attachmentId}/upload-modified-file 엔드포인트에 조작된 filePath를 포함한 POST 요청을 전송

🛡️ 대응 방법

Trilium Notes를 최신 버전인 0.102.2 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 0.102.0 또는 0.102.1이 포함되어 있으면 취약한 버전이 설치된 상태입니다.

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

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server