Exploit database

Vulnerability

CVE-2023-30547

Sandbox Escape in vm2

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. There exists a vulnerability in exception sanitization of vm2 for versions up to 3.9.16, allowing attackers to raise an unsanitized host exception inside `handleException()` which can be used to escape the sandbox and run arbitrary code in host context. This vulnerability was patched in the release of version `3.9.17` of `vm2`. There are no known workarounds for this vulnerability. Users are advised to upgrade.

CVE Program

Exploit source choices

3 sources
rvzsec/cve-2023-30547
GH-141fdc508246884e3e0e25eabc5b4e03GitHubUnofficial GitHub sourcePreferred

PoC Exploit for VM2 Sandbox Escape Vulnerability

2023-12-102 files · 44 stars
cur1iosity/cve-2023-30547
GH-855e1eb445dadfb3b6d646cbcece4f3dGitHubUnofficial GitHub source

Tool for exploring CVE-2023-30547

2024-02-143 files · 1 stars
af7er9l0w/htb-codify
GH-0c2fab77da417af63268522cb43878d3GitHubUnofficial GitHub source

Initial foothold and privilege escalation for HTB Codify

2023-11-092 files · 0 stars