CVE-2024-27301

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27301
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27301.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27301
Aliases
  • GHSA-jr78-247f-rhqc
Published
2024-03-14T18:37:04Z
Modified
2025-11-04T20:17:46.079435Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Privilege Escalation Abusing installer in SupportApp
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-269"
    ]
}
References

Affected packages

Git / github.com/root3nl/supportapp

Affected ranges

Type
GIT
Repo
https://github.com/root3nl/supportapp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*

v2.0
v2.0-20201113
v2.0-beta1
v2.0-rc1
v2.1
v2.2
v2.2.1
v2.3
v2.3.1
v2.4
v2.4-beta
v2.4.1
v2.4.2
v2.4.3
v2.4.3-beta
v2.4.3-beta2
v2.5
v2.5-rc1
v2.5-rc2
v2.5.1
v2.5.1-rev2