🇰🇷 한글 설명
MongoDB Rust Driver의 GridFS 구성 요소에서 데이터 쿼리 로직의 특수 요소 중화 미흡으로 인해 발생합니다. 공격자가 파일 식별자를 조작하여 의도하지 않은 파일 내용을 탈취하거나, GridFS 버킷 내의 모든 파일 청크를 삭제하여 데이터를 손상시킬 수 있습니다.
💡 쉬운 설명
파일을 찾는 이름표를 조작하여 다른 사람의 파일을 몰래 보거나, 저장된 모든 파일을 한꺼번에 지워버릴 수 있는 보안 결함입니다. 인증된 사용자가 파일 이름을 입력하는 과정에서 악의적인 명령을 섞어 넣을 때 발생합니다.
🇺🇸 원문 (English)
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Rust 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 Rust Driver (GridFS 구성 요소 사용 버전)
⚔️ 공격 벡터
인증된 사용자가 애플리케이션을 통해 GridFS 파일 식별자에 조작된 쿼리 조건을 주입
🛡️ 대응 방법
MongoDB Rust Driver를 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 MongoDB 드라이버의 버전을 확인하여 취약점이 해결된 버전인지 대조
cargo pkgid | grep mongodb