Lucene search

K
nessusThis script is Copyright (C) 2000-2018 Tenable Network Security, Inc.CISCO_CATALYST.NASL
HistoryNov 10, 2000 - 12:00 a.m.

Cisco Catalyst Web Interface Remote Command Execution

2000-11-1000:00:00
This script is Copyright (C) 2000-2018 Tenable Network Security, Inc.
www.tenable.com
41

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.965 High

EPSS

Percentile

99.6%

The remote device appears to be a Cisco Catalyst. It is possible to execute arbitrary commands on the router by requesting them via HTTP, as in :

/exec/show/config/cr

This command shows the configuration file, which contains passwords.
A remote attacker could use this flaw to take control of the router.

#
# (C) Tenable Network Security, Inc.
#

#
# UNTESTED!
#


include("compat.inc");


if(description)
{
 script_id(10545);
 script_version ("1.38");
 script_cve_id("CVE-2000-0945");
 script_bugtraq_id(1846);

 script_name(english:"Cisco Catalyst Web Interface Remote Command Execution");
 script_summary(english:"Obtains the remote router configuration");
 
 script_set_attribute(
   attribute:"synopsis",
   value:"The remote router has a command execution vulnerability."
 );
 script_set_attribute(attribute:"description", value:
"The remote device appears to be a Cisco Catalyst.  It is
possible to execute arbitrary commands on the router by requesting
them via HTTP, as in :

  /exec/show/config/cr

This command shows the configuration file, which contains passwords.
A remote attacker could use this flaw to take control of the router." );
 script_set_attribute(
   attribute:"see_also",
   value:"https://seclists.org/bugtraq/2000/Oct/393"
 );
 # https://web.archive.org/web/20001110134500/http://www.cisco.com/warp/public/cc/pd/si/casi/ca3500xl/index.shtml
 script_set_attribute(
   attribute:"see_also",
   value:"http://www.nessus.org/u?3b59f033"
 );
 script_set_attribute(
   attribute:"solution", 
   value:"Disable the web configuration interface."
 );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"plugin_publication_date", value: "2000/11/10");
 script_set_attribute(attribute:"vuln_publication_date", value: "2000/10/26");
 script_cvs_date("Date: 2018/11/15 20:50:20");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"cpe",value:"cpe:/h:cisco:catalyst_3500_xl");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2000-2018 Tenable Network Security, Inc.");
 script_family(english:"CISCO");
 script_dependencie("http_version.nasl");
 script_require_ports("Services/www", 80);
 exit(0);
}

include("global_settings.inc");
include("misc_func.inc");
include("http.inc");


port = get_http_port(default:80, embedded: 1);
if(get_port_state(port))
{
 banner = get_http_banner(port:port);
 if ( "cisco-IOS" >!< banner ) exit(0);

 soc = http_open_socket(port);
 if(soc)
 {
  r = http_send_recv3(method:"GET", item:"/exec/show/config/cr", port:port);

  if(("enable" >< r) &&
     ("interface" >< r) &&
     ("ip address" >< r))security_hole(port);
  }
}
VendorProductVersionCPE
ciscocatalyst_3500_xlcpe:/h:cisco:catalyst_3500_xl

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.965 High

EPSS

Percentile

99.6%

Related for CISCO_CATALYST.NASL