🇰🇷 한글 설명
Mercury 프레임워크 3.0.0부터 3.2.4 버전 사이에서 정규식 패턴 설정 오류로 인해 보안 차단 목록이 정상적으로 작동하지 않는 취약점이 발견되었습니다. 공격자는 이를 통해 인증 없이 Jupyter Server의 터미널 API에 접근하여 운영체제 명령어를 실행하고 데이터를 탈취할 수 있습니다.
💡 쉬운 설명
웹 애플리케이션의 보안 차단 규칙에 오타가 있어, 공격자가 허가되지 않은 통로로 침입할 수 있는 문제입니다. 이를 통해 해커가 컴퓨터에 직접 명령을 내려 중요한 정보를 훔쳐갈 수 있습니다.
🇺🇸 원문 (English)
Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. From 3.0.0 until 3.2.4, a missing comma in BLOCKED_PATTERNS concatenates the /lab and /api/terminals regular-expression literals. Requests to /api/terminals therefore bypass the anonymous endpoint blocklist and reach Jupyter Server's terminal API. An unauthenticated attacker can use the resulting interactive operating-system shell to execute commands and access data available to the Mercury process. This issue is fixed in version 3.2.4.
📍 영향받는 시스템
Mercury Python framework version 3.0.0 to 3.2.4
⚔️ 공격 벡터
인증되지 않은 공격자가 /api/terminals 경로로 요청을 보내 Jupyter Server의 터미널 API를 우회하여 명령 실행
🛡️ 대응 방법
Mercury 프레임워크를 최신 버전인 3.2.4 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 3.2.4 미만(예: 3.0.0 ~ 3.2.3)이면 취약한 상태입니다.
pip show mercury | grep Version
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server