Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Linux-ftpd-ssl FTP Server Response Buffer Overflow Vulnerability Advisory Available in Danish 

Secunia Advisory: SA17465  
Release Date: 2005-11-08
Last Update: 2005-11-14

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Unpatched

Software:Linux-ftpd-ssl 0.x

CVE reference:CVE-2005-3524 (Secunia mirror)

This advisory is currently marked as unpatched!
- Companies can be alerted when a patch is released!


Description:
kcope has reported a vulnerability in Linux-ftpd-ssl, which can be exploited by malicious users to compromise a vulnerable system.

The vulnerability is caused due to the unsafe use of the "vsprintf()" function in the FTP server to generate replies in response to commands received from the FTP client. This causes a stack-based buffer overflow when the output of a command exceeds 2048 bytes. The vulnerability can be exploited by creating multiple levels of sub-directories with long names, and then issuing the "XPWD" command when at the lowest level sub-directory. The resulting path name that is generated in response the "XPWD" will exceed 2048 bytes, overflowing the stack-buffer.

Successful exploitation requires that the user is able to create directories on the FTP server, or perform some actions that will cause the FTP server to generate an overly long reply.

The vulnerability affects NetKit Linux-ftpd version 0.17 with the Linux-ftpd-ssl patch version 0.3. Other versions may also be vulnerable.

NOTE: The vulnerability was introduced due to the Linux-ftpd-ssl patch. An exploit for this vulnerability is publicly available.

Solution:
Grant only trusted users access to the FTP server.

Provided and/or discovered by:
kcope

Changelog:
2005-11-14: Added CVE reference.



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Opera Multiple Vulnerabilities
2.
vBulletin Private Message Subject Script Insertion
3.
Microsoft Access Snapshot Viewer ActiveX Control Vulnerability
4.
Microsoft Office Filters Multiple Vulnerabilities
5.
rPath update for kernel and xen
6.
neon "parse_domain() " Denial of Service Vulnerability
7.
Programs Rating "id" SQL Injection Vulnerability
8.
Folder Lock Weak Password Encryption Security Issue
9.
SunShop Shopping Cart class.ajax.php SQL Injection Vulnerabilities
10.
Anzio Web Print Object (WePO) ActiveX Component "mainurl" Buffer Overflow





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia