Lucene search
K

iniNet SpiderControl SCADA Web Server Service 2.02 Insecure File Permissions

🗓️ 06 Dec 2015 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 47 Views

SpiderControl SCADA Web Server 2.02 Insecure File Permissions, Privilege Escalatio

Code
<html><body><p>iniNet SpiderControl SCADA Web Server Service 2.02 Insecure File Permissions


Vendor: iniNet Solutions GmbH
Product web page: http://www.spidercontrol.net
Affected version: 2.02.0000

Summary: Modular and automated engineering is provided for HMI and
SCADA. The tools are developed to join a large range of engineering
modules together quickly. We modularize our software, as the mechanics
of a system are modularized today. Easy to visualize with a few clicks.

Desc: SpiderControl SCADA Web Server Service suffers from an elevation
of privileges vulnerability which can be used by a simple user that can
change the executable file with a binary of choice. The vulnerability
exist due to the improper permissions, with the 'C' flag (Change) for
'Everyone' and 'Authenticated Users' group making the entire directory
'WWW' and its files and sub-dirs world-writable.

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-5284
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2015-5284.php


22.10.2015

--


C:\WWW&gt;dir
 Volume in drive C is Windows
 Volume Serial Number is 56F3-8688

 Directory of C:\WWW

22/10/2015  10:54    </p><dir>          .
22/10/2015  10:54    <dir>          ..
22/10/2015  10:55    <dir>          HMI
07/02/2008  23:41           147,968 libnodave.dll
22/10/2015  10:54    <dir>          Manual
07/07/2015  12:03         1,687,552 SCADAControlPanel.exe
07/07/2015  12:03           203,776 ScadaWindowsService.exe
22/10/2015  10:54             3,092 unins000.dat
22/10/2015  10:53           719,496 unins000.exe
07/07/2015  12:07           793,088 ZelsWebServ.dll
22/10/2015  10:54             1,546 ZelsWebServ.xml
22/10/2015  10:55            38,696 ZelsWebServ_log.txt
               8 File(s)      3,595,214 bytes
               4 Dir(s)  77,683,298,304 bytes free

C:\WWW&gt;cacls *.exe
C:\WWW\SCADAControlPanel.exe Everyone:C
                             BUILTIN\Administrators:(ID)F
                             NT AUTHORITY\SYSTEM:(ID)F
                             BUILTIN\Users:(ID)R
                             NT AUTHORITY\Authenticated Users:(ID)C

C:\WWW\ScadaWindowsService.exe Everyone:C
                               BUILTIN\Administrators:(ID)F
                               NT AUTHORITY\SYSTEM:(ID)F
                               BUILTIN\Users:(ID)R
                               NT AUTHORITY\Authenticated Users:(ID)C

C:\WWW\unins000.exe BUILTIN\Administrators:(ID)F
                    NT AUTHORITY\SYSTEM:(ID)F
                    BUILTIN\Users:(ID)R
                    NT AUTHORITY\Authenticated Users:(ID)C


---


C:\Users\joxy&gt;sc qc SCADAServer
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: SCADAServer
        TYPE               : 110  WIN32_OWN_PROCESS (interactive)
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\WWW\ScadaWindowsService.exe
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : SCADA Server
        DEPENDENCIES       :
        SERVICE_START_NAME : LocalSystem
</dir></dir></dir></dir></body></html>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation