Skip to content
Path traversal Disclosed report Intermediate CVE-2023-6569

External Control of File Name or Path in h2oai/h2o-3

The h2o-3 server allows remote unauthenticated attackers to overwrite arbitrary files on the server with partially attacker-controlled data. The data is limited because it is wrapped in CSV quoting and starts with a fixed prefix.

h2oai/h2o-3

Originally disclosed on huntr

Critical View original

Remote unauthenticated attackers can overwrite arbitrary server files with attacker-controllable data. The data that the attacker can control is not entirely arbitrary. h2o writes a CSV/XLS/etc file to disk, so the attacker data is wrapped in quotations and starts with "C1", if they're exporting as CSV.

From the GitHub Advisory Database (GHSA-gqrq-j6pm-98c2, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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

Root cause

Likely the server accepts a user-supplied file path for export operations without validating or restricting it to a safe directory.

What the attacker needed

Network access to the h2o-3 server; no authentication required

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 file path is like an address telling the server where to save a file. If the server does not check that address, an attacker can change it to point to an important system file and replace that file with their own content. Here the attacker can only write data that looks like a CSV export, so the damage is limited but still serious.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from h2oai/h2o-3

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.