CyberRota Analysis
AI-GeneratedFlowintel versions 3.3.0 and above are vulnerable due to improper handling of configuration keys in the alerts settings update endpoint, allowing attacker-controlled keys to manipulate the Python configuration module. This vulnerability can lead to arbitrary code execution, posing a significant risk to systems using affected versions. Organizations utilizing Flowintel should prioritize patching this issue to mitigate potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Affected versions of Flowintel improperly trust configuration keys supplied to the alerts settings update endpoint. While configuration values were normalized to Python literals, the corresponding keys were used directly when constructing and replacing lines in conf/config_module.py. The vulnerable code used requester-controlled keys in both the regular expression and the generated assignment: f'{key} = {py_val}' and appended an assignment if the key was not already present. The modified Python configuration module was subsequently reloaded using importlib.reload(). This creates a code-generation boundary in which specially crafted configuration keys can alter the Python source structure and result in execution of attacker-controlled Python statements. Version impacted >=3.3.0