A vulnerability in the London Trust Media Private Internet Access (PIA) VPN Client v82 for macOS could allow an authenticated, local attacker to run arbitrary code with elevated privileges. The macOS binary openvpn_launcher.64 is setuid root. This binary creates /tmp/pia_upscript.sh when executed. Because the file creation mask (umask) is not reset, the umask value is inherited from the calling process. This value can be manipulated to cause the privileged binary to create files with world writable permissions. A local unprivileged user can modify /tmp/pia_upscript.sh during the connect process to execute arbitrary code as the root user.
References
Link | Resource |
---|---|
https://github.com/mirchr/security-research/blob/master/vulnerabilities/PIA/CVE-2019-12577.txt | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
AND |
|
Information
Published : 2019-07-11 13:15
Updated : 2021-09-08 10:22
NVD link : CVE-2019-12577
Mitre link : CVE-2019-12577
JSON object : View
CWE
CWE-732
Incorrect Permission Assignment for Critical Resource
Products Affected
apple
- macos
londontrustmedia
- private_internet_access_vpn_client