# CVE-2024-27301: Privilege Escalation Abusing installer in SupportApp

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-14T18:37:04.240Z
- Modified: 2026-06-17T07:19:36.317Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- root3nl SupportApp: >= 2.3.1, < 2.5.1 Rev 2
- supportapp supportapp: from 2.3.1 before 2.5.2
- root3 support_app: from 2.3.1 before 2.5.1

## References

- <https://github.com/root3nl/SupportApp/security/advisories/GHSA-jr78-247f-rhqc> (exploit, vendor-advisory)
- <https://github.com/root3nl/SupportApp/commit/e866b2aa4028f6a982977f462c0f7550d952c5d0> (patch)

## Sources

- CVE List: [CVE-2024-27301](https://www.cve.org/CVERecord?id=CVE-2024-27301), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-27301](https://nvd.nist.gov/vuln/detail/CVE-2024-27301), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27301 · Whole record: https://cve.day/CVE-2024-27301.json · Rebuilt by cve.day 2026-11-25T22:58:37.571Z
