🇰🇷 한글 설명
MongoDB C++ 드라이버의 GridFS 구성 요소에서 데이터 쿼리 로직의 부적절한 중립화로 인해 발생합니다. 공격자가 파일 식별자를 조작하여 쿼리 조건으로 해석하게 만들면, 의도하지 않은 파일 내용을 탈취하거나 버킷 내의 모든 파일 청크를 삭제하여 데이터를 손상시킬 수 있습니다.
💡 쉬운 설명
파일을 찾는 이름표를 조작하여 다른 사람의 파일을 몰래 보거나, 저장된 모든 파일을 한꺼번에 지워버릴 수 있는 보안 결함입니다. 인증된 사용자가 파일 식별자 값을 악의적으로 변경할 때 발생합니다.
🇺🇸 원문 (English)
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB C++ Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable.
📍 영향받는 시스템
MongoDB C++ Driver (GridFS 구성 요소 포함 버전)
⚔️ 공격 벡터
인증된 사용자가 애플리케이션을 통해 GridFS 파일 식별자(identifier)에 특수 구조를 삽입하여 쿼리 로직을 조작
🛡️ 대응 방법
MongoDB C++ Driver를 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
설치된 MongoDB C++ 드라이버의 버전을 확인하여 취약점이 해결된 버전인지 대조
mongocxx_version_check_command_placeholder_for_driver_version