Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA17465

Linux-ftpd-ssl FTP Server Response Buffer Overflow Vulnerability
Secunia Advisory SA17465
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2005-11-08
Last Update 2005-11-14
   
Popularity 11,876 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
Linux-ftpd-ssl 0.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2005-3524 CVSS available in Customer Area
  

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
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Linux-ftpd-ssl FTP Server Response Buffer Overflow Vulnerability
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability