Skip to content
Memory corruption Advisory Advanced CVE-2018-3293

Oracle VirtualBox crUnpackMap2d Integer Overflow Information Disclosure Vulnerability

The crUnpackMap2d method in Oracle VirtualBox fails to properly validate user-supplied data, leading to an integer overflow before buffer allocation. A local attacker with low-privileged code execution on the guest can disclose sensitive information and potentially execute code in the hypervisor context.

Root Object Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows local attackers to disclose sensitive information on vulnerable 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.

Root Object, 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

Root cause

Likely the crUnpackMap2d method does not validate the size of user-supplied data before using it in a calculation that allocates a buffer, allowing an integer overflow.

Impact

A local attacker with low-privileged code on the guest could disclose sensitive information and, in conjunction with other vulnerabilities, execute code in the hypervisor context.

What the attacker needed

Low-privileged code execution on guest

The fix

Oracle 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 is software that lets you run other operating systems in a window. A flaw in one of its internal functions means that a program running inside the virtual machine can send malformed data that causes a maths error (an integer overflow) when memory is reserved. This can leak private data from the host and, combined with other bugs, might let an attacker run code on the host.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Root Object

View all

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

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.