PyMOL 2.5.0 contains a vulnerability in its "Run Script"...
Critical severity
Unreviewed
Published
Nov 12, 2024
to the GitHub Advisory Database
•
Updated Nov 19, 2024
Description
Published by the National Vulnerability Database
Nov 11, 2024
Published to the GitHub Advisory Database
Nov 12, 2024
Last updated
Nov 19, 2024
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.
References