Multiple vulnerabilities in Foxit Reader 8.3.2 (Linux)

2017-12-21T00:00:00
ID OPENVAS:1361412562310113075
Type openvas
Reporter Copyright (C) 2017 Greenbone Networks GmbH
Modified 2019-05-17T00:00:00

Description

Foxit Reader 8.3.2 is vulnerable to multiple code execution and information disclosure vulnerabilities.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
#
# Multiple vulnerabilities in Foxit Reader 8.3.2 (Linux)
#
# Authors:
# Jan Philipp Schulte <jan.schulte@greenbone.net>
#
# Copyright:
# Copyright (C) 2017 Greenbone Networks GmbH, https://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 as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# 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.
###############################################################################

if( description )
{
  script_oid("1.3.6.1.4.1.25623.1.0.113075");
  script_version("2019-05-17T10:45:27+0000");
  script_tag(name:"last_modification", value:"2019-05-17 10:45:27 +0000 (Fri, 17 May 2019)");
  script_tag(name:"creation_date", value:"2017-12-21 11:48:49 +0100 (Thu, 21 Dec 2017)");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");

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

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

  script_cve_id("CVE-2017-16578", "CVE-2017-16579", "CVE-2017-16580", "CVE-2017-16581",
                "CVE-2017-16582", "CVE-2017-16583", "CVE-2017-16584", "CVE-2017-16585",
                "CVE-2017-16586", "CVE-2017-16587");

  script_name("Multiple vulnerabilities in Foxit Reader 8.3.2 (Linux)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_foxit_reader_detect_lin.nasl");
  script_mandatory_keys("foxit/reader/linux/ver");

  script_tag(name:"summary", value:"Foxit Reader 8.3.2 is vulnerable to multiple code execution and information disclosure vulnerabilities.");
  script_tag(name:"vuldetect", value:"The script checks if a vulnerable version is present on the target host.");
  script_tag(name:"insight", value:"Foxit Reader 8.3.2 allows information disclosure through improper validation of user input. It also allows code execution via both improper object validation and improper user input validation that leads to a type confusion condition.");
  script_tag(name:"impact", value:"Successful exploitation would allow an attacker to access sensitive information or execute code on the target host.");
  script_tag(name:"affected", value:"Foxit Reader 8.3.2 and before on Linux.");
  script_tag(name:"solution", value:"Update to Foxit Reader 9.0 or above.");

  script_xref(name:"URL", value:"https://www.foxitsoftware.com/support/security-bulletins.php");
  script_xref(name:"URL", value:"https://www.foxitsoftware.com/de/pdf-reader/version-history.php");

  exit(0);
}

CPE = "cpe:/a:foxitsoftware:reader";

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

if(!infos   = get_app_version_and_location( cpe: CPE, exit_no_version: TRUE )) exit(0);
version = infos['version'];
path    = infos['location'];

# Version numbers in Foxit are a bit weird. 8.3.2 is equal to 8.3.2.25013, but the latter would be excluded in a version check of 8.3.2
if( version_is_less_equal( version: version, test_version: "8.3.2.25013" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "9.0", install_path: path );
  security_message( data: report, port: 0 );
  exit( 0 );
}

exit( 99 );