Skip to content
DoS Disclosed report Intermediate

Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability in api/chat/file

A malformed multipart boundary with many trailing characters causes the server to process each character continuously, leading to a denial of service. This makes the application inaccessible to all users until the server recovers.

Kludex/python-multipart

Originally disclosed on huntr

A vulnerability in open-webui/open-webui version 79778fa allows an attacker to cause a Denial of Service (DoS) by uploading a file with a malformed multipart boundary. By appending a large number of characters to the end of the multipart boundary, the server continuously processes each character, rendering the application inaccessible. This issue can prevent all users from accessing the application until the server recovers.

From the GitHub Advisory Database (GHSA-6wj5-5pgr-jwq8, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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 processes the boundary character by character without a length limit, so an oversized boundary consumes excessive server resources.

Impact

An attacker could make the application inaccessible to all users until the server recovers.

What the attacker needed

Ability to send a file upload request

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.

When you upload a file, your browser splits the data into parts using a boundary marker. If an attacker sends a boundary with a huge number of extra characters, the server spends a very long time reading them one by one. This keeps the server busy and stops other people from using the application.

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.

More from Kludex/python-multipart

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.