Description
InvokeAI has a critical vulnerability leading to remote code execution in the /api/v2/models/install API through unsafe model deserialization. The API allows users to specify a model URL, which is downloaded and loaded server-side using torch.load without proper validation. This functionality allows attackers to embed malicious code in model files that execute upon loading.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/invokeai/rce_cve_2024_12029msf undefined(rce_cve_2024_12029) > show actions ...actions...msf undefined(rce_cve_2024_12029) > set ACTION < action-name >msf undefined(rce_cve_2024_12029) > show options ...show and set options...msf undefined(rce_cve_2024_12029) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub