CVE-2023-54345
HIGHFrappe Framework ERPNext 13.4.0 Remote Code Execution
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2023-54345. PoCs published by Sander Ferdinand.
AI-analyzed exploit summary This exploit demonstrates a sandbox escape in Frappe Framework (ERPNext) 13.4.0 by leveraging RestrictedPython's unsafe handling of `gi_frame` to achieve remote code execution. It requires 'System Manager' role and `server_script_enabled` set to `true`.
Description
Frappe Framework ERPNext 13.4.0 contains a sandbox escape vulnerability in RestrictedPython that allows authenticated users with System Manager role to execute arbitrary code by exploiting frame introspection. Attackers can create a server script via the /app/server-script endpoint and access the gi_frame attribute to traverse the call stack and invoke os.popen to execute system commands.
Exploits (1)
This exploit demonstrates a sandbox escape in Frappe Framework (ERPNext) 13.4.0 by leveraging RestrictedPython's unsafe handling of `gi_frame` to achieve remote code execution. It requires 'System Manager' role and `server_script_enabled` set to `true`.
References (8)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H