FastChat Denial of Service vulnerability
The file upload feature mishandles form-data with an excessively large filename, causing the server to become overwhelmed and unavailable to legitimate users. An attacker can send such a request to cause a denial of service.
fschat
Originally disclosed on huntr
A Denial of Service (DoS) vulnerability exists in the file upload feature of lm-sys/fastchat version 0.2.36. The vulnerability is due to improper handling of form-data with a large filename in the file upload request. An attacker can exploit this by sending a payload with an excessively large filename, causing the server to become overwhelmed and unavailable to legitimate users.
From the GitHub Advisory Database (GHSA-79rp-v9rm-gxm8, 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 server does not limit or properly parse the filename length in multipart form-data, leading to resource exhaustion.
Impact
An attacker could cause the server to become overwhelmed and unavailable to legitimate users.
What the attacker needed
Access to file upload feature
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 denial-of-service attack makes a service stop working for normal users. Here, the file upload feature does not properly handle a very long filename, so sending one can overwhelm the server and make it unavailable.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.