AutoGPT Server-Side Request Forgery Vulnerability in Web Request Component
Vulnerability
A server-side request forgery (SSRF) vulnerability has been identified in AutoGPT versions prior to autogpt-platform-beta-v0.4.2. The issue arises in the 'Send Web Request' component, where IPv6 addresses are not properly restricted or filtered. This oversight allows attackers to exploit the vulnerability by directing requests to IPv6 services, potentially accessing internal resources or services that should be protected.
Impact
Exploitation of this vulnerability allows for server-side request forgery, where an attacker can make the server send requests to internal services or resources, bypassing network restrictions.
Reproduction
To reproduce this vulnerability, create a workflow in AutoGPT that includes the 'Send Web Request' component. When the workflow is executed, the component can be manipulated to send requests to internal IPv6 addresses, which are not blocked by the application's default security measures. This can be done by crafting a request that targets an IPv6 service, taking advantage of the lack of proper filtering.
Remediation
Users can update to AutoGPT version autogpt-platform-beta-v0.4.2 or later, where this vulnerability has been fixed.
