🇰🇷 한글 설명
MongoDB Python Driver의 GridFS 구성 요소에서 데이터 쿼리 로직의 특수 요소 중화 미흡으로 인해 발생합니다. 공격자가 파일 식별자를 조작하여 의도하지 않은 파일 내용을 탈취하거나, GridFS 버킷 내의 모든 파일 청크를 삭제하여 데이터를 손상시킬 수 있습니다.
💡 쉬운 설명
파일을 찾는 이름표를 조작하여 다른 사람의 파일을 몰래 보거나, 저장된 모든 파일을 한꺼번에 지워버릴 수 있는 보안 약점입니다. 인증된 사용자가 파일 이름을 특수한 명령어로 바꿔서 시스템을 속이는 방식입니다.
🇺🇸 원문 (English)
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python 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. The affected rename operation may also rename a stored file other than the intended target.
📍 영향받는 시스템
MongoDB Python Driver (GridFS 구성 요소 포함 버전)
⚔️ 공격 벡터
인증된 사용자가 애플리케이션에 전달되는 파일 식별자(identifier)를 조작하여 쿼리 조건으로 실행되도록 유도
🛡️ 대응 방법
MongoDB Python Driver를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 pymongo 버전을 확인하여 취약점이 해결된 최신 버전인지 대조하십시오.
pip show pymongo | grep -E 'Version'