🔍 CVE-2024-50636

9.8
CVSS Score
CRITICAL
2024-11-11
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

PyMOL 2.5.0의 "Run Script" 기능이 .PYM 파일 내 Python 코드를 적절히 검증하지 않아 임의의 Python 코드 실행을 허용합니다. 공격자는 역쉘 페이로드가 포함된 악성 .PYM 파일을 만들어 원격 코드 실행(RCE)을 달성할 수 있습니다.

💡 쉬운 설명

PyMOL이라는 분자 구조 프로그램에서 파일을 열 때, 그 파일 안의 코드를 아무 제한 없이 실행합니다. 해커가 악의적인 파일을 보내면 당신의 컴퓨터에서 자신이 원하는 모든 작업을 수행할 수 있습니다.

🇺🇸 원문 (English)

PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of arbitrary Python code embedded within .PYM files. Attackers can craft a malicious .PYM file containing a Python reverse shell payload and exploit the function to achieve Remote Command Execution (RCE). This vulnerability arises because PyMOL treats .PYM files as Python scripts without properly validating or restricting the commands within the script, enabling attackers to run unauthorized commands in the context of the user running the application.

📍 영향받는 시스템

PyMOL 2.5.0 및 이전 버전

⚔️ 공격 벡터

악성 .PYM 파일을 사용자에게 전송하고 "Run Script" 기능으로 실행하도록 유도

🛡️ 대응 방법

PyMOL을 최신 버전으로 업데이트하고 신뢰할 수 없는 .PYM 파일 실행 금지

🔧 검증 코드

설치된 PyMOL의 버전을 확인함. 2.5.1 이상이면 패치됨, 2.5.0 이하면 취약함

Shell / Script
which pymol >/dev/null 2>&1 && pymol --version 2>&1 | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python