Skip to main content
← All vulnerabilities
CVE-2023-3494

bhyve privileged guest escape via fwctl

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 13.2-RELEASE-p2, 13.1-RELEASE-p9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

The fwctl driver implements a state machine which is executed when a bhyve guest accesses certain x86 I/O ports. The interface lets the guest copy a string into a buffer resident in the bhyve process' memory. A bug in the state machine implementation can result in a buffer overflowing when copying this string. Malicious, privileged software running in a guest VM can exploit the buffer overflow to achieve code execution on the host in the bhyve userspace process, which typically runs as root, mitigated by the capabilities assigned through the Capsicum sandbox available to the bhyve process.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 13.2-RELEASE · fixed in 13.2-RELEASE-p2; From 13.1-RELEASE · fixed in 13.1-RELEASE-p9

References 2

security.freebsd.org

security.netapp.com