Bug 1728564 (CVE-2019-12448)

Summary: CVE-2019-12448 gvfs: race condition in daemon/gvfsbackendadmin.c due to admin backend not implementing query_info_on_read/write
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: oholy, rschiron
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gvfs 1.41.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:33:17 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: 1728566, 1754505, 1754506, 1754507    
Bug Blocks: 1728569    

Description Dhananjay Arunesh 2019-07-10 07:22:14 UTC
An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c has race conditions because the admin backend doesn't implement query_info_on_read/write.

Reference:
https://gitlab.gnome.org/GNOME/gvfs/commit/5cd76d627f4d1982b6e77a0e271ef9301732d09e

Comment 1 Dhananjay Arunesh 2019-07-10 07:22:29 UTC
Created gvfs tracking bugs for this issue:

Affects: fedora-all [bug 1728566]

Comment 2 Riccardo Schirone 2019-09-20 11:44:13 UTC
Reference:
https://www.openwall.com/lists/oss-security/2019/07/09/3

Comment 5 Riccardo Schirone 2019-09-23 12:46:07 UTC
The race condition allows an attacker to copy/move a secret file abusing the fact that query_info_on_read/write methods are not implemented in the admin backend. The attacker can get read/write access to a copied file through this flaw.

Comment 7 errata-xmlrpc 2020-04-28 15:50:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:1766 https://access.redhat.com/errata/RHSA-2020:1766

Comment 8 Product Security DevOps Team 2020-04-28 16:33:17 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-12448