(Fwd) Denial of Service Vulnerability in Nagios

Ethan Galstad nagios at nagios.org
Wed Jul 23 04:28:56 CEST 2003


Thanks for the patch Karl.  I just released 1.9 for people to test.


On 21 Jul 2003 at 23:54, Karl DeBisschop wrote:

> On Mon, 2003-07-21 at 20:35, Karl DeBisschop wrote:
> > On Mon, 2003-07-21 at 18:54, Ethan Galstad wrote:
> > 
> > > Anyone have any thoughts or comments on this?  
> > 
> > I may see it.
> > 
> > Line 589 starts a loop listening for a connection. If there is an error
> > on the connection, you jump out to line 597
> > 
> > I think the repeated SYNs might be seen as an error - maybe
> > ECONNABORTED.
> > 
> > If so, you return on line 605, for my quick lok return to the main
> > routine. That return would close NRPE.
> 
> I have tried to reproduce the DOS with nrpe from CVS compiled on Linux
> (using namp to create the SYN connections). Unfortunately, that
> combination does not produce the bug.
> 
> Can anyone else reporduce the bug?
> 
> That issue notwithstanding, I have looked more at the code, and I do
> feel the above analysis is a problem, even if it is not the problem at
> hand. IMHO, wait_for_connections() just ought not return until after the
> fork. A possible patch is attached.
> 
> --
> Karl
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0




More information about the Developers mailing list