[UNIX] FTP Kioslave Command Injection

From: SecuriTeam (support_at_securiteam.com)
Date: 01/05/05

  • Next message: SecuriTeam: "[UNIX] Apache "htdigest" Buffer Overflow"
    To: list@securiteam.com
    Date: 5 Jan 2005 16:42:47 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      FTP Kioslave Command Injection
    ------------------------------------------------------------------------

    SUMMARY

    KDE applications which use the FTP kioslave, e.g. Konqueror, allow remote
    attackers to execute arbitrary FTP commands via an ftp:// URL that
    contains an URL-encoded newline ( %0a ) before the ftp command, which
    causes the commands to be inserted into the resulting FTP session.

    Due to similarities between the FTP and the SMTP protocol, this
    vulnerability allows to misuse the FTP slave to connect to a SMTP server
    and issue arbitrary commands, like sending an email.

    DETAILS

    Vulnerable Systems:
     * All KDE releases up to including KDE 3.3.2

    Proof of Concept:
    A proof of concept exploit can be found in our previous article:
    <http://www.securiteam.com/securitynews/6E00R2KC0C.html> Browsers' FTP
    Client can be Used to Send Mail.

    Impact:
    The FTP kioslave can be misused to execute any ftp command on the server
    or be a vector for sending out unsolicited email.

    Solution:
    Source code patches have been made available which fix these
    vulnerabilities. Contact your OS vendor / binary package provider for
    information about how to obtain updated binary packages.

    Patch:
    Patch for KDE 3.2.3 is available from
    <ftp://ftp.kde.org/pub/kde/security_patches>
    ftp://ftp.kde.org/pub/kde/security_patches:
    a639b7b592f005e911c454a0a8c9c542 post-3.2.3-kdelibs-kioslave.patch

    Patch for KDE 3.3.2 is available from
    <ftp://ftp.kde.org/pub/kde/security_patches>
    ftp://ftp.kde.org/pub/kde/security_patches:
    fe67157b26a8cdf5bcfa1898cdf3b154 post-3.3.2-kdelibs-kioslave.patch

    Time line and credits:
    26/12/2004 Public bug report filed against kio_ftp by Thiago Macieira
    about being able to send email via kio_ftp CR/LF injection
    26/12/2004 Patches developed by Thiago Macieira developed and applied to
    CVS
    01/01/2005 Advisory released

    CVE Information:
     <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1165>
    CAN-2004-1165

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:mueller@kde.org> Dirk
    Mueller.
    The original article can be found at:
    <http://www.kde.org/info/security/advisory-20050101-1.txt>
    http://www.kde.org/info/security/advisory-20050101-1.txt

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[UNIX] Apache "htdigest" Buffer Overflow"

    Relevant Pages

    • [NT] Microsoft wininet.dll FTP Reply Null Termination Heap Corruption Vulnerability
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Microsoft 'wininet.dll' FTP Reply Null Termination Heap Corruption ... Windows Server 2003 Enterprise Edition SP1 ... This vulnerability appears to have existed from at least Internet ...
      (Securiteam)
    • [EXPL] CoffeeCup FTP Clients Buffer Overflow Vulnerability Exploit
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... FTP program that makes it easy to drag and drop files to and from your ... CoffeeCup FTP to execute arbitrary code. ... direct | free "direct" to exploit a CoffeeCup Direct FTP client ...
      (Securiteam)
    • [UNIX] Cleartext SMB Passwords in Novell Desktop Linux using KDE
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Novell Desktop Linux 9 when using KDE. ... Mike tried performing the same action on Novell ... Keychain) or requested every time the user accesses the network share. ...
      (Securiteam)
    • [UNIX] KDM Vulnerabilities (pam_setcred, session cookie)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Two issues have been discovered in KDM: ... case of error conditions in the installed PAM modules, ... All versions of KDM as distributed with KDE up to and including KDE 3.1.3. ...
      (Securiteam)
    • [NT] ArGoSoft FTP Server XCMD Buffer Overflow
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... ArGoSoft FTP Server is ...
      (Securiteam)