Lucene search

K
openvasCopyright (C) 2014 SecPodOPENVAS:903432
HistoryFeb 26, 2014 - 12:00 a.m.

ASUS Router Multiple Vulnerabilities

2014-02-2600:00:00
Copyright (C) 2014 SecPod
plugins.openvas.org
5

0.002 Low

EPSS

Percentile

64.9%

The host is running ASUS Router and is prone to multiple
vulnerabilities.

##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_asus_routers_mult_vuln.nasl 6663 2017-07-11 09:58:05Z teissa $
#
# ASUS Router Multiple Vulnerabilities
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (C) 2014 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), 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.
###############################################################################

if(description)
{
  script_id(903432);
  script_version("$Revision: 6663 $");
  script_cve_id("CVE-2015-1437");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"$Date: 2017-07-11 11:58:05 +0200 (Tue, 11 Jul 2017) $");
  script_tag(name:"creation_date", value:"2014-02-26 16:37:32 +0530 (Wed, 26 Feb 2014)");
  script_name("ASUS Router Multiple Vulnerabilities");

  tag_summary =
"The host is running ASUS Router and is prone to multiple
vulnerabilities.";

  tag_vuldetect =
"Send a crafted exploit string via HTTP GET request and check whether it
is possible to read cookie or not.";

  tag_insight =
"- The error page is accessible without authentication. This allows the
  attacker to bypass same-origin policy restrictions enforced by
  XMLHttpRequest.
- The router error page 'error_page.htm' includes the current administrative
  password in clear text.";

  tag_impact =
"Successful exploitation will allow remote attackers to insert arbitrary HTML
and script code, which will be executed in a user's browser session in the
context of an affected site and also can conduct phishing attacks.

Impact Level: Application";

  tag_affected =
"ASUS RT-N16
ASUS RT-N10U, firmware 3.0.0.4.374_168
ASUS RT-N56U, firmware 3.0.0.4.374_979
ASUS DSL-N55U, firmware 3.0.0.4.374_1397
ASUS RT-AC66U, firmware 3.0.0.4.374_2050
ASUS RT-N15U, firmware 3.0.0.4.374_16
ASUS RT-N53, firmware 3.0.0.4.374_311 ";

  tag_solution =
"No Solution is available as of 26th February, 2014.Information regarding this
issue will be updated once the solution details are available. For more
information refer to http://www.asus.com/Networking/RTN56U";


  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "vuldetect" , value : tag_vuldetect);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name:"solution_type", value:"NoneAvailable");

  script_xref(name : "URL" , value : "https://sintonen.fi/advisories/asus-router-auth-bypass.txt");
  script_xref(name : "URL" , value : "http://exploitsdownload.com/exploit/na/asus-router-authentication-bypass-cross-site-scripting");
  script_category(ACT_ATTACK);
  script_tag(name:"qod_type", value:"remote_vul");
  script_copyright("Copyright (C) 2014 SecPod");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "http_version.nasl");
  script_require_ports("Services/www", 80);
  exit(0);
}


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

## Variable Initialization
asport = "";
banner = "";

## Get HTTP Port
asport = get_http_port(default:80);
if(!asport){
  asport = 80;
}

## Check Port State
if(!get_port_state(asport)){
  exit(0);
}

banner = get_http_banner(port: asport);

## Confirm the device from banner
if(banner =~ 'WWW-Authenticate: Basic realm=".*(RT-|DSL-).*"')
{
  ## Confirm the exploit
  url = "/error_page.htm?flag=%27%2balert(document.cookie)%2b%27";

  ## Confirm the exploit
  if(http_vuln_check(port:asport, url:url, pattern:"alert\(document.cookie\)", check_header:TRUE,
     extra_check:make_list("reboot_time")))
  {
    security_message(port:asport);
    exit(0);
  }
}

0.002 Low

EPSS

Percentile

64.9%