H2O Vulnerable to Denial of Service (DoS) via `/3/ImportFiles` Endpoint
The `/3/ImportFiles` endpoint accepts a `path` parameter that can be set to reference the endpoint itself, causing recursive self-calls. This fills the request queue and prevents the server from handling other requests, resulting in a denial of service.
h2oai/h2o-3
Originally disclosed on huntr
A vulnerability in the /3/ImportFiles endpoint of h2oai/h2o-3 version 3.46.1 allows an attacker to cause a denial of service. The endpoint takes a single GET parameter, path, which can be recursively set to reference itself. This leads the server to repeatedly call its own endpoint, eventually filling up the request queue and leaving the server unable to handle other requests.
From the GitHub Advisory Database (GHSA-p2vc-m5fv-9w9m, 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 endpoint does not validate or restrict the `path` parameter, allowing it to point to the endpoint itself and trigger unbounded recursive requests.
Impact
An attacker could cause a denial of service, leaving the server unable to handle other requests.
What the attacker needed
Access to the `/3/ImportFiles` endpoint
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 web server has a feature that lets you tell it to fetch a file from a path. If you give it a path that points back to the same feature, it keeps asking itself to fetch again and again. This endless loop uses up all the server's capacity to answer requests, so normal users cannot use the site.
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.