Lucene search

K
nessusThis script is Copyright (C) 2017-2018 and is owned by Tenable, Inc. or an Affiliate thereof.CISCO_FIREPOWER_MGMT_CNTR-SA-20170906-FIREPOWER-1_AND_2.NASL
HistorySep 13, 2017 - 12:00 a.m.

Cisco Firepower Management Center Multiple XSS

2017-09-1300:00:00
This script is Copyright (C) 2017-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
23

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

47.9%

The version of Cisco Firepower Management Center installed on the remote host is equal or prior to 6.0.1.3. It is, therefore, affected by multiple cross-site scripting vulnerabilities:

  • A reflected cross-site scripting vulnerability in the web-based management interface due to improper validation of user-supplied input. An unauthenticated, remote attacker could exploit this by tricking a user into visiting a crafted link and could allow the attacker to execute arbitrary script code in the user’s browser session. (CVE-2017-12220)

  • A stored cross-site scripting vulnerability in the web-based management interface due to improper validation of user-supplied input. An authenticated, remote attacker could exploit this, via a specially crafted request, to execute arbitrary script code in a future user’s browser session. (CVE-2017-12221)

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

include("compat.inc");

if (description)
{
  script_id(103193);
  script_version("1.5");
  script_cvs_date("Date: 2018/07/26 18:36:16");

  script_cve_id("CVE-2017-12220", "CVE-2017-12221");
  script_bugtraq_id(100639, 100640);
  script_xref(name:"CISCO-SA", value:"cisco-sa-20170906-firepower-1");
  script_xref(name:"CISCO-SA", value:"cisco-sa-20170906-firepower-2");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvc50771");
  script_xref(name:"CISCO-BUG-ID", value:"CSCvc38983");

  script_name(english:"Cisco Firepower Management Center Multiple XSS");
  script_summary(english:"Checks the version of Cisco Firepower Management Center.");

  script_set_attribute(attribute:"synopsis", value:
"A network management application installed on the remote host is
affected by multiple cross-site scripting vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Cisco Firepower Management Center installed on the
remote host is equal or prior to 6.0.1.3. It is, therefore, affected
by multiple cross-site scripting vulnerabilities:

  - A reflected cross-site scripting vulnerability in the web-based
    management interface due to improper validation of user-supplied
    input. An unauthenticated, remote attacker could exploit this by
    tricking a user into visiting a crafted link and could allow the
    attacker to execute arbitrary script code in the user's browser
    session. (CVE-2017-12220)

  - A stored cross-site scripting vulnerability in the web-based
    management interface due to improper validation of user-supplied
    input. An authenticated, remote attacker could exploit this, via
    a specially crafted request, to execute arbitrary script code in
    a future user's browser session. (CVE-2017-12221)");
  # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170906-firepower-1
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?71024b43");
  # https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170906-firepower-2
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d1b6dc60");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Cisco Firepower Management Center version 6.2.0.1 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date",value:"2017/09/06");
  script_set_attribute(attribute:"patch_publication_date",value:"2017/09/06");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/09/13");

  script_set_attribute(attribute:"plugin_type",value:"local");
  script_set_attribute(attribute:"cpe",value:"cpe:/a:cisco:firepower_management_center");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CISCO");

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

  script_dependencies("cisco_firepower_version.nasl");
  script_require_keys("Host/Cisco/firepower/Version");

  exit(0);
}

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

version = get_kb_item_or_exit("Host/Cisco/firepower/Version");

# strip out build
item = pregmatch(pattern:"^([0-9.]+)($|-)", string:version);
if(!isnull(item))
  version = item[1];
else audit(AUDIT_VER_FORMAT, version);

flag = 0;
fixed_version = "";

# Affected : <= 6.0.1.3
if (ver_compare(ver:version, fix:"6.0.1.3", strict:FALSE) <= 0)
{
  flag++;
  fixed_version = "6.2.0.1";
}

if (flag)
{
  report =
    '\n  Installed Version : ' + version +
    '\n  Fixed version     : ' + fixed_version;
  security_report_v4(port:0, extra:report, severity:SECURITY_WARNING, xss:TRUE);
}
else audit(AUDIT_DEVICE_NOT_VULN, "Cisco Firepower System", version);

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

47.9%

Related for CISCO_FIREPOWER_MGMT_CNTR-SA-20170906-FIREPOWER-1_AND_2.NASL