mansk1es / CVE-2024-21111

Oracle VirtualBox Elevation of Privilege (Local Privilege Escalation) Vulnerability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2024-21111

Oracle VirtualBox Prior to 7.0.16 is vulnerable to Local Privilege Escalation via Symbolic Link Following leading to Arbitrary File Delete and Arbitrary File Move.

VirtualBox attempts to move log files as NT AUTHORITY\SYSTEM in C:\ProgramData\VirtualBox (which all users can write to) to backup themselves by an ordinal, but MAX 10 logs. VirtualBox will also try to delete the 11th log as NT AUTHORITY\SYSTEM exposing itself to 2 bugs that lead to privilege escalation. Finding this bug was very interesting :)

Arbitrary File Delete

VirtualBox_EoP_PoC_Del.mp4

Arbitrary File Move

VirtualBox_EoP_PoC_Move.mp4

Fun fact me and @filip_dragovic (Wh04m1001) found this bug each independently :D shout out to him!

Report Timeline

  • 19/3/2024 - Vulnerability Reported to Oracle
  • 21/3/2024 - Oracle Confirms Vulnerability
  • 13/4/2024 - Oracle Notified About Public Advisory
  • 16/4/2024 - CVE-2024-21111 Publicized && Public Advisory on Oracle Critical Patch Updates

About

Oracle VirtualBox Elevation of Privilege (Local Privilege Escalation) Vulnerability


Languages

Language:C++ 88.2%Language:C 11.8%