Circutor PowerStudio SCADA 4.0.5 Unquoted Service Path Elevation Of Privilege
Vendor: CIRCUTOR SA
Product web page: http:/www.circutor.com
Affected version: PowerStudio SCADA 4.0.5 and OPC Server 1.4.1
Summary: CIRCUTOR's Electrical Energy Efficiency software (e3) is currently
called PowerStudio and encompasses all of the tools needed to manage your power
control equipment: from electricity, gas and water meters to reactive energy
compensation systems and powerful power analyzers.
Desc: The application suffers from an unquoted search path issue impacting the
services 'CircutorPowerStudioScadaServer' and 'CircutorPowerStudioServer' for
Windows deployed as part of PowerStudio Series. 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.
Tested on: Microsoft Windows 7 Professional SP1 (EN)
Microsoft Windows 7 Ultimate SP1 (EN)
Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
@zeroscience
Advisory ID: ZSL-2015-5281
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2015-5281.php
12.10.2015
--
C:Userseoleon>sc qc CircutorPowerStudioScadaServer
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: CircutorPowerStudioScadaServer
TYPE : 110 WIN32_OWN_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:Program Files (x86)CircutorPowerStudio ScadabinPwrStudio.exe
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : CircutorPowerStudioScadaServer
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
======
C:Userseoleon>sc qc CircutorPowerStudioServer
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: CircutorPowerStudioServer
TYPE : 110 WIN32_OWN_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:Program Files (x86)CircutorPowerStudiobinPwrStudio.exe
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : CircutorPowerStudioServer
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
C:Userseoleon>