Skip to content
DoS Disclosed report Intermediate

Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability

The application processes multipart boundaries without authentication, allowing an attacker to cause resource exhaustion by appending extra characters to the boundary. This leads to high CPU and memory usage, making the service unavailable to legitimate users.

Kludex/python-multipart

Originally disclosed on huntr

A Denial of Service (DoS) vulnerability exists in open-webui/open-webui version 0.3.21. This vulnerability affects multiple endpoints, including /ollama/models/upload, /audio/api/v1/transcriptions, and /rag/api/v1/doc. The application processes multipart boundaries without authentication, leading to resource exhaustion. By appending additional characters to the multipart boundary, an attacker can cause the server to parse each byte of the boundary, ultimately leading to service unavailability. This vulnerability can be exploited remotely, resulting in high CPU and memory usage, and rendering the service inaccessible to legitimate users.

From the GitHub Advisory Database (GHSA-5ccf-884p-4jjq, 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 does not limit the length of the boundary string, causing excessive processing for each byte.

Impact

An attacker could remotely cause high CPU and memory usage, rendering the service inaccessible to legitimate users.

What the attacker needed

No authentication required; network access to the endpoints

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 unavailable to normal users. Here, the server reads uploaded files in parts separated by a 'boundary' marker. By making that marker very long, the attacker forces the server to do a lot of unnecessary work, using up its processing power and memory until it can no longer respond.

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.