FastChat Server-Side Request Forgery vulnerability
A server-side request forgery vulnerability exists in the FastChat web server, allowing an attacker to make the server send requests to internal resources. This could expose sensitive internal data such as AWS metadata credentials.
fschat
Originally disclosed on huntr
A Server-Side Request Forgery (SSRF) vulnerability was identified in the lm-sys/fastchat web server, specifically in the affected version git 2c68a13. This vulnerability allows an attacker to access internal server resources and data that are otherwise inaccessible, such as AWS metadata credentials.
From the GitHub Advisory Database (GHSA-g44m-hpf4-vmrp, 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
Root cause
Likely the web server accepts user-supplied URLs and fetches them without validating that they point to allowed external destinations.
Impact
An attacker could access internal server resources and data, including AWS metadata credentials.
What the attacker needed
None
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.
Server-side request forgery (SSRF) is when an attacker tricks a server into making requests to places it shouldn't, like internal systems. Here, the FastChat web server could be made to fetch internal resources, potentially leaking cloud 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.