[UNIX] RSniff DoS

From: SecuriTeam (support_at_securiteam.com)
Date: 04/11/04

  • Next message: SecuriTeam: "[UNIX] Multiple Vulnerabilities in Monit"
    To: list@securiteam.com
    Date: 11 Apr 2004 15:05:44 +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

    - - - - - - - - -

      RSniff DoS
    ------------------------------------------------------------------------

    SUMMARY

     < http://www.cse.sc.edu/~madamanc/projects.html > Rsniff is "a remote
    sniffer for Linux written by Rajesh Kumar Madamanchi". A vulnerability in
    the RSniff server allows an attacker to crash the server remotely.

    DETAILS

    Vulnerable Systems:
     * RSniff 1.0

    Vulnerable Code:

    153 {
    154 printf ("RSniff Server: Authentication failed!\n");
    155 continue;
    156 }

    This code section is being run when a client connects to the Rsniff server
    and sends a command different than Authenticate (a 32 bit number equal to
    zero) or simply closes the connection without sending data. The result is
    the restart of the binding loop, so the socket will be recreated however,
    the old socket will not be closed.

    After 1024 connections the server will finish all the available file
    descriptors and will not accept new clients.

    Exploit Code:
    Exploit code can be found at:
    <http://aluigi.altervista.org/poc/emptyconn.zip>
    http://aluigi.altervista.org/poc/emptyconn.zip

    Solution:
    Add "close (new_sockfd);" at line 156:

    153 {
    154 printf ("RSniff Server: Authentication failed!\n");
    155 close (new_sockfd); /* PATCH */
    156 continue;
    157 }

    Rajesh has been contacted and will release a new version soon.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:aluigi@altervista.org> Luigi
    Auriemma.

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

    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] Multiple Vulnerabilities in Monit"

    Relevant Pages

    • [NT] Microsoft Windows DCERPC Authentication Denial of Service 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 Windows DCERPC Authentication Denial of Service Vulnerability ...
      (Securiteam)
    • [NT] Ipswitch IMail Server GetIMailHostEntry Memory 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 ... Ipswitch IMail Server GetIMailHostEntry Memory Corruption Vulnerability ... The authentication mechanism copies user-supplied ...
      (Securiteam)
    • [NEWS] Authentication Bypass in Rational Softs Hidden Administrator
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Authentication Bypass in Rational Soft's Hidden Administrator ... rewterz has discovered a critical vulnerability in Hidden Administrator. ...
      (Securiteam)
    • [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)