FastChat Server-Side Request Forgery vulnerability
The FastChat server's /queue/join endpoint did not properly validate a path parameter, allowing crafted requests to reach internal networks or the AWS metadata endpoint. An attacker could use this to access sensitive internal data and potentially compromise internal servers.
fschat
Originally disclosed on huntr
A Server-Side Request Forgery (SSRF) vulnerability exists in lm-sys/fastchat version 0.2.36. The vulnerability is present in the /queue/join? endpoint, where insufficient validation of the path parameter allows an attacker to send crafted requests. This can lead to unauthorized access to internal networks or the AWS metadata endpoint, potentially exposing sensitive data and compromising internal servers.
From the GitHub Advisory Database (GHSA-h254-g997-685c, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could reach internal networks or the AWS metadata endpoint, potentially exposing sensitive data and compromising internal servers.
What the attacker needed
Access to the /queue/join endpoint
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A server-side request forgery (SSRF) is when a server is tricked into making a request to a destination the attacker chooses, such as an internal system that is not meant to be reachable from outside. Here, a part of the web address was not checked properly, so an attacker could make the FastChat server contact internal services or a cloud metadata service that holds credentials.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.