Support App is an opensource application specialized in managing Apple devices. It's possible to abuse a vulnerability inside the postinstall installer script to make the installer execute arbitrary code as root. The cause of the vulnerability is the fact that the shebang `#!/bin/zsh` is being used. When the installer is executed it asks for the users password to be executed as root. However, it'll still be using the $HOME of the user and therefore loading the file `$HOME/.zshenv` when the `postinstall` script is executed. An attacker could add malicious code to `$HOME/.zshenv` and it will be executed when the app is installed. An attacker may leverage this vulnerability to escalate privilege on the system. This issue has been addressed in version 2.5.1 Rev 2. All users are advised to upgrade. There are no known workarounds for this vulnerability.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-03-14T18:37:04.240Z

Updated: 2024-08-02T00:28:00.245Z

Reserved: 2024-02-22T18:08:38.875Z

Link: CVE-2024-27301

cve-icon Vulnrichment

Updated: 2024-08-02T00:28:00.245Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-14T19:15:50.680

Modified: 2024-11-21T09:04:16.860

Link: CVE-2024-27301

cve-icon Redhat

No data.