← Advisories

ACROS Security 0patch (0PatchServicex64.exe) Unquoted Service Path Privilege Escalation

Low
Advisory ID
ZSL-2016-5331
Release Date
20 June 2016
Vendor
ACROS, d.o.o. - https://www.0patch.com
Affected Version
2016.05.19.539
CVE
N/A
Tested On
Microsoft Windows 7 Ultimate SP1 (EN), Microsoft Windows 7 Professional SP1 (EN)
Summary

0patch (pronounced 'zero patch') is a platform for instantly distributing, applying and removing microscopic binary patches to/from running processes without having to restart these processes (much less reboot the entire computer).

Description

The application suffers from an unquoted search path issue impacting the service '0patchservice' for Windows deployed as part of 0patch solution. This could potentially allow an authorized but non-privileged local user to execute arbitrary code with elevated privileges on the system. A successful attempt would require the local user to be able to insert their code in the system root path undetected by the OS or other security applications where it could potentially be executed during application startup or reboot. If successful, the local user’s code would execute with the elevated privileges of the application.

Proof of Concept
Disclosure Timeline
08.06.2016Vulnerability discovered.
08.06.2016Contact with the vendor.
08.06.2016Vendor replies asking more details.
09.06.2016Sent details to the vendor.
09.06.2016Vendor confirms the issue, assigning Bug ID:419 internally.
13.06.2016Vendor fixes the issue internally scheduling patch release date.
20.06.2016Vendor releases version 2016.06.14.850 to address this issue.
20.06.2016Coordinated public security advisory released.
Credits
Vulnerability discovered by Gjoko Krstic
High five to Mitja!
References
Changelog
20.06.2016Initial release
24.06.2016Added reference [4]
25.06.2016Added reference [5]