🇰🇷 한글 설명
Countly 서버의 데이터 마이그레이션 플러그인에서 경로 검증 미흡으로 인해 발생하는 취약점입니다. 인증된 사용자가 조작된 exportid를 전달하여 의도하지 않은 경로의 파일이나 디렉토리를 삭제함으로써 데이터 손실 및 서비스 중단을 초래할 수 있습니다.
💡 쉬운 설명
권한을 가진 사용자가 시스템의 특정 명령을 악용하여 서버 내의 중요한 파일이나 폴더를 마음대로 삭제할 수 있는 문제입니다. 이로 인해 서비스가 멈추거나 소중한 데이터가 사라질 위험이 있습니다.
🇺🇸 원문 (English)
countly-server is the server-side part of Countly, a product analytics solution. Prior to 24.05.50 and 25.03.44, the authenticated data-migration deletion route in plugins/data_migration/api/api.js passes the user-controlled exportid to clean_up_data without path validation. plugins/data_migration/api/data_migration_helper.js concatenates that identifier into a path resolved outside the intended import directory and calls remove recursively, allowing an application administrator or user with migration permission to delete writable files or directory trees and cause data loss or service disruption. This issue is fixed in versions 24.05.50 and 25.03.44.
📍 영향받는 시스템
Countly server versions prior to 24.05.50 and 25.03.44
⚔️ 공격 벡터
인증된 사용자가 데이터 마이그레이션 API의 exportid 파라미터에 경로 조작 문자열을 삽입하여 공격
🛡️ 대응 방법
Countly를 버전 24.05.50 또는 25.03.44 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 24.05.50 또는 25.03.44보다 낮은지 확인하여 취약 여부를 판단합니다.
npm list -g countly-server | grep -E 'countly-server@'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server