Miggo Logo

CVE-2024-7768: H2O Vulnerable to Denial of Service (DoS) via `/3/ImportFiles` Endpoint

7.5

CVSS Score
3.0

Basic Information

EPSS Score
0.35596%
Published
3/20/2025
Updated
3/20/2025
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
h2opip
ai.h2o:h2o-coremaven

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the handling of the 'path' parameter in the /3/ImportFiles endpoint. The ImportFilesHandler.importFiles method is directly responsible for processing this parameter and initiating file imports. By not validating that the provided path doesn't reference the vulnerable endpoint itself, it allows recursive calls that exhaust server resources. The code structure shown in the provided Java file confirms the lack of safeguards around path validation before processing.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

* vuln*r**ility in t** `/*/Import*il*s` *n*point o* **o*i/**o-* v*rsion *.**.* *llows *n *tt**k*r to **us* * **ni*l o* s*rvi**. T** *n*point t*k*s * sin*l* **T p*r*m*t*r, `p*t*`, w*i** **n ** r**ursiv*ly s*t to r***r*n** its*l*. T*is l***s t** s*rv*r

Reasoning

T** vuln*r**ility st*ms *rom t** **n*lin* o* t** 'p*t*' p*r*m*t*r in t** /*/Import*il*s *n*point. T** Import*il*s**n*l*r.import*il*s m*t*o* is *ir**tly r*sponsi*l* *or pro**ssin* t*is p*r*m*t*r *n* initi*tin* *il* imports. *y not v*li**tin* t**t t**