IBM WebSphere Portal File Upload Temporary File Handling Remote DoS

2016-10-21T00:00:00
ID WEBSPHERE_PORTAL_CVE-2016-5954.NASL
Type nessus
Reporter This script is Copyright (C) 2016-2018 Tenable Network Security, Inc.
Modified 2020-05-02T00:00:00

Description

The version of IBM WebSphere Portal installed on the remote Windows host is affected by a denial of service vulnerability due to improper temporary upload file handling. An authenticated, remote attacker can exploit this, via a series of specially crafted uploads, to cause a denial of service condition.

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

include("compat.inc");

if (description)
{
  script_id(94200);
  script_version("1.4");
  script_cvs_date("Date: 2018/08/06 14:03:14");

  script_cve_id("CVE-2016-5954");
  script_bugtraq_id(93017);

  script_name(english:"IBM WebSphere Portal File Upload Temporary File Handling Remote DoS");
  script_summary(english:"Checks for the installed patches.");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has web portal software installed that is
affected by a denial of service vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of IBM WebSphere Portal installed on the remote Windows
host is affected by a denial of service vulnerability due to improper
temporary upload file handling. An authenticated, remote attacker can
exploit this, via a series of specially crafted uploads, to cause a
denial of service condition.");
  script_set_attribute(attribute:"see_also", value:"https://www-01.ibm.com/support/docview.wss?uid=swg21989993");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate fixes per the vendor advisory :

  - For 6.1.0.x, upgrade to version 6.1.0.6 CF27 and apply
    interim fix PI67037.

  - For 6.1.5.x, upgrade to version 6.1.5.3 CF27 and apply
    interim fix PI67037.

  - For 7.0.0.x, upgrade to version 7.0.0.2 CF30 and apply
    interim fix PI67037.

  - For 8.0.0.x, upgrade to version 8.0.0.1 CF21 and apply
    interim fix PI67037.

  - For 8.5.0.x, upgrade to version 8.5.0 CF12.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P");
  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:L/UI:N/S:U/C:N/I:N/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2016/09/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2016/09/09");
  script_set_attribute(attribute:"plugin_publication_date", value:"2016/10/21");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:ibm:websphere_portal");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2016-2018 Tenable Network Security, Inc.");

  script_dependencies("websphere_portal_installed.nbin");
  script_require_keys("installed_sw/IBM WebSphere Portal");

  exit(0);
}

include("websphere_portal_version.inc");

websphere_portal_check_version(
  ranges:make_list(
    "8.5.0.0, 8.5.0.0, CF12",
    "8.0.0.0, 8.0.0.1, CF21",
    "7.0.0.0, 7.0.0.2, CF30",
    "6.1.5.0, 6.1.5.3, CF27",
    "6.1.0.0, 6.1.0.6, CF27"
  ),
  fix:"PI67037",
  severity:SECURITY_WARNING
);