H2O Vulnerable to Denial of Service (DoS) via `/3/Parse` Endpoint
The /3/Parse endpoint builds a regular expression from a user-supplied string and applies it to another user-supplied string. By sending many simultaneous requests, an attacker can exhaust all available threads and cause a complete denial of service.
h2oai/h2o-3
Originally disclosed on huntr
A vulnerability in the /3/Parse endpoint of h2oai/h2o-3 version 3.46.0.1 allows for a denial of service (DoS) attack. The endpoint uses a user-specified string to construct a regular expression, which is then applied to another user-specified string. By sending multiple simultaneous requests, an attacker can exhaust all available threads, leading to a complete denial of service.
From the GitHub Advisory Database (GHSA-wwr9-4gmr-xvq9, 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 allows user-controlled input to be used as a regular expression without limiting its complexity or execution time, enabling catastrophic backtracking.
Impact
An attacker could exhaust all available threads and cause a complete denial of service.
What the attacker needed
Access to the /3/Parse endpoint; ability to send multiple simultaneous requests
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 regular expression is a pattern used to search text. If an attacker can control that pattern and make it very slow, the server spends a long time processing each request. Sending many such requests at once uses up all the server's worker threads, so normal users cannot be served.
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.