Bug 1413929 (CVE-2016-9602) - CVE-2016-9602 Qemu: 9p: virtfs allows guest to access host filesystem
Summary: CVE-2016-9602 Qemu: 9p: virtfs allows guest to access host filesystem
Alias: CVE-2016-9602
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1413945 1525813
Blocks: 1403761
TreeView+ depends on / blocked
Reported: 2017-01-17 10:57 UTC by Prasad Pandit
Modified: 2021-02-17 02:46 UTC (History)
2 users (show)

Fixed In Version: qemu 2.9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-06-08 03:05:36 UTC

Attachments (Terms of Use)
Proposed upstream patch v1 (1.69 KB, patch)
2017-01-17 11:01 UTC, Prasad Pandit
no flags Details | Diff

Description Prasad Pandit 2017-01-17 10:57:42 UTC
Quick Emulator(Qemu) built with the VirtFS, host directory sharing via Plan 9
File System(9pfs) support, is vulnerable to an improper link following issue.
It could occur while accessing symbolic link files on a shared host directory.

A privileged user inside guest could use this flaw to access host file system
beyond the shared folder and potentially escalating their privileges on a host.

Upstream patches:
  -> https://lists.gnu.org/archive/html/qemu-devel/2017-01/msg06225.html
  -> https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg04347.html

  -> http://wiki.qemu.org/Documentation/9psetup
  -> http://www.openwall.com/lists/oss-security/2017/01/17/12

Comment 1 Prasad Pandit 2017-01-17 10:57:50 UTC

Name: Jann Horn (Google Project Zero)

Comment 2 Prasad Pandit 2017-01-17 11:01:50 UTC
Created attachment 1241674 [details]
Proposed upstream patch v1

Comment 3 Prasad Pandit 2017-01-17 12:12:51 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1413945]

Note You need to log in before you can comment on or make changes to this bug.