CVE-2024-1879: CSRF to RCE in significant-gravitas/autogpt
A Cross-Site Request Forgery (CSRF) vulnerability in significant-gravitas/autogpt version v0.5.0 allows attackers to execute arbitrary commands on the AutoGPT server. The vulnerability stems from the lack of protections on the API endpoint receiving instructions, enabling an attacker to direct a user running AutoGPT in their local network to a malicious website. This site can then send crafted requests to the AutoGPT server, leading to command execution. The issue is exacerbated by CORS being enabled for arbitrary origins by default, allowing the attacker to read the response of all cross-site queries. This vulnerability was addressed in version 5.1.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-1879?
CVE-2024-1879 is categorized as a high severity vulnerability due to its potential to allow attackers to execute arbitrary commands.
How do I fix CVE-2024-1879?
To fix CVE-2024-1879, update to AutoGPT version 0.5.1 or later, which includes the necessary protections against CSRF attacks.
What specific vulnerability does CVE-2024-1879 exploit?
CVE-2024-1879 exploits a Cross-Site Request Forgery (CSRF) vulnerability in the API endpoint of AutoGPT version 0.5.0.
Which version of AutoGPT is affected by CVE-2024-1879?
AutoGPT version 0.5.0 is the only version affected by CVE-2024-1879.
What are the potential impacts of CVE-2024-1879?
The potential impacts of CVE-2024-1879 include unauthorized command execution on the AutoGPT server, leading to data breaches or service disruptions.