what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Viscosity Open VPN 2.3 Privilege Escalation

Viscosity Open VPN 2.3 Privilege Escalation
Posted Dec 10, 2016
Authored by Ajay Gowtham

Viscosity Open VPN version 2.3 suffers from an unquoted service path local privilege escalation vulnerability.

tags | exploit, local
SHA-256 | 7495934c9cb9ba454f006b7441246fee0d58b0da33e751aeb11f241269b40b3b

Viscosity Open VPN 2.3 Privilege Escalation

Change Mirror Download
# Title : Viscosity Open VPN 2.3 Privilege Escalation
# Date : 28/11/2016
# Author : Ajay Gowtham aka AJOXR
# Tested on : Windows 10 ( Latest version x64 bit)
# Software : https://www.sparklabs.com/downloads/Viscosity%20Installer.exe
# Vulnerability Description:
# When the Viscosity VPN software is installed a service with name
#ViscosityService is installed.
# The service itself has the right permissions which do not allow to
reconfigure #the binary
# but the path the binary is writable by any authenticated user.

[#] Product & Service Introduction:
===================================
Viscosity makes it easy for users new to VPNs to get started. Its clear and
intuitive interface makes creating, configuring, or importing connections a
snap. Read our detailed "Introduction to VPN" guide for an extensive
introduction to VPNs and how to get started using Viscosity.


[#] Technical Details & Description:
====================================
The application suffers from an unquoted search path issue in the official
Viscosity software. The issue allows authorized but unprivileged local
users to execute arbitrary code with system privileges on the active
system. The attack vector of the issue is local.

[#] Proof of Concept (PoC):
===========================
The issue can be exploited by local attackers with restricted system user
account or network access and without user interaction.
For security demonstration or to reproduce the vulnerability follow the
provided information and steps below to continue.

-----------------------------------------------POC------------------------------------------
C:\>sc qc ViscosityService
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: ViscosityService
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : "C:\Program
Files\Viscosity\ViscosityService.exe"
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Viscosity Service
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem

------------------------------------------------------------------------------------------------------
C:\Program Files\Viscosity>icacls "C:\Program Files\Viscosity"
C:\Program Files\Viscosity NT SERVICE\TrustedInstaller:(I)(F)
<------------Everyone Has Full Permissions
NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(I)(F)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
BUILTIN\Administrators:(I)(F)
BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
BUILTIN\Users:(I)(RX)
BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
CREATOR OWNER:(I)(OI)(CI)(IO)(F)
APPLICATION PACKAGE AUTHORITY\ALL APPLICATION
PACKAGES:(I)(RX)
APPLICATION PACKAGE AUTHORITY\ALL APPLICATION
PACKAGES:(I)(OI)(CI)(IO)(GR,GE)

Successfully processed 1 files; Failed processing 0 files

This exploit takes as a parameter an exe file that will replace the
ViscosityService.exe and will run with full privileges when the
service/computer is restarted.


[#] Vulnerability Disclosure Timeline:
======================================
2016-11-28 : Discovery of the Vulnerability
2016-12-04 : Contact the Vendor (No Response Support Team)
2016-12-12 : Public Disclosure

[#] Disclaimer:
===============
Permission is hereby granted for the redistribution of this advisory,
provided that it is not altered except by reformatting it, and that due
credit is given. Permission is explicitly given for insertion in
vulnerability databases and similar, provided that due credit is given to
the author.
The author is not responsible for any misuse of the information contained
herein and prohibits any malicious use of all security related information
or exploits by the author or elsewhere.
Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    27 Files
  • 13
    Aug 13th
    18 Files
  • 14
    Aug 14th
    50 Files
  • 15
    Aug 15th
    33 Files
  • 16
    Aug 16th
    23 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close