Vulnerability Note: VU#208577: Chocolatey Boxstarter is vulnerable to privilege escalation due to weak ACLs
Chocolatey Boxstarter fails to properly set ACLs, which can allow an unprivileged Windows user to be able to run arbitrary code with SYSTEM privileges.
The Chocolatey Boxstarter installer fails to set a secure access-control list (ACL) on the
C:ProgramDataBoxstarter directory, which is added to the system-wide PATH environment variable. A privilege escalation vulnerability is introduced since any location in the system-wide PATH environment variable may be used to load code that runs with privileges.
By placing a specially-crafted DLL file in the
C:ProgramDataBoxstarter directory, an unprivileged user may be able to execute arbitrary code with SYSTEM privileges on a Windows system with the vulnerable Boxstarter software installed. See DLL Search Order Hijacking for more details.
Apply an update
This vulnerability is addressed in Chocolatey Boxstarter version 2.13.0. Please see the security advisory for more details.
This vulnerability was reported by Will Dormann of the CERT/CC.
This document was written by Will Dormann.