Description
prompts.chat prior to commit 30a8f04 contains a server-side request forgery vulnerability in Fal.ai media status polling that allows authenticated users to perform arbitrary outbound requests by supplying attacker-controlled URLs in the token parameter. Attackers can exploit the lack of URL validation to disclose the FAL_API_KEY in the Authorization header, enabling credential theft, internal network probing, and abuse of the victim's Fal.ai account.
Problem types
CWE-918 Server-Side Request Forgery (SSRF)
Product status
Any version before 30a8f0470e0ba45e6be9c9f55220f4a9a6b91c99
Credits
Mehmet Ince @mdisec
References
gist.github.com/mdisec/27c0cac0ec6a8f3c8f85a18987ddb942
gist.github.com/mdisec/27c0cac0ec6a8f3c8f85a18987ddb942
github.com/...ommit/30a8f0470e0ba45e6be9c9f55220f4a9a6b91c99
www.vulncheck.com/...at-ssrf-via-fal-ai-media-status-polling