Privacyware Privatefirewall 7.0 Unquoted Service Path Privilege Escalation

Title: Privacyware Privatefirewall 7.0 Unquoted Service Path Privilege Escalation
Advisory ID: ZSL-2014-5209
Type: Local/Remote
Impact: Privilege Escalation
Risk: (2/5)
Release Date: 21.11.2014
Summary
Privatefirewall multi-layered endpoint security software protects 32 and 64 bit Windows desktops and servers from malware and unauthorized use. Personal firewall, packet inspection, URL filtering, anti-logger, process monitor, and application/system behavior modeling and anomaly detection components stop hackers, spyware, viruses and other forms of malware before they can cause damage.
Description
Privatefirewall suffers from an unquoted search path issue impacting the Core Service 'PFNet' service for Windows deployed as part of Privatefirewall bundle. 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.
Vendor
PWI, Inc. - http://www.privacyware.com
Affected Version
7.0.30.3
Tested On
Microsoft Windows 7 Professional SP1 (EN)
Microsoft Windows 7 Ultimate SP1 (EN)
Vendor Status
[09.11.2014] Vulnerability discovered.
[12.11.2014] Vendor contacted.
[20.11.2014] No response from the vendor.
[21.11.2014] Public security advisory released.
PoC
privfw_usp.txt
Credits
Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>
References
[1] http://cxsecurity.com/issue/WLB-2014110147
[2] http://packetstormsecurity.com/files/129224
[3] http://www.exploit-db.com/exploits/35322/
[4] http://www.securityfocus.com/bid/71249
[5] http://xforce.iss.net/xforce/xfdb/98910
[6] http://osvdb.org/show/osvdb/115001
Changelog
[21.11.2014] - Initial release
[22.11.2014] - Added reference [1], [2] and [3]
[24.11.2014] - Added reference [4]
[25.11.2014] - Added reference [5] and [6]
Contact
Zero Science Lab

Web: http://www.zeroscience.mk
e-mail: lab@zeroscience.mk