Arbitrary Code Execution in Open edX Ironwood 2.5 Studio (CodeJail Bypass)
A vulnerability in Open edX Ironwood 2.5 Studio allows authenticated users to execute arbitrary Python code via the 'Custom Python evaluated code' feature in the problem component creation workflow, if CodeJail is not enabled. The lack of sandboxing permits direct execution of user-supplied code on the application server, leading to a full compromise of the host system.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker with access to Studio to execute arbitrary Python code on the server, potentially leading to full system compromise, data exfiltration, lateral movement, or further attacks within the hosting environment.
If you can’t patch tonight, do this now.
Restrict access to Studio to trusted users only, monitor for unauthorized access, and ensure that CodeJail or equivalent sandboxing is enabled and enforced for all custom Python code execution features.
Patch, then assume compromise.
Enable and properly configure CodeJail to sandbox and restrict execution of user-supplied Python code. Upgrade to a version of Open edX that enforces CodeJail or otherwise restricts code execution in the Studio interface.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.