An attacker can pre-create the `/Applications/Google\ Drive.app/Contents/MacOS` directory which is expected to be owned by root to be owned by a non-root user. When the Drive for Desktop installer is run for the first time, it will place a binary in that directory with execute permissions and set its setuid bit. Since the attacker owns the directory, the attacker can replace the binary with a symlink, causing the installer to set the setuid bit on the symlink. When the symlink is executed, it will run with root permissions. We recommend upgrading past version 64.0
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published: 2022-10-17T00:00:00

Updated: 2024-08-03T01:07:06.543Z

Reserved: 2022-10-07T00:00:00

Link: CVE-2022-3421

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-10-17T20:15:09.853

Modified: 2022-10-19T18:10:01.507

Link: CVE-2022-3421

cve-icon Redhat

No data.