[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Samsung SW Update Service Privilege Escalation Vulnerability

Author
Yunus YILDIRIM
Risk
[
Security Risk High
]
0day-ID
0day-ID-26299
Category
web applications
Date add
10-11-2016
Platform
windows
# Exploit Title: Samsung SW Update Service Unquoted Service Path Privilege Escalation
# Date: 04/10/2016
# Author: Yunus YILDIRIM (Th3GundY)
# Team: CT-Zer0 (@CRYPTTECH) && Superbug (@xsuperbug)
# Website: http://yildirimyunus.com
# Contact: yunusyildirim@protonmail.com
# Category: local
# Vendor Homepage: http://www.samsung.com
# Software Link: http://downloadcenter.samsung.com/content/SW/201608/20160825024052515/SWUpdate_2.2.8.28.ZIP
# Version: Affected Software Version < 2.2.8.30
# Tested on: Windows 7 x86/x64 & Windows 10 x64/x86

1. Description

Samsung Software Update Service, SWUpdateService (SWMAgent.exe), installs as a service with 
an unquoted service path running with SYSTEM privileges.
This could potentially allow an authorized but non-privileged local
user to execute arbitrary code with elevated privileges on the system.


2. Proof of Concept

C:\>sc qc SWUpdateService
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: SWUpdateService
  TYPE               : 110  WIN32_OWN_PROCESS (interactive)
  START_TYPE         : 2   AUTO_START
  ERROR_CONTROL      : 1   NORMAL
  BINARY_PATH_NAME   : C:\ProgramData\Samsung\SW Update Service\SWMAgent.exe /SERVICE
  LOAD_ORDER_GROUP   :
  TAG                : 0
  DISPLAY_NAME       : SW Update Service
  DEPENDENCIES       :
  SERVICE_START_NAME : LocalSystem 


3. Exploit:
 
A successful attempt would require the local attacker must insert an executable file
in the path of the service.
Upon service restart or system reboot, the malicious code will be run with elevated privileges.


Vulnerability Disclosure Timeline:
=========================
04/10/2016   -   Contact With Vendor
04/10/2016   -   Vendor Response
18/10/2016   -   Release Fixed Version


Additional notes :
=========================
Fixed version 2.2.8.30

#  0day.today [2024-11-15]  #