🇰🇷 한글 설명
MongoDB Shell(mongosh)에서 제어 문자 주입 취약점이 발견되었습니다. 공격자가 데이터베이스 클러스터의 내용을 제어할 수 있는 경우, 셸 출력에 제어 문자를 삽입하여 mongosh나 운영체제에서 보낸 것처럼 보이는 가짜 메시지를 표시할 수 있습니다. 이는 사용자가 안전하지 않은 동작을 수행하도록 유도할 수 있습니다.
💡 쉬운 설명
해커가 데이터베이스에 특수 문자를 숨겨두어, 관리자가 사용하는 터미널 화면에 가짜 경고나 메시지를 띄울 수 있는 문제입니다. 이를 통해 사용자가 실수로 위험한 명령어를 입력하도록 속일 수 있습니다.
🇺🇸 원문 (English)
The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions.
The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.
This issue affects mongosh versions prior to 2.3.9
📍 영향받는 시스템
mongosh 2.3.9 미만 버전
⚔️ 공격 벡터
공격자가 제어 가능한 데이터베이스 클러스터 내에 제어 문자를 삽입하여 mongosh 출력 화면을 조작
🛡️ 대응 방법
mongosh를 2.3.9 이상의 최신 버전으로 업데이트
🔧 검증 코드
출력된 버전 번호가 2.3.9보다 낮은지 확인