what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

xlight152.txt

xlight152.txt
Posted Feb 5, 2004
Authored by intuit

Xlight FTP server version 1.52 is susceptible to a denial of service attack.

tags | advisory, denial of service
SHA-256 | 511b209bcb63756b0f54e17bbd6805e98022cf7a5b59c6d33db5ead77bd28491

xlight152.txt

Change Mirror Download

Application: Xlight ftp server
http://www.xlightftpd.com

Version: 1.52

Bug: Denial Of Service

Author: intuit
e-mail: intuit@linuxmail.org
web/forum: http://code.unixserver.at


***********************************************************************

1. Description
2. The bug
3. The code
4. The fix

***********************************************************************

^^^^^^^^^^^^^^^^
1. Description:
^^^^^^^^^^^^^^^^

Vendor's Description:

"Xlight ftp server is a powerful ftp server with very small program size. Using its own unique algorithm, it could handle more users than other windows ftp servers. Besides its high performance, xlight ftp server also has a lot of unique features."



***********************************************************************

^^^^^^^^^^^^^^^^
2. The bug:
^^^^^^^^^^^^^^^^

Server Option "Enable log to screen" must be enabled.
After authorization the user can enter such line:

-----------------------------------------------------------------------
ftp://user@127.0.0.1/............................................................................................................................................................................................................../*/
-----------------------------------------------------------------------

Now if the administrator will look a bookmark "ftp log" on main window of FTP server, ftp server will crashed with error in comctl32.dll.

***********************************************************************

^^^^^^^^^^^^^^^^
3. The code:
^^^^^^^^^^^^^^^^

The mistake occurs here:

-----------------------------------------------------------------------
AppName: xlight.exe AppVer: 0.0.0.0 ModName: comctl32.dll
ModVer: 5.82.2600.0 Offset: 0004c4f7
-----------------------------------------------------------------------

-----------------------------------------------------------------------
7738C4DB mov edx,dword ptr [esp+4]
7738C4DF push edi
7738C4E0 mov edi,dword ptr [esp+10h]
7738C4E4 test edi,edi
7738C4E6 mov eax,edx
7738C4E8 jle 7738C511
7738C4EA dec edi
7738C4EB test edi,edi
7738C4ED jle 7738C50B
7738C4EF push esi
7738C4F0 mov esi,dword ptr [esp+10h]
7738C4F4 mov cx,word ptr [esi]
7738C4F7 mov word ptr [edx],cx <<< here server crashed
7738C4FA inc edx
7738C4FB inc edx
7738C4FC inc esi
7738C4FD inc esi
7738C4FE test cx,cx
7738C501 je 7738C508
7738C503 dec edi
7738C504 test edi,edi
7738C506 jg 7738C4F4
7738C508 pop esi
7738C509 test edi,edi
7738C50B jne 7738C511
7738C50D and word ptr [edx],0
7738C511 pop edi
7738C512 ret 0Ch
-----------------------------------------------------------------------

/*Tested on: Win XP Build 2600, Service Pack: None*/

***********************************************************************

^^^^^^^^^^^^^^^^
4. The fix:
^^^^^^^^^^^^^^^^

Not exist.

***********************************************************************

--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
Login or Register to add favorites

File Archive:

December 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close