---------------------------------------------------------------------- Secure your corporate defenses and reduce complexity in handling vulnerability threats with the new Secunia Vulnerability Intelligence Manager (VIM) Beta. Join the beta: http://secunia.com/products/corporate/vim/ ---------------------------------------------------------------------- TITLE: Python FTP Server Library Security Bypass and Denial of Service Vulnerabilities SECUNIA ADVISORY ID: SA42143 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/42143/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=42143 RELEASE DATE: 2010-11-06 DISCUSS ADVISORY: http://secunia.com/advisories/42143/#comments AVAILABLE ON SITE AND IN CUSTOMER AREA: * Last Update * Popularity * Comments * Criticality Level * Impact * Where * Solution Status * Operating System / Software * CVE Reference(s) http://secunia.com/advisories/42143/ ONLY AVAILABLE IN CUSTOMER AREA: * Authentication Level * Report Reliability * Secunia PoC * Secunia Analysis * Systems Affected * Approve Distribution * Remediation Status * Secunia CVSS Score * CVSS https://ca.secunia.com/?page=viewadvisory&vuln_id=42143 ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI: * AUTOMATED SCANNING http://secunia.com/vulnerability_scanning/personal/ http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/ DESCRIPTION: Some vulnerabilities have been reported in Python FTP server library (pyftplib), which can be exploited by malicious users to bypass certain security restrictions, and by malicious users and malicious people to cause a DoS (Denial of Service). 1) A race condition within the "__init__()" method of the FTPHandler class when acquiring a peername can lead to an unexpected exception being raised causing the process to crash. 2) The library does not properly check for the "l" permission when processing FTP MLST commands, which can be exploited to bypass intended restrictions and list the contents of directories. 3) A memory leak exists within the "on_dtp_close()" method of the FTPHandler class when processing FTP QUIT commands during a data transfer. 4) An error within the FTPHandler class when accepting a connection can lead to unexpected exceptions being raised or unexpected types being returned causing the process to crash. This vulnerability is related to: SA41279 SOLUTION: Update to version 0.5.2. PROVIDED AND/OR DISCOVERED BY: 1) Reported by bneijt in a pyftplib bug report. 2, 3) Reported by billiejoex in a pyftplib bug report. 4) Reported by wentao.han and billiejoex in pyftplib bug reports. ORIGINAL ADVISORY: 1) http://code.google.com/p/pyftpdlib/issues/detail?id=100 2) http://code.google.com/p/pyftpdlib/issues/detail?id=114 3) http://code.google.com/p/pyftpdlib/issues/detail?id=119 4) http://code.google.com/p/pyftpdlib/issues/detail?id=104 http://code.google.com/p/pyftpdlib/issues/detail?id=105 OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXPLOIT: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------