vendor:
Arq Backup
by:
m4rkw
7,2
CVSS
HIGH
Local Root Privilege Escalation
264
CWE
Product Name: Arq Backup
Affected Version From: Before 5.9.7
Affected Version To: 5.9.6
Patch Exists: YES
Related CWE: N/A
CPE: a:haystack_software:arq_backup
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: macOS
2020
Arq Backup from Haystack Software Local Root Privilege Escalation Exploit
Arq Backup from Haystack Software versions of mac before 5.9.7 are vulnerable to a local root privilege escalation exploit. The updater binary has a 'setpermissions' function which sets the suid bit and root ownership on itself but it suffers from a race condition that allows you to swap the destination for these privileges using a symlink. We can exploit this to get +s and root ownership on any arbitrary binary.
Mitigation:
Upgrade to Arq 5.9.7 or later.