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.

Description source: CVE List

Exploitation context

Known exploitation

VulnCheck KEV
Listed · Jan 22, 2024 · VulnCheck
Reported exploitation
Observed · VulnCheck

Available material

Nuclei templates
1

CISA SSVC decision

ExploitationPoC
AutomatableYes
Technical impactPartial

CISA Coordinator · SSVC 2.0.3 · Evaluated Aug 29, 2024 · Source: CVE List

Affected products and versions

3
ProductSourceVersion rangeStatus
VulnCheckVersion data not supplied
CVE ListThrough latestaffected
GitHub AdvisoryThrough 3.40.0.4affected

Nuclei templates

1
ProjectDiscoveryHIGHH2O 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.

WeaknessesCWE-862
Authorsdanmcinerney, byt3bl33d3r
Template tagscvecve2023h2o-3h2omlvkevvuln
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CPE: cpe:2.3:a:h2o:h2o:-:*:*:*:*:*:*:*
Shodan: title:"H2O Flow"
Shodan: http.title:"h2o flow"
FOFA: title="h2o flow"
Google: intitle:"h2o flow"

Source: ProjectDiscovery

References

3