[NEWS] Browsers' FTP Client can be Used to Send Mail

From: SecuriTeam (support_at_securiteam.com)
Date: 12/29/04

  • Next message: SecuriTeam: "[UNIX] NetBSD Binary Compatibility Code Insufficient Argument Validation"
    To: list@securiteam.com
    Date: 29 Dec 2004 15:48:39 +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

    - - - - - - - - -

      Browsers' FTP Client can be Used to Send Mail
    ------------------------------------------------------------------------

    SUMMARY

    Both Internet Explorer and Konqueror can be tricked into sending mail
    through its FTP client without any more user interaction than loading a
    page.

    DETAILS

    Vulnerable Systems:
     * Internet Explorer version 6 SP1
     * Konqueror version 3.2

    Immune Systems:
     * Mozilla Firefox version 1.0

    Both Internet Explorer and Konqueror will accept %0a and %0d in URLs. In
    FTP URLs, it will accept them in the username part of the URL. Due to the
    similarity between the FTP and SMTP protocols, this can be used to send
    mail.

    Danger:
    Spammers could host websites that contain images causing website visitors
    to spam more people. There are probably other protocols that the FTP
    client could be used to maliciously access.

    Example:
     <http://dsbl.org/testingground/IE-FTP-SMTP-link/>
    http://dsbl.org/testingground/IE-FTP-SMTP-link/

    Which has an IMG link with the following URL:
    ftp://foo%0d%0aHELO mail%0d%0aMAIL FROM%3a<>%0d%0aRCPT
    TO%3a<ian-example%40penguinhosting.net>%0d%0aDATA%0d%0aSubject%3a
    hacked%0d%0aTo%3a
    ian%40penguinhosting.net%0d%0a%0d%0ahacked%0d%0a.%0d%0a:bar@mx.penguinhosting.net:25

    Unofficial patch for KDE:
    --- kdelibs-3.2.3/kioslave/ftp/ftp.cc 2004-02-15 16:15:27.000000000 -0500
    +++ kdelibs-3.2.3-ftp-fixed/kioslave/ftp/ftp.cc 2004-12-25
    00:44:27.000000000 -0500
    @@ -652,6 +652,9 @@
     {
       assert( sControl > 0 );
     
    + if (cmd.find('\r') != -1 || cmd.find('\n') != -1)
    + return false;
    +
       QCString buf = cmd;
       buf += "\r\n";
     

    ADDITIONAL INFORMATION

    The information has been provided by
    <mailto:ian-fulldisclosure@penguinhosting.net> Ian Gulliver.

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

    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] NetBSD Binary Compatibility Code Insufficient Argument Validation"

    Relevant Pages

    • [NT] Internet Explorer FTP Client Directory Traversal
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Internet Explorer comes with a built-in FTP client. ... that can be used to cause a user to download a malicious executable to any ...
      (Securiteam)
    • [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] FTP Kioslave Command Injection
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... KDE applications which use the FTP kioslave, e.g. Konqueror, allow remote ... The FTP kioslave can be misused to execute any ftp command on the server ...
      (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)