Quivr unauthenticated Denial of Service (DoS) via Multipart Boundary
The file upload endpoint mishandled multipart boundaries, causing the server to process each appended character indefinitely. An unauthenticated attacker could send a crafted request to exhaust server resources and make the service unavailable for all users.
QuivrHQ/quivr
Originally disclosed on huntr
A Denial of Service (DoS) vulnerability in the file upload feature of stangirard/quivr v0.0.298 allows unauthenticated attackers to cause excessive resource consumption by appending characters to the end of a multipart boundary in an HTTP request. This leads to the server continuously processing each character, rendering the service unavailable and impacting all users.
From the GitHub Advisory Database (GHSA-m76r-xqqj-mqmv, 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 multipart parser did not enforce a limit or properly detect the end of the boundary, so it continued processing appended characters.
Impact
The service could become unavailable for all users due to excessive resource consumption.
What the attacker needed
No authentication required; ability to send HTTP requests
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 multipart boundary is a line of text that separates parts of a file upload request. The server here did not handle extra characters added to that boundary correctly, so it kept working on each character without stopping. An attacker could send such a request without logging in and tie up the server, so normal users could not use the service.
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.