Vulnerabilities > CVE-2003-1497 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Linksys Befsx41 1.43.3

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

Buffer overflow in the system log viewer of Linksys BEFSX41 1.44.3 allows remote attackers to cause a denial of service via an HTTP request with a long Log_Page_Num variable.

Vulnerable Configurations

Part Description Count
Hardware
Linksys
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

NASL familyCISCO
NASL idLINKSYS_DOS.NASL
descriptionThe 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.
last seen2020-06-01
modified2020-06-02
plugin id11891
published2003-10-16
reporterThis script is Copyright (C) 2003-2018 Matt North
sourcehttps://www.tenable.com/plugins/nessus/11891
titleLinksys BEFSX41 System Log Viewer Log_Page_Num Variable Overflow DoS
code
#
# 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.21");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/12");

  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-2020 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, embedded:TRUE);

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);