🇰🇷 한글 설명
Camaleon CMS 2.4.5.0부터 2.9.0 버전의 AWS S3 업로더 구현체에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. 인증된 사용자가 download_private_file 기능을 악용하여 웹 서버의 임의 파일을 읽을 수 있으며, 이는 이전 취약점(CVE-2024-46987)에 대한 불완전한 수정으로 인해 발생합니다.
💡 쉬운 설명
로그인한 사용자가 파일 경로를 조작하여 서버에 저장된 중요한 시스템 파일을 몰래 훔쳐볼 수 있는 문제입니다. 특히 AWS S3 저장 방식을 사용하는 환경에서 보안 검증이 누락되어 발생합니다.
🇺🇸 원문 (English)
Camaleon CMS versions 2.4.5.0 through 2.9.0, prior to commit f54a77e, contain a path traversal vulnerability in the AWS S3 uploader implementation that allows authenticated users to read arbitrary files from the web server’s filesystem. The issue occurs in the download_private_file functionality when the application is configured to use the CamaleonCmsAwsUploader backend. Unlike the local uploader implementation, the AWS uploader does not validate file paths with valid_folder_path?, allowing directory traversal sequences to be supplied via the file parameter. As a result, any authenticated user, including low-privileged registered users, can access sensitive files such as /etc/passwd. This issue represents a bypass of the incomplete fix for CVE-2024-46987 and affects deployments using the AWS S3 storage backend.
📍 영향받는 시스템
Camaleon CMS versions 2.4.5.0 through 2.9.0 (prior to commit f54a77e) using CamaleonCmsAwsUploader
⚔️ 공격 벡터
인증된 사용자가 AWS S3 업로더의 download_private_file 기능 내 file 파라미터에 경로 탐색 시퀀스(예: ../)를 입력하여 공격
🛡️ 대응 방법
Camaleon CMS를 최신 버전으로 업데이트하거나, commit f54a77e 이후의 패치가 적용된 버전으로 업그레이드하십시오.
🔧 검증 코드
설정 파일에서 AWS 업로더 사용 여부를 확인하고, 현재 설치된 Camaleon CMS의 버전이 취약 범위에 있는지 확인합니다.
grep -r 'CamaleonCmsAwsUploader' /path/to/cms/config/settings.py 2>/dev/null && python3 -c "import camaleon; print(camaleon.__version__)"
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server