[UNIX] RSniff DoS
From: SecuriTeam (support_at_securiteam.com)
Date: 04/11/04
- Previous message: SecuriTeam: "[NT] Panda ActiveScan Remote Buffer Overflow and DoS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: SecuriTeam: "[NT] Panda ActiveScan Remote Buffer Overflow and DoS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|