🔍 CVE-2026-119674

3.7
CVSS Score
LOW
2026-11-03
2026-11-03 20:00
✅ 완료

🇰🇷 한글 설명

MongoDB Database Tools의 mongorestore가 덤프 파일명이 잘린 경우 메타데이터에서 읽은 원본 컬렉션 이름을 잘못 URL 디코딩합니다. 이로 인해 권한이 있는 디렉터리 복원 시 문서가 사용자가 직접 수정할 수 없는 다른 컬렉션에 기록될 수 있으며, --drop 옵션 사용 시 의도하지 않은 대상 컬렉션이 교체될 수 있습니다. 악용하려면 운영자가 해당 컬렉션을 쓰기 권한이 있는 대상으로 디렉터리 덤프에서 복원해야 합니다. 영향 버전은 100.0.2 이상 100.20.1 미만입니다.

💡 쉬운 설명

데이터베이스 백업 복원 도구의 결함으로, 특정 이름을 가진 데이터가 원래 위치가 아닌 다른 위치에 잘못 저장될 수 있습니다. 관리자가 해당 백업을 복원할 때만 문제가 발생하며, 데이터 누락이나 덮어쓰기가 일어날 수 있습니다.

🇺🇸 원문 (English)

MongoDB Database Tools mongorestore incorrectly URL-decodes an original collection name read from metadata when the corresponding dump filename has been truncated. A database user who can create and populate a suitably encoded collection can cause a later authorized directory restore to write those documents into a different collection that the user cannot modify directly. When both collection names resolve to the same destination, backed-up documents may be omitted; use of --drop can also replace the unintended destination collection. Exploitation requires an operator to restore the affected collection from a directory dump with write access to the destination. This issue affects MongoDB Database Tools versions 100.0.2 through versions before 100.20.1.

📍 영향받는 시스템

MongoDB Database Tools 100.0.2 이상 100.20.1 미만 버전

⚔️ 공격 벡터

공격자가 특수하게 인코딩된 컬렉션을 생성하고, 운영자가 해당 디렉터리 덤프를 복원할 때 데이터가 다른 컬렉션으로 잘못 기록되도록 유도

🛡️ 대응 방법

MongoDB Database Tools를 100.20.1 이상 버전으로 업데이트

🔧 검증 코드

출력된 버전이 100.20.1 미만이면 취약하며, 100.20.1 이상이면 패치가 적용된 것입니다.

Shell / Script
mongorestore --version 2>/dev/null | head -n 1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L

💻 영향받는 소프트웨어

Spring Data MongoDB