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

ncFTP317.txt

ncFTP317.txt
Posted Apr 22, 2004
Authored by Konstantin V. Gavrilenko | Site arhont.com

ncftp versions 3.1.6/120 and 3.1.7/120 do not hash passwords under certain conditions allowing for their leakage via simple utilities like ps.

tags | advisory
SHA-256 | 1f6d5158b3b2f6cbffbb524101d23ac947bad8924aad86c9097b29cb9a97583f

ncFTP317.txt

Change Mirror Download
Arhont Ltd. - Information Security

Arhont Advisory by: Konstantin Gavrilenko (http://www.arhont.com)
Advisory: ncftp password not hashed in processes list
Class: design bug
Version: 3.1.6/120, 3.1.7/120
Test platform: Slackware 9.1, Debian unstable
Model Specific: Other version might have the same bug
Vendor Contact Date: 13/04/2004
PD* release date: 20/04/2004


DETAILS:

ncftp client does not hash the password under certain conditions. And
such information is made available to other users through `ps aux`

e.g.
when the link is hacked up to include username and password in one line
like ftp://testuser:testpassword@filo.dmz.arhont.com/
ncftp client is able to interpret such format and successfully
connects to the site.

root@dyno:~# ncftp ftp://testuser:testpassword@filo.dmz.arhont.com/
NcFTP 3.1.7 (Jan 07, 2004) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 192.168.66.102...
ProFTPD 1.2.8 Server (ProFTPD Default Installation) [filo.dmz.arhont.com]
Logging in...
User testuser logged in.
Logged in to filo.dmz.arhont.com.
Current remote directory is /home/testuser.
ncftp /home/testuser >


However, the full link is displayed in the `ps aux` output,
providing unauthorised display of the sensitive data.


root 798 0.0 0.1 2020 1064 pts/3 S 15:04 0:00 ncftp
ftp://testuser:testpassword@filo.dmz.arhont.com/
g_kos 802 0.0 0.2 3504 2476 pts/4 S 15:04 0:00 -su
g_kos 2854 0.0 0.0 2636 756 pts/4 R 15:27 0:00 ps aux


Risk Factor: High

Workarounds: Avoid using links formed in such way.

The vendor has been contacted on 13/04/2004 and has assured that issue
will be corrected in the next ncftp release.


*According to the Arhont Ltd. policy, all of the found vulnerabilities
and security issues will be reported to the manufacturer 7 days before
releasing them to the public domains (such as CERT, BUGTRAQ, OSVDB).

If you would like to get more information about this issue, please do
not hesitate to contact Arhont team.




--
Respectfully,
Konstantin V. Gavrilenko

Arhont Ltd - Information Security

web: http://www.arhont.com
http://www.wi-foo.com
e-mail: k.gavrilenko@arhont.com

tel: +44 (0) 870 44 31337
fax: +44 (0) 117 969 0141

PGP: Key ID - 0x4F3608F7
PGP: Server - keyserver.pgp.com
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    0 Files
  • 8
    Nov 8th
    0 Files
  • 9
    Nov 9th
    0 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    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