CVE-2022-21620
High · 7.5CVSS
7.5
EPSS
0.4%
Published
Oct 18, 2022
CISA due date
—
Cloudanix analysis
A flaw in virtualization software could let a trusted user already logged into the host computer take over the virtualization tool and affect other systems running on it.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- High
- Impact
- Full Compromise
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Local high-privileged attacker with host logon can exploit a difficult-to-reach flaw in the VirtualBox core to achieve full takeover of the VirtualBox process with scope change impacting other products.
Why it matters to the business
Successful exploitation can allow compromise of virtualized workloads and the virtualization platform itself, increasing risk of data exposure or service disruption in environments relying on this virtualization software; low exploit likelihood and no known active campaigns reduce immediate urgency despite the age of the issue.
How an attack unfolds
An attacker with administrative access on the host system crafts specific inputs or conditions to trigger the flaw during VirtualBox operation, bypassing isolation controls to execute arbitrary code within the VirtualBox process and gain control over guest and host interactions.
How to fix it
Upgrade Oracle VM VirtualBox to version 6.1.40 or later. For any PHP-related components in the environment, apply the listed fixes such as php7.4 7.4.21-1+deb11u1 on Debian 11 or php5 5.5.9+dfsg-1ubuntu4.29+esm14 on Ubuntu 14.04 LTS.
How to confirm the fix worked
Verify the installed VirtualBox version is at least 6.1.40 using the product version command or UI; confirm no vulnerable prior versions remain in the infrastructure.
Typical attack path
- Obtain high-privileged logon on the host running VirtualBox
- Prepare and execute a local attack leveraging the core component flaw
- Trigger the vulnerability to escalate privileges within VirtualBox
- Achieve takeover allowing impact on confidentiality, integrity, and availability with scope change
How to detect it
Examine host logs for unusual VirtualBox process behavior or privilege changes initiated by high-privileged accounts; review audit trails for unexpected core component interactions post-authentication.
What your security team should do
- Prioritize patching VirtualBox installations to 6.1.40+ given the potential scope change impact
- Review and restrict high-privileged host access to minimize attack surface
- Monitor EPSS trend and re-evaluate if exploit maturity increases
The record
Vulnerability in the Oracle VM VirtualBox product of Oracle Virtualization (component: Core). Supported versions that are affected are Prior to 6.1.40. Difficult to exploit vulnerability allows high privileged attacker with logon to the infrastructure where Oracle VM VirtualBox executes to compromise Oracle VM VirtualBox. While the vulnerability is in Oracle VM VirtualBox, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in takeover of Oracle VM VirtualBox. CVSS 3.1 Base Score 7.5 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Mageia:8 | kmod-virtualbox | 0 | 6.1.40-1.mga8 |
| Mageia:8 | virtualbox | 0 | 6.1.40-1.mga8 |
| Ubuntu:16.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:18.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:20.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:22.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | virtualbox | 0 | No fix |
Related vulnerabilities
- CVE-2022-2602 io_uring UAF, Unix SCM garbage collection Also affects kmod-virtualbox
- CVE-2022-2586 It was discovered that a nft object or expression could reference a nft set on a… Also affects kmod-virtualbox
- CVE-2022-2588 It was discovered that the cls_route filter implementation in the Linux kernel would not… Also affects kmod-virtualbox
- CVE-2022-2585 It was discovered that when exec'ing from a non-leader thread, armed POSIX CPU timers… Also affects kmod-virtualbox
- CVE-2022-22942 The vmwgfx driver contains a local privilege escalation vulnerability that allows… Also affects kmod-virtualbox
- CVE-2023-34319 The fix for XSA-423 added logic to Linux'es netback driver to deal with a frontend… Also affects kmod-virtualbox
- CVE-2023-4147 A use-after-free flaw was found in the Linux kernel’s Netfilter functionality when adding… Also affects kmod-virtualbox
- CVE-2023-4004 A use-after-free flaw was found in the Linux kernel's netfilter in the way a user… Also affects kmod-virtualbox