🔍 CVE-2026-47659

0.0
CVSS Score
UNKNOWN
2026-08-07
2026-10-23 20:10
✅ 완료

🇰🇷 한글 설명

Pathling Server 2.0.0 미만 버전의 `/$result` 엔드포인트에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. 공격자가 유효한 비동기 내보내기 작업 ID를 이용해 `file` 파라미터에 경로 탐색 시퀀스를 입력하면, 작업 디렉토리를 벗어나 창고 데이터베이스 루트에 있는 다른 파일들을 읽을 수 있습니다.

💡 쉬운 설명

파일을 불러오는 기능에 보안 허점이 있어, 공격자가 원래 허용된 폴더가 아닌 시스템의 다른 중요한 파일들을 몰래 훔쳐볼 수 있는 문제입니다. 이를 통해 데이터베이스에 저장된 민감한 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

Pathling is a set of tools that make it easier to use FHIR and clinical terminology within health data analytics. Prior to version 2.0.0 of Pathling Server, Pathling's `/$result` endpoint allows a caller who can obtain any valid async export job ID to supply `file` parameter values containing path traversal sequences. The handler verifies only the supplied `job` and never normalises or confines the requested `file` path to that job's `jobs/<jobId>` directory before opening it as a filesystem resource. Because async export scratch space lives under the same warehouse database root as persisted resource tables, an attacker can use their own export job to read other files from the warehouse. This is fixed in Pathling Server 2.0.0. The `$result` handler now resolves and canonicalizes the requested file path and rejects any request that escapes the job's `jobs/<jobId>` directory. As an interim mitigation, disable the async export operations (`pathling.operations.exportEnabled`, `patientExportEnabled`, `groupExportEnabled`, `bulkSubmitEnabled`) or enable authentication and restrict export capability to trusted callers.

📍 영향받는 시스템

Pathling Server 2.0.0 미만 버전

⚔️ 공격 벡터

비동기 내보내기 작업 ID를 획득한 후 `/$result` 엔드포인트의 `file` 파라미터에 경로 탐색 문자열(`../`)을 삽입하여 공격

🛡️ 대응 방법

Pathling Server를 2.0.0 이상 버전으로 업데이트하거나, 비동기 내보내기 기능을 비활성화하고 인증을 강화하여 신뢰할 수 있는 사용자만 접근하도록 제한

🔧 검증 코드

출력된 버전 번호가 2.0.0 미만이면 취약한 상태이며, 2.0.0 이상이면 안전합니다.

Shell / Script
python3 -c 'import pkg_resources; print(pkg_resources.get_distribution("pathling-server").version)' 2>/dev/null || echo 'not installed'

💻 영향받는 소프트웨어

Spring Data REST