Lucene search
K

Serviio PRO 1.8 DLNA Media Streaming Server Local Privilege Escalation

🗓️ 03 May 2017 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 104 Views

Serviio PRO 1.8 DLNA Media Streaming Server Local Privilege Escalation. Unquoted search path issue allows local user to execute arbitrary code with elevated privileges. Improper permissions enable user to change executable file with a binary of choice

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2017-20218
15 Mar 202618:34
attackerkb
CNNVD
Serviio PRO 代码问题漏洞
16 Mar 202600:00
cnnvd
CVE
CVE-2017-20218
15 Mar 202618:34
cve
Cvelist
CVE-2017-20218 Serviio PRO 1.8 Local Privilege Escalation via Unquoted Path
15 Mar 202618:34
cvelist
EUVD
EUVD-2017-18930
16 Mar 202615:30
euvd
NVD
CVE-2017-20218
16 Mar 202614:17
nvd
OpenVAS
Microsoft Windows Unquoted Path Vulnerability (SMB Login)
23 Mar 201800:00
openvas
Positive Technologies
PT-2026-25736
16 Mar 202600:00
ptsecurity
Vulnrichment
CVE-2017-20218 Serviio PRO 1.8 Local Privilege Escalation via Unquoted Path
15 Mar 202618:34
vulnrichment
<html><body><p>Serviio PRO 1.8 DLNA Media Streaming Server Local Privilege Escalation


Vendor: Petr Nejedly | Six Lines Ltd
Product web page: http://www.serviio.org
Affected version: 1.8.0.0 PRO

Summary: Serviio is a free media server. It allows you to stream your media
files (music, video or images) to renderer devices (e.g. a TV set, Bluray player,
games console or mobile phone) on your connected home network.

Desc: The application suffers from an unquoted search path issue impacting the service
'Serviio' for Windows deployed as part of Serviio DLNA server 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.

Serviio also suffers from improper permissions which can be used by a simple authenticated user
that can change the executable file with a binary of choice. The vulnerability exist due to the
improper permissions, with the 'F' flag (Full) for 'Users' group, for the Serviio directory and
its sub-directories.


Tested on: Microsoft Windows 7 Professional SP1 (EN)
           Microsoft Windows 7 Ultimate SP1 (EN)


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2017-5405
Advisory URL: http://www.zeroscience.mk/en/vulnerability/ZSL-2017-5405.php

SSD Advisory: https://blogs.securiteam.com/index.php/archives/3094


12.12.2016

---


C:\&gt;sc qc Serviio
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: Serviio
        TYPE               : 110  WIN32_OWN_PROCESS (interactive)
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Program Files\Serviio\bin\ServiioService.exe
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : Serviio
        DEPENDENCIES       : HTTP
        SERVICE_START_NAME : LocalSystem

C:\&gt;icacls "C:\Program Files\Serviio\bin\ServiioService.exe"
C:\Program Files\Serviio\bin\ServiioService.exe BUILTIN\Users:(I)(F)
                                                NT AUTHORITY\SYSTEM:(I)(F)
                                                BUILTIN\Administrators:(I)(F)

Successfully processed 1 files; Failed processing 0 files

C:\&gt;
</p></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