H2O Vulnerable to Denial of Service (DoS) via `/3/ParseSetup` Endpoint
The /3/ParseSetup endpoint applies a user-supplied regular expression to a user-controlled string, allowing an attacker to trigger inefficient regex complexity. This can exhaust server resources and make the server unresponsive.
h2oai/h2o-3
Originally disclosed on huntr
A vulnerability in the /3/ParseSetup endpoint of h2oai/h2o-3 version 3.46.0.1 allows for a denial of service (DoS) attack. The endpoint applies a user-specified regular expression to a user-controllable string. This can be exploited by an attacker to cause inefficient regular expression complexity, leading to the exhaustion of server resources and making the server unresponsive.
From the GitHub Advisory Database (GHSA-7qq7-pvm9-x8rf, 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
Impact
An attacker could exhaust server resources and make the server unresponsive.
What the attacker needed
Access to the /3/ParseSetup 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 regular expression is a pattern used to search text. Some patterns take a very long time on certain inputs, and here an attacker can supply both the pattern and the text. By choosing a slow pattern, they can keep the server busy and stop it responding to others.
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.