Lucene search
K

VirtualBox 5.2.6.r120293 - VM Escape

🗓️ 28 Aug 2018 00:00:00Reported by Reno RobertType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 78 Views

Oracle fixed VirtualBox CVE-2018-2844 VM Escape issu

Related
Code
ReporterTitlePublishedViews
Family
0day.today
VirtualBox 5.2.6.r120293 - VM Escape Exploit
11 Sep 201800:00
zdt
Circl
CVE-2018-2844
30 Aug 201817:24
circl
CNVD
Unspecified Vulnerability in Oracle VM VirtualBox (CNVD-2018-08444)
18 Apr 201800:00
cnvd
CVE
CVE-2018-2844
19 Apr 201800:00
cve
Cvelist
CVE-2018-2844
19 Apr 201800:00
cvelist
Debian CVE
CVE-2018-2844
19 Apr 201800:00
debiancve
EUVD
EUVD-2018-14699
7 Oct 202500:30
euvd
exploitpack
VirtualBox 5.2.6.r120293 - VM Escape
28 Aug 201800:00
exploitpack
Tenable Nessus
GLSA-201805-08 : VirtualBox: Multiple vulnerabilities
23 May 201800:00
nessus
Tenable Nessus
openSUSE Security Update : virtualbox (openSUSE-2018-389) (Optionsbleed)
24 Apr 201800:00
nessus
Rows per page
Oracle fixed some of the issues I reported in VirtualBox during the Oracle Critical Patch Update - April 2018. CVE-2018-2844 was an interesting double fetch vulnerability in VirtualBox Video Acceleration (VBVA) feature affecting Linux hosts. VBVA feature works on top of VirtualBox Host-Guest Shared Memory Interface (HGSMI), a shared memory implemented using Video RAM buffer. The VRAM buffer is at physical address 0xE0000000 

I didn't see such optimization in VirtualBox for Windows and OSX. Only Linux hosts are affected. 

Find a value in VBoxDD.so (assume as some fake jump table), which during relative address calculation will point into the 16MB shared VRAM buffer. For the proof-of-concept exploit fill the entire VRAM with NOP's and place the shellcode at the final pages of the mapping. No ASLR bypass is needed since the jump is relative. 

In the guest, add vboxvideo to /etc/modprobe.d/blacklist.conf. vboxvideo.ko driver has a custom allocator to manage VRAM memory and HGSMI guest side implementations. Blacklisting vboxvideo reduces activity on VRAM and keeps the payload intact. The exploit was tested with Ubuntu Server as Guest and Ubuntu Desktop as host running VirtualBox 5.2.6.r120293.

The proof-of-concept exploit code with process continuation and connect back over network can be found at virtualbox-cve-2018-2844

https://www.voidsecurity.in/2018/08/from-compiler-optimization-to-code.html
https://github.com/renorobert/virtualbox-cve-2018-2844

Download: https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/45372.zip

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation