Bug 1413929 (CVE-2016-9602)

Summary: CVE-2016-9602 Qemu: 9p: virtfs allows guest to access host filesystem
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: carnil, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qemu 2.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:05:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1413945, 1525813    
Bug Blocks: 1403761    
Attachments:
Description Flags
Proposed upstream patch v1 none

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

Reference:
----------
  -> 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
Acknowledgments:

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]