Skip to content
DoS Disclosed report Intermediate CVE-2024-9340

ZenML unauthenticated DoS via Multipart Boundry

The multipart request boundary processing mechanism in ZenML version 0.66.0 enters an infinite loop when a multipart request has arbitrary characters appended to the end of its boundary. An unauthenticated attacker could send such malformed requests to endpoints like the login and device authorisation APIs, causing excessive resource consumption and a complete denial of service for all users.

zenml-io/zenml

Originally disclosed on huntr

A Denial of Service (DoS) vulnerability in zenml-io/zenml version 0.66.0 allows unauthenticated attackers to cause excessive resource consumption by sending malformed multipart requests with arbitrary characters appended to the end of multipart boundaries. This flaw in the multipart request boundary processing mechanism leads to an infinite loop, resulting in a complete denial of service for all users. Affected endpoints include /api/v1/login and /api/v1/device_authorization.

From the GitHub Advisory Database (GHSA-6gmf-2369-c76c, 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 boundary parser does not correctly handle trailing arbitrary characters after the boundary, causing an infinite loop.

Impact

An unauthenticated attacker could cause a complete denial of service for all users by exhausting resources on affected endpoints.

What the attacker needed

No authentication required; network access to the API

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 is when an attacker makes a service so busy that normal users cannot use it. Here, the server gets stuck in an endless loop while reading a malformed file-upload-style request, so it never finishes and stops responding to everyone. The attacker does not need an account to do this.

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 zenml-io/zenml

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.