DB-GPT Uncontrolled Resource Consumption vulnerability
The server does not properly handle multipart request boundaries with excessive trailing characters, causing an infinite loop. An unauthenticated attacker can exploit this to consume excessive resources and deny service to all users.
dbgpt
Originally disclosed on huntr
A Denial of Service (DoS) vulnerability in the multipart request boundary processing mechanism of eosphoros-ai/db-gpt v0.6.0 allows unauthenticated attackers to cause excessive resource consumption. The server fails to handle excessive characters appended to the end of multipart boundaries, leading to an infinite loop and complete denial of service for all users. This vulnerability affects all endpoints processing multipart/form-data requests.
From the GitHub Advisory Database (GHSA-6xgj-c5fx-5v57, 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 boundary parser does not limit the length of trailing characters, causing an infinite loop when excessive characters are appended.
Impact
An unauthenticated attacker could cause complete denial of service for all users by sending a crafted multipart request.
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.
A denial-of-service (DoS) attack makes a service unavailable to legitimate users. Here, the server gets stuck in an endless loop when it receives a specially crafted file upload request, using up resources and preventing anyone else from using 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.