CVE-2019-12449
published 2019-05-29CVE-2019-12449: An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c mishandles a file's user and group ownership during move (and copy with…
PriorityP431medium5.7CVSS 3.1
AVNACLPRLUIRSUCHINAN
EPSS
1.84%
76.8th percentile
An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c mishandles a file's user and group ownership during move (and copy with G_FILE_COPY_ALL_METADATA) operations from admin:// to file:// URIs, because root privileges are unavailable.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | gvfs | < gvfs 1.38.1-4 (bookworm) | gvfs 1.38.1-4 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| gnome | gvfs | >= 0 < 1.38.1-4 | 1.38.1-4 |
| gnome | gvfs | >= 0 < 1.38.1-4 | 1.38.1-4 |
| gnome | gvfs | >= 0 < 1.38.1-4 | 1.38.1-4 |
| gnome | gvfs | >= 0 < 1.38.1-4 | 1.38.1-4 |
| gnome | gvfs | >= 0 < 1.28.2-1ubuntu1~16.04.3 | 1.28.2-1ubuntu1~16.04.3 |
| gnome | gvfs | >= 0 < 1.36.1-0ubuntu1.3.3 | 1.36.1-0ubuntu1.3.3 |
| gnome | gvfs | 1.29.4 – 1.41.2 | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.15.7MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
nvdv2.03.5LOWAV:N/AC:M/Au:S/C:P/I:N/A:N
osv7.3HIGH
vendor_ubuntu7.3HIGH
vendor_debian5.7MEDIUM
vendor_redhat5.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
GVfs vulnerabilities
vendor_ubuntu·2019-07-09·CVSS 7.3
CVE-2019-12447 [HIGH] GVfs vulnerabilities
Title: GVfs vulnerabilities
Summary: Several security issues were fixed in GVfs.
It was discovered that GVfs incorrectly handled the admin backend. Files
created or moved by the admin backend could end up with the wrong ownership
information, contrary to expectations. This issue only affected Ubuntu
18.04 LTS, Ubuntu 18.10, and Ubuntu 19.04. (CVE-2019-12447, CVE-2019-12448,
CVE-2019-12449)
It was discovered that GVfs incorrectly handled authentication on its
private D-Bus socket. A local attacker could possibly connect to this
socket and issue D-Bus calls. (CVE-2019-12795)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges
vendor_redhat·2019-05-29·CVSS 5.7
CVE-2019-12449 [MEDIUM] CWE-282 gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges
gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges
An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c mishandles a file's user and group ownership during move (and copy with G_FILE_COPY_ALL_METADATA) operations from admin:// to file:// URIs, because root privileges are unavailable.
Package: gvfs (Red Hat Enterprise Linux 6) - Not affected
Package: gvfs (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2019-12449: gvfs - An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackenda...
vendor_debian·2019·CVSS 5.7
CVE-2019-12449 [MEDIUM] CVE-2019-12449: gvfs - An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackenda...
An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c mishandles a file's user and group ownership during move (and copy with G_FILE_COPY_ALL_METADATA) operations from admin:// to file:// URIs, because root privileges are unavailable.
Scope: local
bookworm: resolved (fixed in 1.38.1-4)
bullseye: resolved (fixed in 1.38.1-4)
forky: resolved (fixed in 1.38.1-4)
sid: resolved (fixed in 1.38.1-4)
trixie: resolved (fixed in 1.38.1-4)
GHSA
GHSA-cvf3-3jj2-mv9f: An issue was discovered in GNOME gvfs 1
ghsa_unreviewed·2022-05-24
CVE-2019-12449 [LOW] GHSA-cvf3-3jj2-mv9f: An issue was discovered in GNOME gvfs 1
An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c mishandles a file's user and group ownership during move (and copy with G_FILE_COPY_ALL_METADATA) operations from admin:// to file:// URIs, because root privileges are unavailable.
OSV
gvfs vulnerabilities
osv·2019-07-09·CVSS 7.3
CVE-2019-12447 [HIGH] gvfs vulnerabilities
gvfs vulnerabilities
It was discovered that GVfs incorrectly handled the admin backend. Files
created or moved by the admin backend could end up with the wrong ownership
information, contrary to expectations. This issue only affected Ubuntu
18.04 LTS, Ubuntu 18.10, and Ubuntu 19.04. (CVE-2019-12447, CVE-2019-12448,
CVE-2019-12449)
It was discovered that GVfs incorrectly handled authentication on its
private D-Bus socket. A local attacker could possibly connect to this
socket and issue D-Bus calls. (CVE-2019-12795)
OSV
CVE-2019-12449: An issue was discovered in GNOME gvfs 1
osv·2019-05-29·CVSS 5.7
CVE-2019-12449 [MEDIUM] CVE-2019-12449: An issue was discovered in GNOME gvfs 1
An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c mishandles a file's user and group ownership during move (and copy with G_FILE_COPY_ALL_METADATA) operations from admin:// to file:// URIs, because root privileges are unavailable.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-12449 gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges
bugzilla·2019-07-10·CVSS 5.7
CVE-2019-12449 [MEDIUM] CVE-2019-12449 gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges
CVE-2019-12449 gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges
An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c mishandles a file's user and group ownership during move (and copy with G_FILE_COPY_ALL_METADATA) operations from admin:// to file:// URIs, because root privileges are unavailable.
Upstream commit:
https://gitlab.gnome.org/GNOME/gvfs/commit/d5dfd823c94045488aef8727c553f1e0f7666b90
Discussion:
Created gvfs tracking bugs for this issue:
Affects: fedora-all [bug 1728568]
---
When copying a file from admin:// to file://, the target file is owned by the regular user instead of being owned by root. This could become an issue because the regular user may get access to
Bugzilla
CVE-2019-12449 gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges [fedora-all]
bugzilla·2019-07-10·CVSS 5.7
CVE-2019-12449 [MEDIUM] CVE-2019-12449 gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges [fedora-all]
CVE-2019-12449 gvfs: mishandling of file's user and group ownership in daemon/gvfsbackendadmin.c due to unavailability of root privileges [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fed
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00008.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00009.htmlhttp://www.openwall.com/lists/oss-security/2019/07/09/3https://gitlab.gnome.org/GNOME/gvfs/commit/409619412e11be146a31b9a99ed965925f1aabb8https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FP6BFQUPQRVRRFIYHFWWB6RHJNEB4LGQ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2DQVOL5H5BVLXYCEB763DCIYJQ7ZUQ2/https://usn.ubuntu.com/4053-1/http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00008.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00009.htmlhttp://www.openwall.com/lists/oss-security/2019/07/09/3https://gitlab.gnome.org/GNOME/gvfs/commit/409619412e11be146a31b9a99ed965925f1aabb8https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FP6BFQUPQRVRRFIYHFWWB6RHJNEB4LGQ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2DQVOL5H5BVLXYCEB763DCIYJQ7ZUQ2/https://usn.ubuntu.com/4053-1/
2019-05-29
Published