Vulnerabilities > CVE-2017-9003 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in HP Arubaos

047910
CVSS 7.8 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
COMPLETE
network
low complexity
hp
CWE-119
nessus

Summary

Multiple memory corruption flaws are present in ArubaOS which could allow an unauthenticated user to crash ArubaOS processes. With sufficient time and effort, it is possible these vulnerabilities could lead to the ability to execute arbitrary code - remote code execution has not yet been confirmed.

Vulnerable Configurations

Part Description Count
OS
Hp
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

NASL familyMisc.
NASL idARUBAOS_2017_006.NASL
descriptionThe version of ArubaOS installed on the remote host is affected by multiple vulnerabilities, including SQL Injection, remote code execution, arbitrary file access, and multiple memory corruption flaws.
last seen2020-06-01
modified2020-06-02
plugin id104176
published2017-10-25
reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/104176
titleArubaOS Multiple Vulnerabilities (2017-006)
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(104176);
  script_version("1.6");
  script_cvs_date("Date: 2019/11/12");

  script_cve_id("CVE-2017-9000", "CVE-2017-9003");

  script_name(english:"ArubaOS Multiple Vulnerabilities (2017-006)");
  script_summary(english:"Checks the ArubaOS version.");

  script_set_attribute(attribute:"synopsis", value:
"The version of ArubaOS is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of ArubaOS installed on the remote host is affected by
multiple vulnerabilities, including SQL Injection, remote code
execution, arbitrary file access, and multiple memory corruption
flaws.");
  script_set_attribute(attribute:"see_also", value:"https://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-006.txt");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Aruba PS version 6.3.1.25 / 6.4.4.16 / 6.5.1.9 / 6.5.3.3 / 6.5.4.2 / 8.1.0.4 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/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:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-9000");

  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/10/11");
  script_set_attribute(attribute:"patch_publication_date", value:"2017/10/11");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/10/25");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:arubanetworks:arubaos");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("arubaos_detect.nbin");
  script_require_keys("Host/ArubaNetworks/model", "Host/ArubaNetworks/ArubaOS/version", "Settings/ParanoidReport");

  exit(0);
}

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

model = get_kb_item_or_exit("Host/ArubaNetworks/model");
display_version = get_kb_item_or_exit("Host/ArubaNetworks/ArubaOS/version");

if(report_paranoia < 2) audit(AUDIT_POTENTIAL_VULN, "ArubaOS", display_version);

# Version may contain -FIPS at the end, unable to verify
version = ereg_replace(pattern:"-FIPS", replace:"", string:display_version);
fix = NULL;

if ( version =~ "^8\." ) fix = "8.1.0.4";
else if ( version =~ "^6\.5\.4" ) fix = "6.5.4.2";
else if ( version =~ "^6\.5\.[23]" ) fix = "6.5.3.3";
else if ( version =~ "^6\.5\.[01]" ) fix = "6.5.1.9";
else if ( version =~ "^6\.4" ) fix = "6.4.4.16";
else if (version =~ "^([0-5]\.[0-9])|^6\.[0-3]" ) fix = "6.3.1.25";
else audit(AUDIT_DEVICE_NOT_VULN, "ArubaOS", display_version);

if (ver_compare(ver:version, fix:fix, strict:FALSE) < 0)
{
  if ("FIPS" >< display_version) fix += "-FIPS";
  report =
    '\n  Model             : ' + model +
    '\n  Installed version : ' + display_version +
    '\n  Fixed version     : ' + fix +
    '\n';
  security_report_v4(severity:SECURITY_WARNING, port:0, extra:report, sqli:TRUE);
}
else audit(AUDIT_DEVICE_NOT_VULN, "The ArubaOS device", display_version);