Granny & Grandpa

less than 1 minute read

img

Port Scanning and General Enumeration (Nmap, Nikto)

Initial scan showed just 80 (HTTP) open

img

img

Gobuster returned nothing. Nikto had a bunch to say, but I’m starting to see a trend. WebDav in the nmap scan, WebDav in the nikto scan

img

Things we know

  • IIS 6.0
  • WebDav is enabled

Access (searchsploit, metasploit)

Searchsploit:

img

WebDav remote buffer overflow? There’s a python script, but I couldn’t get it to work. Let’s check out metasploit

img

That’s what we’re looking for!

img

img

And we’re in!


Privesc (metasploit, kitrap0d)

Running into issues with my shell and running post exploits. Something about insufficient privileges so I tried migrating to a different process

img

img

new process seems to work

use post/multi/recon/local_exploit_suggester

img

Let’s try kitrap0d

img

That got us there

img

img