Lucene search

K
nessusThis script is Copyright (C) 2014-2021 and is owned by Tenable, Inc. or an Affiliate thereof.SYMANTEC_WEB_GATEWAY_SYM14-003.NASL
HistoryFeb 13, 2014 - 12:00 a.m.

Symantec Web Gateway <= 5.1.1 Multiple Vulnerabilities (SYM14-003)

2014-02-1300:00:00
This script is Copyright (C) 2014-2021 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
8

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

EPSS

0.71

Percentile

98.1%

According to its self-reported version number, the remote web server is hosting a version of Symantec Web Gateway 5.1.1 or earlier. It is, therefore, affected by the following vulnerabilities :

  • Multiple SQL injection vulnerabilities exist because of a failure to sanitize user-supplied data before using it in a SQL query. (CVE-2013-5012)

  • Multiple cross-site scripting vulnerabilities exist.
    (CVE-2013-5013)

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#




include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(72480);
  script_version("1.9");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

  script_cve_id("CVE-2013-5012", "CVE-2013-5013");
  script_bugtraq_id(65404, 65405);

  script_name(english:"Symantec Web Gateway <= 5.1.1 Multiple Vulnerabilities (SYM14-003)");
  script_summary(english:"Checks SWG version");

  script_set_attribute(attribute:"synopsis", value:
"A web security application hosted on the remote web server is affected
by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"According to its self-reported version number, the remote web server is
hosting a version of Symantec Web Gateway 5.1.1 or earlier.  It is,
therefore, affected by the following vulnerabilities :

  - Multiple SQL injection vulnerabilities exist because of
    a failure to sanitize user-supplied data before using it
    in a SQL query. (CVE-2013-5012)

  - Multiple cross-site scripting vulnerabilities exist.
    (CVE-2013-5013)");
  # https://support.symantec.com/en_US/article.SYMSA1286.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?67ef11f9");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Symantec Web Gateway 5.2 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2013-5012");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);

  script_set_attribute(attribute:"vuln_publication_date", value:"2014/02/11");
  script_set_attribute(attribute:"patch_publication_date", value:"2014/02/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2014/02/13");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:web_gateway");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2014-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("symantec_web_gateway_detect.nasl");
  script_require_keys("www/symantec_web_gateway");
  script_require_ports("Services/www", 443);

  exit(0);
}

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

port = get_http_port(default:443, php:TRUE);

install = get_install_from_kb(appname:'symantec_web_gateway', port:port, exit_on_fail:TRUE);
dir = install['dir'];
url = build_url(port:port, qs:dir);

ver = install['ver'];
if (ver == UNKNOWN_VER) audit(AUDIT_UNKNOWN_WEB_APP_VER, 'Symantec Web Gateway', url);

fix = '5.2';
checkver = '5.1.1';

if (ver_compare(ver:ver, fix:checkver, strict:FALSE) <= 0)
{
  set_kb_item(name:'www/'+port+'/XSS', value:TRUE);
  set_kb_item(name:'www/'+port+'/SQLInjection', value:TRUE);

  if (report_verbosity > 0)
  {
    report =
      '\n  URL               : ' + url +
      '\n  Installed version : ' + ver +
      '\n  Fixed version     : ' + fix + '\n';
    security_warning(port:port, extra:report);
  }
  else security_warning(port);
}
else audit(AUDIT_WEB_APP_NOT_AFFECTED, 'Symantec Web Gateway', url, ver);

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

EPSS

0.71

Percentile

98.1%

Related for SYMANTEC_WEB_GATEWAY_SYM14-003.NASL