Gentoo Logo

KDE FTP KIOslave: Command injection


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200501-18 / konqueror
Release Date January 11, 2005
Latest Revision January 12, 2005: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
kde-base/kdelibs < 3.3.2-r2 >= 3.3.2-r2, revision >= 3.2.3-r5 All supported architectures

Related bugreports: #73759


The FTP KIOslave contains a bug allowing users to execute arbitrary FTP commands.

2.  Impact Information


KDE is a feature-rich graphical desktop environment for Linux and Unix-like Operating Systems. KDE provided KIOslaves for many protocols in the kdelibs package, one of them being FTP. These are used by KDE applications such as Konqueror.


The FTP KIOslave fails to properly parse URL-encoded newline characters.


An attacker could exploit this to execute arbitrary FTP commands on the server and due to similiarities between the FTP and the SMTP protocol, this vulnerability also allows an attacker to connect to a SMTP server and issue arbitrary commands, for example sending an email.

3.  Resolution Information


There is no known workaround at this time.


All kdelibs users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose kde-base/kdelibs

4.  References


Page updated January 11, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.