🔍 CVE-2026-60093

5.5
CVSS Score
MEDIUM
2026-08-24
2026-10-12 15:10
✅ 완료

🇰🇷 한글 설명

Apache Camel의 Azure-Storage Datalake 컴포넌트에서 발생하는 상대 경로 탐색(Relative Path Traversal) 취약점입니다. 공격자가 데이터 레이크 내의 파일 이름을 조작할 수 있다면, downloadToFile 작업을 통해 설정된 디렉토리를 벗어나 시스템의 임의 위치에 파일을 생성하거나 덮어쓸 수 있습니다.

💡 쉬운 설명

파일을 다운로드할 때 저장할 폴더를 지정하지만, 파일 이름에 '상위 폴더로 이동'하는 특수 문자가 포함되어 있으면 지정된 폴더가 아닌 엉뚱한 곳에 파일이 저장될 수 있는 문제입니다. 이를 통해 해커가 시스템의 중요한 파일을 망가뜨릴 위험이 있습니다.

🇺🇸 원문 (English)

Relative path traversal vulnerability in Apache Camel Azure-Storage Datalake component This issue affects Apache Camel: from 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.22.0. The camel-azure-storage-datalake component can download an Azure Data Lake Storage Gen2 file to the local filesystem through its downloadToFile operation, writing into the directory named by the fileDir endpoint option. DataLakeFileOperations.downloadToFile built the local target by joining fileDir with the remote path name exactly as the Azure SDK reported it (new File(fileDir, fileClientWrapper.getFileName())) and passed the result straight to the SDK download call, with no lexical normalization and no check that the resolved location stayed inside fileDir. The remote name is not route-controlled data: the consumer enumerates the filesystem in DataLakeConsumer.createBatchExchangesFromPath, which lists paths and creates one exchange per entry from PathItem.getName() verbatim, applying no name filtering by default. A path name containing parent-directory segments therefore resolved to a location outside the configured fileDir, letting anyone able to influence the names present in the consumed Data Lake filesystem cause Camel to create or overwrite a file at a location of their choosing, with the privileges of the Camel process. Depending on what the process can write to, overwriting a file outside the download directory can escalate beyond the loss of integrity of that file. The fileDir option is an ordinary common-group configuration parameter and carries no security marker, so nothing signalled to users that its value was not being enforced as a containment boundary. Camel's other file-download consumers - camel-file, camel-ftp, camel-smb, camel-mina-sftp and camel-azure-files - already constrained their local downloads to the configured directory using a path-segment boundary check; the camel-azure-storage-datalake download path was not covered by that work. Users are recommended to upgrade to version 4.22.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.4. For deployments that cannot upgrade immediately, constrain the names the consumer will act on using the regex endpoint option, which is applied to each listed path name as a full-string match, so that only simple single-segment names are accepted and any name carrying a path separator or a parent-directory segment is filtered out before an exchange is created. Alternatively, avoid the downloadToFile operation on untrusted filesystems and write the payload from the route under a file name the route itself controls, rather than one taken from the remote listing. As defence in depth, treat the object names in any externally writable Data Lake filesystem as untrusted input and do not derive local filesystem paths from them.

📍 영향받는 시스템

Apache Camel 4.0.0 < 4.14.9, 4.15.0 < 4.18.4, 4.19.0 < 4.22.0

⚔️ 공격 벡터

데이터 레이크 내 파일 이름에 상위 디렉토리 이동 경로(예: ../)를 포함시켜 Camel 프로세스의 권한으로 임의 경로에 파일 쓰기 유도

🛡️ 대응 방법

Apache Camel을 4.22.0, 4.14.9, 또는 4.18.4 이상의 보안 패치 버전으로 업그레이드하거나, regex 옵션을 사용하여 경로 구분자가 포함된 파일명을 필터링해야 합니다.

🔧 검증 코드

출력된 결과에서 사용 중인 camel-azure-storage-datalake의 버전을 확인하여 취약한 버전 범위에 해당하는지 체크합니다.

Shell / Script
mvn dependency:list | grep 'camel-azure-storage-datalake'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Azure