Mozilla Firefox Security Updates (mfsa_2016-89_2016-90)-MAC OS X

2016-11-16T00:00:00
ID OPENVAS:1361412562310809804
Type openvas
Reporter Copyright (C) 2016 Greenbone Networks GmbH
Modified 2018-04-06T00:00:00

Description

This host is installed with Mozilla Firefox and is prone to multiple vulnerabilities.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_mozilla_firefox_mfsa_2016-89_2016-90_macosx.nasl 9341 2018-04-06 05:27:04Z cfischer $
#
# Mozilla Firefox Security Updates (mfsa_2016-89_2016-90)-MAC OS X
#
# Authors:
# Kashinath T <tkashinath@secpod.com>
#
# Copyright:
# Copyright (C) 2016 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# 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.
###############################################################################

CPE = "cpe:/a:mozilla:firefox";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.809804");
  script_version("$Revision: 9341 $");
  script_cve_id("CVE-2016-5296", "CVE-2016-5292", "CVE-2016-5297", "CVE-2016-9064",
                "CVE-2016-9066", "CVE-2016-9067", "CVE-2016-5290", "CVE-2016-9068",
                "CVE-2016-9072", "CVE-2016-9075", "CVE-2016-9077", "CVE-2016-5291",
                "CVE-2016-9070", "CVE-2016-9073", "CVE-2016-9074", "CVE-2016-9076",
                "CVE-2016-9063", "CVE-2016-9071", "CVE-2016-5289");
  script_bugtraq_id(94336, 94337, 94342, 94339);
  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:"$Date: 2018-04-06 07:27:04 +0200 (Fri, 06 Apr 2018) $");
  script_tag(name:"creation_date", value:"2016-11-16 12:25:23 +0530 (Wed, 16 Nov 2016)");
  script_name("Mozilla Firefox Security Updates (mfsa_2016-89_2016-90)-MAC OS X");

  script_tag(name: "summary" , value:"This host is installed with 
  Mozilla Firefox and is prone to multiple vulnerabilities.");

  script_tag(name: "vuldetect" , value:"Get the installed version with the help
  of detect NVT and check the version is vulnerable or not.");

  script_tag(name: "insight" , value:"The multiple flaws exists due to,
  - Heap-buffer-overflow WRITE in rasterize_edges_1.
  - URL parsing causes crash.
  - Incorrect argument length checking in JavaScript.
  - Add-ons update must verify IDs match between current and new versions.
  - Integer overflow leading to a buffer overflow in nsScriptLoadHandler.
  - heap-use-after-free in nsINode::ReplaceOrInsertBefore.
  - heap-use-after-free in nsRefreshDriver.
  - 64-bit NPAPI sandbox isn't enabled on fresh profile.
  - WebExtensions can access the mozAddonManager API and use it to gain elevated
    privileges.
  - Canvas filters allow feDisplacementMaps to be applied to cross-origin images,
    allowing timing attacks on them.
  - Same-origin policy violation using local HTML file and saved shortcut file.
  - Sidebar bookmark can have reference to chrome window.
  - Insufficient timing side-channel resistance in divSpoiler.
  - select dropdown menu can be used for URL bar spoofing on e10s.
  - Possible integer overflow to fix inside XML_Parse in Expat.
  - Probe browser history via HSTS/301 redirect + CSP.");

  script_tag(name: "impact" , value:"Successful exploitation of this
  vulnerability will allow remote attackers to execute arbitrary code, to delete
  arbitrary files by leveraging certain local file execution, to obtain sensitive
  information, and to cause a denial of service.

  Impact Level: Application.");

  script_tag(name: "affected" , value:"Mozilla Firefox version before 
  50 on MAC OS X.");

  script_tag(name: "solution" , value:"Upgrade to Mozilla Firefox version 50
  or later, For updates refer to http://www.mozilla.com/en-US/firefox/all.html");

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

  script_tag(name:"qod_type", value:"executable_version");


  script_xref(name:"URL", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2016-89/");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_mozilla_prdts_detect_macosx.nasl");
  script_mandatory_keys("Mozilla/Firefox/MacOSX/Version");
  exit(0);
}

include("host_details.inc");
include("version_func.inc");

## Variable Initialization
ffVer = "";

## Get version
if(!ffVer = get_app_version(cpe:CPE)){
   exit(0);
}

# Check for vulnerable version
if(version_is_less(version:ffVer, test_version:"50.0"))
{
  report = report_fixed_ver(installed_version:ffVer, fixed_version:"50.0");
  security_message(data:report);
  exit(0);
}