cve/2023/CVE-2023-29199.md

23 lines
1.3 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-29199](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29199)
![](https://img.shields.io/static/v1?label=Product&message=vm2&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%203.9.16%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-913%3A%20Improper%20Control%20of%20Dynamically-Managed%20Code%20Resources&color=brighgreen)
### Description
There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass `handleException()` and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context. A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version `3.9.16` of `vm2`.
### POC
#### Reference
- https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c
- https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985
#### Github
- https://github.com/3mpir3Albert/HTB_Codify
2024-06-10 07:22:43 +00:00
- https://github.com/jakabakos/vm2-sandbox-escape-exploits
2024-08-06 19:19:10 +00:00
- https://github.com/leesh3288/leesh3288
2024-05-25 21:48:12 +02:00
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/u-crew/vm2-test