Skip to content
Path traversal Advisory Intermediate CVE-2022-21394

Oracle VirtualBox TFTP Server Directory Traversal Information Disclosure Vulnerability

The TFTP server in Oracle VirtualBox does not properly validate a user-supplied path before using it in file operations. A local attacker with low-privileged code execution on the guest system could disclose sensitive information in the context of the hypervisor.

Ryota Shiga Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows local attackers to disclose sensitive information on affected installations of Oracle VirtualBox. An attacker must first obtain the ability to execute low-privileged code on the target guest system in order to exploit this vulnerability.

Ryota Shiga(@Ga_ryo_) of Flatt Security, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

Impact

An attacker with low-privileged code execution on the guest could disclose sensitive information in the context of the hypervisor.

What the attacker needed

Low-privileged code execution on guest

The fix

Oracle has issued an update to correct this vulnerability.

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.

VirtualBox runs a small TFTP server that lets a guest machine fetch files from the host. The server takes a file path from the guest but does not check it properly, so a program inside the guest can ask for files outside the intended folder. This lets an attacker who already has limited access inside the guest read files that belong to the hypervisor.

What is Path traversal?

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

More by Ryota Shiga

View all

11 more disclosed reports, best first.

More from Zero Day Initiative

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.