CVE-2023-6038
Local File Inclusion in h2oai/h2o-3
Record summary
CVE-2023-6038 has a selected CVSS score of 7.5 (high); EIP currently links 1 Nuclei template.
Description
A Local File Inclusion (LFI) vulnerability exists in the h2o-3 REST API, allowing unauthenticated remote attackers to read arbitrary files on the server with the permissions of the user running the h2o-3 instance. This issue affects the default installation and does not require user interaction. The vulnerability can be exploited by making specific GET or POST requests to the ImportFiles and ParseSetup endpoints, respectively. This issue was identified in version 3.40.0.4 of h2o-3.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Jan 22, 2024 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Aug 29, 2024 · Source: CVE List
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
| VulnCheck | Version data not supplied | ||
h2oai/h2o-3Browse h2oai / h2oai/h2o-3 | CVE List | Through latest | affected |
ai.h2o:h2o-coreBrowse Maven / ai.h2o:h2o-core | GitHub Advisory | Through 3.40.0.4 | affected |
Nuclei templates
1ProjectDiscoveryHIGHH2O ImportFiles - Local File InclusionCVSS 7.5
An attacker is able to read any file on the server hosting the H2O dashboard without any authentication.
Impact
Unauthenticated attackers can read any file on the server via the ImportFiles endpoint, potentially exposing sensitive data including database contents and application code.
Remediation
Update H2O to a version that implements proper authentication and authorization controls for the ImportFiles endpoint.
Source: ProjectDiscovery