CVE-2024-50636
JSON

9.8critical

PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of arbitrary Python code embedded within .PYM…

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.25% (higher than 70% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
schrodinger pymol2.5.0CVE List

Classification

CWE-94

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

PyMOL 2.5.0 contiene una vulnerabilidad en su función "Run Script", que permite la ejecución de código Python arbitrario incrustado en archivos .PYM. Los atacantes pueden manipular un archivo .PYM malicioso que contenga un payload de shell inversa de Python y explotar la función para lograr la ejecución remota de comandos (RCE). Esta vulnerabilidad surge porque PyMOL trata los archivos .PYM como scripts de Python sin validar o restringir adecuadamente los comandos dentro del script, lo que permite a los atacantes ejecutar comandos no autorizados en el contexto del usuario que ejecuta la aplicación.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50636 changed 2024-11-19CVE Terms of Use
NVDCVE-2024-50636 changed 2026-06-17Public domain